[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-beginners
Subject:    Re: [Fink-beginners] libraptor1-shlibs-1.4.21-1 fails to compile.
From:       Alexander Hansen <alexanderk.hansen () gmail ! com>
Date:       2010-11-12 3:40:57
Message-ID: 4CDCB749.4010106 () gmail ! com
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/11/10 2:18 PM, Gary Pajer wrote:
<snip>

> > Look back in the build output for references to "curie".  In my build
> > the initial build of curie.o shows up here:
> 
> > ...
> > mv -f .deps/strcasecmp.Tpo .deps/strcasecmp.Plo
> > /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -DLIBRDFA_IN_RAPTOR -I../librdfa -I/sw32/lib/system-openssl/include
> > -DRAPTOR_INTERNAL=1 -DRAPTOR_V2_EXPERIMENTAL=1 -I/sw32/include
> > -I/sw32/include/libxml2 -I/sw32/include/libxml2 -I/sw32/include
> > -I/sw32/lib/system-openssl/include -I/sw32/include -I/sw32/include  -g
> > -O2 -MT curie.lo -MD -MP -MF .deps/curie.Tpo -c -o curie.lo `test -f
> > '../librdfa/curie.c' || echo './'`../librdfa/curie.c
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR
> > -I../librdfa -I/sw32/lib/system-openssl/include -DRAPTOR_INTERNAL=1
> > -DRAPTOR_V2_EXPERIMENTAL=1 -I/sw32/include -I/sw32/include/libxml2
> > -I/sw32/include/libxml2 -I/sw32/include
> > -I/sw32/lib/system-openssl/include -I/sw32/include -I/sw32/include -g
> > -O2 -MT curie.lo -MD -MP -MF .deps/curie.Tpo -c ../librdfa/curie.c
> > -fno-common -DPIC -o .libs/curie.o
> > mv -f .deps/curie.Tpo .deps/curie.Plo
> > ...
> 
> 
> > > Indeed:
> 
> > > /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > > -DLIBRDFA_IN_RAPTOR -I../librdfa -I/sw/lib/system-openssl/include
> > > -DRAPTOR_INTERNAL=1 -DRAPTOR_V2_EXPERIMENTAL=1 -I/usr/include/libxml2
> > > -I/usr/include/libxml2 -I/sw/lib/system-openssl/include -I/sw/include
> > > -g -O2 -MT curie.lo -MD -MP -MF .deps/curie.Tpo -c -o curie.lo
> `test -f
> > > '../librdfa/curie.c' || echo './'`../librdfa/curie.c
> > > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR
> > > -I../librdfa -I/sw/lib/system-openssl/include -DRAPTOR_INTERNAL=1
> > > -DRAPTOR_V2_EXPERIMENTAL=1 -I/usr/include/libxml2
> -I/usr/include/libxml2
> > > -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -MT
> curie.lo -MD
> > > -MP -MF .deps/curie.Tpo -c ../librdfa/curie.c  -fno-common -DPIC -o
> > > .libs/curie.o
> > > mv -f .deps/curie.Tpo .deps/curie.Plo
> 
> 
> > > and -I/usr/include/libxml2 everywhere else.  I do have fink's libxml2
> > > installed.  What could cause this?  Nothing earlier on in the output
> > > jumps out at me.   I do have /sw/... fairly far down in my path,
> could
> > > that be an issue?
> 
> > > thanks,
> > > gary
> 
> It depends on _how_ you set your PATH.  Fink doesn't use settings that
> you set in your user account, but if you set them globally that could
> change the build, since libxml2 uses an executable script for
> configuration.
> 
> What do you get from "fink dumpinfo -ePATH libraptor1-shlibs"?
> 
> 
> 
> > PATH=/sw/var/lib/fink/path-prefix-10.6:/bin:/usr/bin:/sbin:/usr/sbin:/sw/bin:/sw/sbin:/usr/X11R6/bin
> > 
> 
> 
> 
> 
> Also of relevance might be the output from "fink dumpinfo -eCPPFLAGS
> libraptor1-shlibs".
> 
> 
> > CPPFLAGS=-I/sw/lib/system-openssl/include -I/sw/include
> 
> 
> 
> 

Yeah, it looks like the PATH is the problem here.  I get

PATH=/sw32/var/lib/fink/path-prefix-10.6:/sw32/bin:/sw32/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin


You're going to want to undo whatever you're doing to the PATH while you
build with Fink.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzct0gACgkQB8UpO3rKjQ9eAgCeLkKkte9w3b6kvIY/9/o5xBxT
Oq4AoIj4Cn0fL1VrxfwvkbvmST8TlH4e
=mbpM
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic