Skip Menu |

This queue is for tickets about the Alien-MeCab CPAN distribution.

Report information
The Basics
Id: 34700
Status: resolved
Priority: 0/
Queue: Alien-MeCab

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: libiconv @ FreeBSD
(version 0.97001) 3rd party libraries are usually installed in /usr/local on FreeBSD systems, and generally on all *BSD systems. So, -I/usr/local/include and -L/usr/local/lib should be specified there. Regards, Slaven
From: dmaki [...] cpan.org
just created 0.97002 that uses default paths for -L and -I. I haven't done much testing with it, but hopefully it will work. it's on its way to CPAN Show quoted text
> > 3rd party libraries are usually installed in /usr/local on FreeBSD > systems, and generally on all *BSD systems. So, -I/usr/local/include and > -L/usr/local/lib should be specified there. > > Regards, > Slaven
On Sat Apr 05 09:36:41 2008, DMAKI wrote: Show quoted text
> just created 0.97002 that uses default paths for -L and -I. > I haven't done much testing with it, but hopefully it will work. > > it's on its way to CPAN
This does not fix it. It seems that LIBS has to be specified instead of libpath. See the attached patch. Regards, Slaven Show quoted text
>
> > > > 3rd party libraries are usually installed in /usr/local on FreeBSD > > systems, and generally on all *BSD systems. So, -I/usr/local/include and > > -L/usr/local/lib should be specified there. > > > > Regards, > > Slaven
> > >
# # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # STEP 2: Run the 'patch' program with this file as input. # #### End of Preamble #### #### Patch data follows #### diff -up '/var/tmp/CPAN-build/Alien-MeCab-0.97002-6fMAzK/Makefile.PL' 'Alien-MeCab-0.97002/Makefile.PL' Index: ./Makefile.PL --- ./Makefile.PL Sat Apr 5 15:30:22 2008 +++ ./Makefile.PL Sat Apr 5 18:24:20 2008 @@ -44,7 +44,7 @@ if (! $RUNNING_IN_HELL) { if (! $RUNNING_IN_HELL) { eval { - Devel::CheckLib::assert_lib(lib => "iconv", libpath => $LDFLAGS); + Devel::CheckLib::assert_lib(lib => "iconv", LIBS => $LDFLAGS); }; if ($@) { print <<EOM; @@ -241,4 +241,4 @@ MAKE_FRAG # return $inherited; #} -__END__ \ No newline at end of file +__END__ #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Sat Apr 5 18:29:10 2008 # Generated by : makepatch 2.03 # Recurse directories : Yes # Excluded files : (\A|/).*\~\Z # (\A|/).*\.a\Z # (\A|/).*\.bak\Z # (\A|/).*\.BAK\Z # (\A|/).*\.elc\Z # (\A|/).*\.exe\Z # (\A|/).*\.gz\Z # (\A|/).*\.ln\Z # (\A|/).*\.o\Z # (\A|/).*\.obj\Z # (\A|/).*\.olb\Z # (\A|/).*\.old\Z # (\A|/).*\.orig\Z # (\A|/).*\.rej\Z # (\A|/).*\.so\Z # (\A|/).*\.Z\Z # (\A|/)\.del\-.*\Z # (\A|/)\.make\.state\Z # (\A|/)\.nse_depinfo\Z # (\A|/)core\Z # (\A|/)tags\Z # (\A|/)TAGS\Z # p 'Makefile.PL' 6465 1207412660 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Sat Apr 5 18:29:10 2008] #### #### Patch checksum: 54 1844 44369 #### #### Checksum: 72 2468 30369 ####
Thanks, now it seems to build.
From: dmaki [...] cpan.org
Cool, thanks for checking. sorry it took a while, the PAUSE upload seemed to have had problems.