On Mon, Jan 07, 2008 at 02:23:05PM -0600, Ryan Schmidt wrote:
On Jan 7, 2008, at 08:49, George Georgalis wrote:
I have also tried exporting DYLD_LIBRARY_PATH, expat is not found.
That should not be necessary.
I have p5-xml-parser and expat installed. Never seen this problem.
The obvious difference I see is that your MacPorts prefix is /usr/local/MacPorts instead of the usual /opt/local. Can you check if anything ended up getting installed in the /opt/local by mistake?
ls: /opt/local: No such file or directory
Also, can you tell us your version of MacPorts, Mac OS X, Xcode, and your processor architecture?
not sure how to determine xcode version maybe this is good enough? + port version Version: 1.600 + system_profiler + grep 'System Version' System Version: Mac OS X 10.4.11 (8S165) + which gcc /usr/bin/gcc + gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5363) + ls /Developer/SDKs MacOSX10.3.9.sdk MacOSX10.4u.sdk + uname -p powerpc // George
On Sun, Jan 06, 2008 at 06:30:00PM -0500, George Georgalis wrote:
I'm not sure what the problem is here, expat is installed (subversion, at least, is using it) but p5-xml-parser won't go in because it cannot find it. I've tried exporting EXPATLIBPATH and EXPATINCPATH but still no cookie. (I have synced and cleaned installed too.) What could be wrong?
// George
geo@fuji:/Users/geo port installed expat The following ports are currently installed: expat @2.0.0_1 expat @2.0.1_0 (active) geo@fuji:/Users/geo sudo port outdated The following installed ports are outdated: gmp 4.2.2_0 < 4.2.2_1 libpcap 0.9.5_1 < 0.9.8_0 R 2.5.1_0 < 2.6.1_0 tcl 8.4.16_0 < 8.5.0_0 urw-fonts 1.0.7pre43_0 < 1.0.7pre44_0 vim 7.1.175_0 < 7.1.203_0 xrender 0.9.0_1 < 0.9.0_2 geo@fuji:/Users/geo sudo port install gnupod Password: ---> Configuring p5-xml-parser Error: Target org.macports.configure returned: configure failure: shell command " cd "/usr/local/MacPorts/var/macports/build/_usr_local_MacPorts_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-parser/work/XML-Parser-2.36" && /usr/local/MacPorts/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 2 Command output: Note (probably harmless): No library found for -lexpat
Expat must be installed prior to building XML::Parser and I can't find it in the standard library directories. You can download expat from:
http://sourceforge.net/projects/expat/
If expat is installed, but in a non-standard directory, then use the following options to Makefile.PL:
EXPATLIBPATH=... To set the directory in which to find libexpat
EXPATINCPATH=... To set the directory in which to find expat.h
For example:
perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include
Note that if you build against a shareable library in a non-standard location you may (on some platforms) also have to set your LD_LIBRARY_PATH environment variable at run time for perl to find the library.
Error: The following dependencies failed to build: p5-xml-parser Error: Status 1 encountered during processing.
-- George Georgalis, information system scientist <IXOYE><