Is there a particular reason you're not installing from the ports? My one attempt to install AxKit by hand took me quite a while. Whereas the ports install simply required a bit of a wait.
* S.tygian B.lacksmith S.tudios <[EMAIL PROTECTED]> [2003-03-19 06:20:58 GMT]: > Hello, > > I noticed this thread in the archives and thought I'd post this under the > same subject... I seem to be running into a similar problem to that noted > by Mark Cance (ref: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg03194.html ), where > he noted issues with libiconv. > > I'm using Apache 1.3.27 on a FreeBSD 4.4 VPS with perl 5.6.1. I have been > able to compile and use AxKit 1.6 successfully by adding the proper > directories to LIBS and INC. On the VPS, the old install commands were as > follows: > > % perl Makefile.PL LIBS='-L/usr/home/username/usr/local/lib -liconv > -L/usr/home/username/usr/local/libxml2/lib -lxml2 > -L/usr/home/username/usr/local/expat/lib -lexpat > -L/usr/home/username/usr/local/sablot/lib -lsablot' > INC='-I/usr/home/stygian1/usr/local/include > -I/usr/home/username/usr/local/libxml2/include > -I/usr/home/username/usr/local/libxml2/include/libxml2 > -I/usr/home/username/usr/local/expat/include > -I/usr/home/username/usr/local/sablot/include' > > % make, etc. > > On attempting to upgrade to v1.6.1 I found that using the same commands to > compile AxKit resulted in two strange errors: > > 1. libxml2 could not be found, although xml2-config could be. > 2. libiconv was detected after running 'perl Makefile.PL ...' but make > would return errors about not being able to locate iconv.h. > > Interestingly, this second problem only occurred when I tried to do a > manual install. Installing via the CPAN shell would not return this error; > instead I would get the errors mentioned by Mark Cance when I restarted > Apache. The first problem occurred in both circumstances. > > I was able to immediately downgrade to v1.6 without any problems, using > the same commands as given above, and Apache/AxKit is again working fine. > (Both libxml2 and libiconv could be found during compilation.) > > I have attempted to set the values for LIBS and INC through the CPPFLAGS, > LIBRARY_PATH and CPLUS_INCLUDE_PATH environment variables as well but > without any success. > > Any suggestions on how to proceed? > > Sincerely, > Scott G. Kearn > > > --- Log of install attempt follows --- > > > % perl Makefile.PL LIBS='-L/usr/home/username/usr/local/lib -liconv > -L/usr/home/username/usr/local/libxml2/lib -lxml2 > -L/usr/home/username/usr/local/expat/lib -lexpat > -L/usr/home/username/usr/local/sablot/lib -lsablot' > INC='-I/usr/home/username/usr/local/include > -I/usr/home/username/usr/local/libxml2/include > -I/usr/home/username/usr/local/libxml2/include/libxml2 > -I/usr/home/username/usr/local/expat/include > -I/usr/home/username/usr/local/sablot/include' > *** ExtUtils::AutoInstall version 0.48 > *** Checking for dependencies... > [Core Features] > - mod_perl ...loaded. (1.26 >= 1.17) > - Digest::MD5 ...loaded. (2.24 >= 2.09) > - Compress::Zlib ...loaded. (1.19) > - Error ...loaded. (0.15 >= 0.14) > - Apache::Request ...loaded. (1.1 >= 0.31_03) > - File::Basename ...loaded. (2.6) > - File::Spec ...loaded. (0.82) > [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 ...loaded. (1.07 >= 1.00) > [Optional module for using Sablotron XSLT engine] > - XML::Sablotron ...loaded. (0.97 >= 0.40) > [Optional modules required for XSP and LibXSLT engine] > - XML::LibXML ...loaded. (1.52 >= 1.51) > [Optional module required for LibXSLT engine] > - XML::LibXSLT ...loaded. (1.53 >= 1.49) > *** 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] > /usr/local/apache/1.3/bin/httpd > checking for expat symbols in apache... ok > 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 > checking for iconv() in -liconv... no > checking for libiconv() in -liconv... yes > Found libiconv. Might be *BSD or Win32... > > 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 Apache::AxKit::CharsetConv > Writing Makefile for AxKit > zero% make > Skip blib/lib/Apache/AxKit/Plugin/Fragment.pm (unchanged) > Skip blib/lib/Apache/AxKit/CharsetConv.pm (unchanged) > Skip blib/lib/Apache/AxKit/StyleChooser/Cookie.pm (unchanged) > Skip blib/lib/Apache/AxKit/Provider/Scalar.pm (unchanged) > Skip blib/lib/Apache/AxKit/Plugin/Passthru.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/SAXMachines.pm (unchanged) > Skip blib/lib/Apache/AxKit/Plugin/QueryStringCache.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/PassiveTeX.pm (unchanged) > Skip blib/lib/Apache/AxKit/StyleChooser/UserAgent.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/XSP.pm (unchanged) > Skip blib/lib/Apache/AxKit/typemap (unchanged) > Skip blib/lib/Apache/AxKit/Provider/File.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/LibXSLT.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/Query.pm (unchanged) > Skip blib/lib/Apache/AxKit/Makefile.old (unchanged) > cp lib/Apache/AxKit/Makefile blib/lib/Apache/AxKit/Makefile > Skip blib/lib/Apache/AxKit/MediaChooser/WAPCheck.pm (unchanged) > Skip blib/lib/Apache/AxKit/Cache.pm (unchanged) > Skip blib/lib/Apache/AxKit/StyleChooser/FileSuffix.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/Sablot.pm (unchanged) > Skip blib/lib/Apache/AxKit/StyleChooser/PathInfo.pm (unchanged) > Skip blib/lib/Apache/AxKit/Makefile.PL (unchanged) > Skip blib/lib/Apache/AxKit/CharsetConv.xs (unchanged) > Skip blib/lib/Apache/AxKit/Language/HtmlDoc.pm (unchanged) > Skip blib/lib/Apache/AxKit/ConfigReader.pm (unchanged) > Skip blib/lib/Apache/AxKit/Provider/FileWrite.pm (unchanged) > Skip blib/lib/Apache/AxKit/Exception.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/AxPoint.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/XMLNewsRDF.pm (unchanged) > Skip blib/lib/Apache/AxKit/Provider/Filter.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/XMLNewsNITF.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/XSP/TaglibHelper.pm (unchanged) > Skip blib/lib/AxKit.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/XPathScript.pm (unchanged) > Skip blib/lib/Apache/AxKit/StyleChooser/QueryString.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language/XSP/SimpleTaglib.pm (unchanged) > Skip blib/lib/Apache/AxKit/Language.pm (unchanged) > Skip blib/lib/Apache/AxKit/Provider.pm (unchanged) > 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.61\" -DXS_VERSION=\"1.61\" -DPIC -fpic > -I/usr/local/lib/per > l5/5.6.1/i386-freebsd/CORE AxKit.c > In file included from axconfig.h:22, > from AxKit.xs:13: > /usr/local/apache/1.3/include/httpd.h:72: warning: `TRUE' redefined > /usr/local/lib/perl5/5.6.1/i386-freebsd/CORE/handy.h:43: warning: this is > the loc > ation of the previous definition > /usr/local/apache/1.3/include/httpd.h:73: warning: `FALSE' redefined > /usr/local/lib/perl5/5.6.1/i386-freebsd/CORE/handy.h:44: warning: this is > the loc > ation of the previous definition > In file included from AxKit.xs:13: > axconfig.h:33: iconv.h: No such file or directory > *** Error code 1 > > Stop in /usr/home/username/.cpan/build/AxKit-1.61. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- TTFN, FNORD Peter McGarvey Freelance FreeBSD Hacker (will work for bandwidth) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
