On Wed, 2003-06-11 at 13:19, Matt Sergeant wrote:

> > How do I tell AxKit it's already there? There doesn't seem to be
> > an install option to do this.
> 
> run:
> 
> $ perl Makefile.PL DEBUG=1
> 
> And you'll find out exactly why it can't find it.

Unfortunately I won't. But perhaps someone else can. Sorry: I *hate*
posting logs on a list, but in the absence of any Perl or C synapses 
in my brain I don't have any other way. The library and include paths
mean nothing to me because I don't know what they ought to say.

-------------------------------------8<-----------------------------
$ perl Makefile.PL DEBUG=1

==================================================================

AxKit's installer magic requires ExtUtils::AutoInstall. AxKit comes
with an older version, but it will not be installed.  You should
install the most recent ExtUtils::AutoInstall at your convenience.

==================================================================

*** ExtUtils::AutoInstall version 0.32
*** Checking for dependencies...
[Core Features]
- mod_perl        ...loaded. (1.27 >= 1.17)
- Digest::MD5     ...loaded. (2.20 >= 2.09)
- Compress::Zlib  ...loaded. (1.16)
- Error           ...loaded. (0.15 >= 0.14)
- Apache::Request ...failed! (needs 0.31_03)
- File::Basename  ...loaded. (2.71)
- File::Spec      ...loaded. (0.83)
==> Do you wish to install the 1 mandatory module(s)? [y] y
[Optional modules for using XPathScript]
- XML::Parser     ...loaded. (2.31 >= 2.27)
- XML::XPath      ...loaded. (1.13 >= 1.00)
[Recommended module for speeding up URI requests]
- HTTP::GHTTP     ...failed! (needs 1.00)
==> Do you wish to install the 1 optional module(s)? [n] y
[Optional module for using Sablotron XSLT engine]
- XML::Sablotron  ...failed! (needs 0.40)
==> Do you wish to install the 1 optional module(s)? [n] n
[Optional modules required for XSP and LibXSLT engine]
- XML::LibXML     ...failed! (needs 1.51)
==> Do you wish to install the 1 optional module(s)? [n] y
[Optional module required for LibXSLT engine]
- XML::LibXSLT    ...failed! (needs 1.49)
==> Do you wish to install the 1 optional module(s)? [n] y
*** Dependencies will be installed the next time you type 'make'.
*** ExtUtils::AutoInstall configuration finished.
running xml2-config... ok
looking for -lxml2... no

We will now check if your apache has XML symbols in it, to be sure that
AxKit will work under your version of Apache. If you do not wish to
perform this check (it shouldn't be necessary if you installed Apache
*after* installing Expat), then please just enter 0 (zero) below and
these tests will be skipped.

Path to apache httpd? [/usr/local/apache/bin/httpd]
/home/httpd/bin/httpd
checking for expat symbols in apache... ok
'DEBUG' is not a known MakeMaker parameter name.
checking for iconv() in -liconv... /usr/bin/perl Makefile.PL '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
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
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
checking for libiconv() in -liconv... /usr/bin/perl Makefile.PL '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
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
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
checking for iconv() in -lc... /usr/bin/perl Makefile.PL '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
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
Writing Makefile for Conftest
make'
make_set test 'OTHERLDFLAGS=-lc'
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=-lc'' failed at ./Makefile.PL line 176.
no
AxKit needs the iconv system library to work properly. This comes by
default with most Unix systems, however it may be that you do not
have the development libraries installed, or possibly that you just
don't have iconv available on your system. For *BSD systems, iconv
is available in your distribution's ports collection. For Win32
systems, a google search will often suffice to find a Win32 library
version.
$
--------------------------------8<-------------------------------------

I should probably install ExtUtils::AutoInstall but I don't know how to,
and any time in the past I've tried to install Perl add-ons it's needed
several hundred dependencies that I seem to have already. It seems to be
something to do with the way Red Hat's default Perl is in the wrong
place or uses the wrong @INC or doesn't know about CPAN or something
similarly critical.

///Peter



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

Reply via email to