Matt wrote:

> "I would suggest running with the DEBUG=1 flag to Makefile.PL, and see
if we're dropping those flags somewhere. Or check for them in the
generated Makefile."

One of these days I'm remember that the debug flag is there for people to
use in situations like this. ;)

My undereducated guess is that they're being dropped. Here's an excerpt
from the debug log, using the same command line as previously done... let
me know if you need a full copy.

Scott


--- Debug excerpt follows ---


checking for expat symbols in apache... ok
Checking if your kit is complete...
Looks good
'DEBUG' is not a known MakeMaker parameter name.
Have /usr/home/stygian1/usr/local/lib/perl5/5.6.1/i386-freebsd/Config.pm
expected
 /usr/local/lib/perl5/5.6.1/i386-freebsd/Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [i386-freebsd]
Config says: [i386-freebsd]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Note (probably harmless): No library found for -lxml2
checking for iconv() in -liconv... perl Makefile.PL 'CCFLAGS='
'INC= -I/usr/home/username/usr/local/include/libxml2/libxml
-I/usr/home/username/usr/local/include/libxml2
-I/usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/
auto/Apache/include
-I/usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/
auto/Apache/include/modules/perl
-I/usr/local/apache/1.3/include
-I/usr/local/apache/1.3/include'
'LIBS= -L/usr/home/username/usr/local/lib -lxml2 -lz -L/lib -lm'
CCFLAGS = 
INC =  -I/usr/home/username/usr/local/include/libxml2/libxml
-I/usr/home/username/usr/local/include/libxml2
-I/usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/
auto/Apache/include
-I/usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/
auto/Apache/include/modules/perl
-I/usr/local/apache/1.3/include
-I/usr/local/apache/1.3/include
LIBS =  -L/usr/home/username/usr/local/lib -lxml2 -lz -L/lib -lm
Have /usr/home/username/usr/local/lib/perl5/5.6.1/i386-freebsd/Config.pm
expected
 /usr/local/lib/perl5/5.6.1/i386-freebsd/Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [i386-freebsd]
Config says: [i386-freebsd]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Note (probably harmless): No library found for -lxml2
Writing Makefile for Conftest
make test 'OTHERLDFLAGS=-liconv'
cp Conftest.pm blib/lib/Conftest.pm
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i386-freebsd
-I/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap Conftest.xs > Conftest.xsc
&& mv Conftest.xsc Conftest.c
cc -c -I/usr/home/username/usr/local/include/libxml2/libxml
-I/usr/home/username/usr/local/include/libxml2
-I/usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/
auto/Apache/include
-I/usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/
auto/Apache/include/modules/perl
-I/usr/local/apache/1.3/include -I/usr/local/apache/1.3/include
-fno-strict-aliasing -I/usr/local/include
-O    -DVERSION=\"1\"  -DXS_VERSION=\"1\" -DPIC -fpic
-I/usr/local/lib/perl5/5.6.1/i386-freebsd/CORE  Conftest.c
Running Mkbootstrap for Conftest ()
chmod 644 Conftest.bs
rm -f blib/arch/auto/Conftest/Conftest.so
LD_RUN_PATH="/usr/home/username/usr/local/lib:/usr/lib" cc  -shared 
-L/usr/local/lib Conftest.o -liconv -o blib/arch/auto/Conftest/Conftest.so
  -L/usr/home/username/usr/local/lib -lz -lm  
chmod 755 blib/arch/auto/Conftest/Conftest.so
cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs
chmod 644 blib/arch/auto/Conftest/Conftest.bs
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/i386-freebsd -I/usr/local/lib/perl5/5.6.1 test.pl
1..1
Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest:
blib/arch/auto/Conftest/Conftest.so: Undefined symbol "iconv" at
/usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
 at test.pl line 2
Compilation failed in require at test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.
*** Error code 255



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

Reply via email to