I'm having trouble building gimp2 under OS 10.3.3 with fink version Package manager 
version: 0.20.0, Distribution version: 0.7.0.cvs.

(It's maddening because I built it without problem on my daughter's Mac with what I 
thought was an identical configuration -- obviously, *something* is different!)

I'm getting the following output from
fink install gimp2:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -I/sw/lib/fontconfig2/include/
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled 
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
### execution of /var/tmp/tmp.1.3Hvorl failed, exit code 2
Failed: compiling gimp2-2.0.0-2 failed

And in the config.log, I see stuff like:

configure:2415: checking for C compiler default output file name
configure:2418: gcc -I/sw/lib/fontconfig2/include/  -I/sw/include -L/sw/lib conf
test.c -liconv -lintl -lexpat >&5
ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 s
ize = 0x1000) of a.out overlaps with __TEXT segment (address = 0x0 size = 0x1d00
0) of /sw/lib/libexpat.0.dylib
ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 si
ze = 0x2000) of a.out overlaps with __TEXT segment (address = 0x0 size = 0x1d000
) of /sw/lib/libexpat.0.dylib
ld: warning prebinding not disabled because (__DATA segment (address = 0x3000 si
ze = 0x1000) of a.out overlaps with __TEXT segment (address = 0x0 size = 0x1d000
) of /sw/lib/libexpat.0.dylib
ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x400
0 size = 0x1000) of a.out overlaps with __TEXT segment (address = 0x0 size = 0x1
d000) of /sw/lib/libexpat.0.dylib
configure:2421: $? = 0
configure:2467: result: a.out
configure:2472: checking whether the C compiler works
configure:2478: ./a.out
dyld: ./a.out version mismatch for library: /sw/lib/libexpat.0.dylib (compatibil
ity version of user: 6.0.0 greater than library's version: 5.0.0)
./configure: line 1: 12380 Trace/BPT trap          ./$ac_file
configure:2481: $? = 133
configure:2490: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.


For what it's worth, I have a current expat package installed via fink (1.95.7-1).

/sw/lib/libexpat.dylib is a symbolic link to /sw/lib/libexpat.0.5.0.dylib

So why is a.out expecting version 6 of libexpat?  What have I messed up?

All suggestions welcome.

Neel Smith



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to