On Wed, 2003-06-11 at 09:41, Robin Berjon wrote:
> Is it possible that /usr/local/* aren't in your include and lib paths?

According to INSTALL.txt, you can follow the perl Makefile.PL command
with some options, so I tried

$ perl Makefile.PL DEBUG=1 LIBS="-L/usr/local/lib"
INC="-I/usr/local/include"

but the same result: it refuses to obey them and still claims I don't
have any iconv or libiconv. Have I got the syntax right? A piece of
the output says:

> checking for iconv() in -liconv... /usr/bin/perl Makefile.PL 'INC=
> -I/usr/local/include/libxml2
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include 
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl
>  
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/include 
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/regex 
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/os/unix'
>  'LIBS= -L/usr/local/lib -lxml2 -lz -lm'
> INC =  -I/usr/local/include/libxml2
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include 
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl
>  
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/include 
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/regex 
> -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/os/unix
> LIBS =  -L/usr/local/lib -lxml2 -lz -lm
> Writing Makefile for Conftest
> make'
> make_set test 'OTHERLDFLAGS=-liconv'
> sh: -c: line 2: unexpected EOF while looking for matching `''
> sh: -c: line 3: syntax error: unexpected end of file
> system call to 'make'
> make_set test 'OTHERLDFLAGS=-liconv'' failed at ./Makefile.PL line
> 176.
> no

Similarly for libiconv. I don't understand what it thinks -liconv means
or why it's ignored the options I gave.

Please excuse my ignorance of Perl...I've compiled and installed
thousands of pieces of software over the decades and this is the first
time I've ever seen a system fail to look in the most glaringly obvious
places for common utilities. 

///Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to