Martin Costabel wrote:

On 6 d�c. 2004, at 23:08, Alexander K. Hansen wrote:

Begin forwarded message:

From: Terry Richards <[EMAIL PROTECTED]>
macosx 10.2.8 on tibook<2002>

Making all in libxml
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -I/sw/include -I/sw/include -g -O2 -Wall -c -o SAX.lo `test -f 'SAX.c' || echo './'`SAX.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -I/sw/include -I/sw/include -g -O2 -Wall -c SAX.c -Wp,-MD,.deps/SAX.TPlo -fno-common -DPIC -o .libs/SAX.lo
SAX.c:2022: conflicting types for `initxmlDefaultSAXHandler'
/Library/Frameworks/libxml.framework/Headers/SAX.h:151: previous declaration of `initxmlDefaultSAXHandler'



I guess the FAQ about /usr/local applies analogously to /Library: If you install your own stuff there, you are yourself responsible for interference with compilations from source.


The more interesting question (to which I have no answer) is: Why does the compiler see the self-installed libxml Framework at all? Whereas /usr/local is always in the search path, /Library/Frameworks usually isn't. It has to be called explicitly either on the compiler line or via some environment variable.

My suspicion is that along with the installation of the libxml Framework, an environment variable got sett that pulls in this Framework. Check your shell startup scripts and your environment.


echo $PATH
/usr/local/mysql/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin:/usr/X11R6/bin



from /etc/rc.boot:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices; ex
port PATH


from .tcshrc:
more .tcshrc
set history=1000
set savehist=999
set noclobber
set path = ( $path /opt/local/bin )
source /sw/bin/init.csh
setenv PATH /usr/local/mysql/bin:$PATH

i don't know where this libxml.framework came from.
would it be safe to delete it? is it not a part of macosx?

where do i start tracking this problem down?

:-)2


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to