On Fri, Nov 19, 2010 at 12:35 PM, Benjamin Reed <[email protected]> wrote:
> Does it work if you change the PatchScript to: perl -pi -e
> 's,(\...@cppflags\@),-I%p/lib/system-openssl/include -I%p/include/libxml2
> \1,' `find . -name Makefile.in`
>
> ?

Housekeeping:  this thread was rebranded  "PATH being set with /usr
ahead of /sw", and solved there.

I had made changes to the fink init.sh,  but forgotten that I had made
those changes.

thanks to all, gary



>
> On Fri, Nov 12, 2010 at 10:57 AM, Gary Pajer <[email protected]> wrote:
>>
>>
>> On Thu, Nov 11, 2010 at 10:40 PM, Alexander Hansen
>> <[email protected]> wrote:
>>>
>>> -----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.
>>
>> I've tried all kinds of things with no luck.  I moved /sw/bin,  /sw/sbin,
>> and /sw/var/lib/fink/path-prefix-10.6 to the very front of my path (as
>> reported in a shell).  There's nothing in /etc/paths or /etc/paths.d that
>> looks suspicious.   I've purged libxml2 and deleted its .deb files.  I set
>> CFLAGS, CXXFLAGS, and CPPFLAGS to -I/sw/include.   I did a 'fink rebuild' on
>> every package with 'libxml2' in its name.
>>
>> Any ideas what to try next?  Should i open a new thread with a more
>> descriptive and focused subject?
>>
>> -g
>>
>>
>>
>>
>>
>>
>>
>>>
>>> - --
>>> 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-----
>>
>>
>
>
>
> --
> Benjamin Reed a.k.a. Ranger Rick
> Fink, KDE, and Mac OS X development
>
> Blog: http://www.raccoonfink.com/
> Music: http://music.raccoonfink.com/
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to