monipol wrote:
> On 05/10/2009, at 09:32, Thomas Eadsforth wrote:
>
>> monipol 10/05/09 1:24 PM
>>
>>> On 05/10/2009, at 09:06, Thomas Eadsforth wrote:
>>>
>>>> Sorry for the lack of detail in the last message. I am running OS
>>>> 10.5.8 and my Xcode is 312_2621. In response to the last two
>>>> messages (thanks) I have run: fink list -t libxml2
>>>> and got the following message:
>>>> Information about 9351 packages read in 2 seconds.
>>>> i libxml2 2.6.32-1 XML parsing library, version 2
>>>> i libxml2-bin 2.6.32-1 XML parsing library,
>>>> version 2
>>>> libxml2-py24 2.6.32-1 Python bindings for libxml2
>>>> library
>>>> (i) libxml2-py25 2.6.32-1 Python bindings for libxml2
>>>> library
>>>> i libxml2-py26 2.6.32-1 Python bindings for libxml2
>>>> library
>>>> libxml2-rb18 0.5.4-1 Ruby bindings for libxml2
>>>> i libxml2-shlibs 2.6.32-1 XML parsing library,
>>>> version 2
>>>> I have also run: which xml2-config
>>>> /sw/bin/xml2-config
>>>> and: xml2-config --cflags
>>>> -I/sw/include/libxml2 -I/sw/include.
>>>>
>>>> parser.h is present and where is should be.
>>>>
>>> As Alexander asked in a previous e-mail, tell us the output from the
>>> compiler just before the error, i.e., a couple of lines right before
>>>
>>> parse.c:31:27: error: libxml/parser.h: No such file or directory
>>>
>>>
>> Hi and sorry again...
>> Here is the message i get
>>
>> Setting runtime build-lock...
>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-
>> daemonic-20010902-4 /sw/src/fink.build
>> dpkg-deb: building package `fink-buildlock-daemonic-20010902-4' in `/
>> sw/src/fink.build/fink-buildlock-
>> daemonic-20010902-4_2009.10.05-13.29.42_darwin-i386.deb'.
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-
>> daemonic-20010902-4_2009.10.05-13.29.42_darwin-i386.deb
>> Selecting previously deselected package fink-buildlock-
>> daemonic-20010902-4.
>> (Reading database ... 105102 files and directories currently
>> installed.)
>> Unpacking fink-buildlock-daemonic-20010902-4 (from .../fink-
>> buildlock-daemonic-20010902-4_2009.10.05-13.29.42_darwin-i386.deb) ...
>> Setting up fink-buildlock-daemonic-20010902-4
>> (2009.10.05-13.29.42) ...
>> gzip -dc /sw/src/daemonic-20010902.tar.gz | /sw/bin/tar -xf - --no-
>> same-owner --no-same-permissions
>> /var/tmp/tmp.1.Kzq1XY
>> + perl -pi -e 's/static void/void/g' parse.c
>> + cat
>> make prefix=/sw
>> cc -Wall -O2 -DDESCDIR='"/sw/etc/daemons"' `xml2-config --cflags` -I/
>> sw/include -c -o main.o main.c
>> cc -Wall -O2 -DDESCDIR='"/sw/etc/daemons"' `xml2-config --cflags` -I/
>> sw/include -c -o parse.o parse.c
>> parse.c:31:27: error: libxml/parser.h: No such file or directory
>> parse.c:60: warning: type defaults to 'int' in declaration of
>> 'xmlChar'
>> parse.c:60: error: syntax error before '*' token
>>
>
>
> And what do you get from the following commands?
>
> echo $SHELL
> echo `xml2-config --cflags`
> ls -l /sw/include/libxml2/libxml/parser.h
>
>
> Cheers,
>
> --
> monipol
> http://finkers.wordpress.com
>
Also, try
fink dumpinfo -fenv daemonic
That way we can see exactly what is in the build-time environment for
the package on your system.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners