Hello,
New to list. Thank you for any and all help.

I am trying to get a python program to work,
and I hoped to install 'swig' as part of that
process.

fink install swig

I was suprised that "27 additional packages"
needed to be installed, as I had recently
installed Apple's Xcode Tools 2.2,
but whatever.

I died with "dlcompat-dev". Here is the
output I got (the last time I tried),
it's long..
Thanks if anyone can help!

- rick

-=-

% fink update swig
sudo /sw/bin/fink  update swig
Password:
Information about 1276 packages read in 1 seconds.


fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)      python: Interpreted, object-oriented language
(2)      python-nox: Interpreted, object-oriented language

Pick one: [1] 

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)      system-xfree86: Placeholder package for manually installed XFree86
(2)      xfree86-base: XFree86 libraries, utilities, clients and data

Pick one: [1] 
The following package will be installed or updated:
 swig
The following 25 additional packages will be installed:
 dlcompat-dev expat expat-shlibs gdbm gdbm-shlibs gmp gmp-shlibs guile
 guile-dev guile-shlibs libpoll libpoll-shlibs python python22
 python22-shlibs python22-socket readline ruby ruby-dev ruby-shlibs
 system-xfree86 tcltk tcltk-dev tcltk-shlibs texinfo
Do you want to continue? [Y/n] 
rm -rf dlcompat-20030522-1
mkdir -p /sw/src/dlcompat-20030522-1
/sw/bin/tar -xzf /sw/src/dlcompat-20030522.tar.gz 
./configure --prefix=/sw --enable-fink --mandir=/sw/share/man
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking mach-o/dyld.h usability... yes
checking mach-o/dyld.h presence... yes
checking for mach-o/dyld.h... yes
checking for NSLinkModule... yes
checking for NSAddImage... yes
configure: creating ./config.status
config.status: creating ./Makefile
make
gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -DFINK_BUILD=1 -o 
dlfcn.o -c dlfcn.c
dlfcn.c: In function 'get_lib_name':
dlfcn.c:222: warning: assignment discards qualifiers from pointer target type
dlfcn.c: In function 'get_mach_header_from_NSModule':
dlfcn.c:236: warning: passing argument 1 of 'NSNameOfModule' from incompatible 
pointer type
dlfcn.c:245: warning: assignment discards qualifiers from pointer target type
dlfcn.c: In function 'promoteLocalToGlobal':
dlfcn.c:417: warning: passing argument 2 of '_dyld_func_lookup' from 
incompatible pointer type
dlfcn.c: In function 'search_linked_libs':
dlfcn.c:499: warning: assignment from incompatible pointer type
dlfcn.c: In function 'dlsymIntern':
dlfcn.c:519: warning: assignment from incompatible pointer type
dlfcn.c:523: warning: passing argument 1 of 'get_mach_header_from_NSModule' 
from incompatible pointer type
dlfcn.c:533: warning: assignment from incompatible pointer type
dlfcn.c:549: warning: assignment from incompatible pointer type
dlfcn.c:599: warning: passing argument 1 of 'NSAddressOfSymbol' from 
incompatible pointer type
dlfcn.c: In function 'dlcompat_init_func':
dlfcn.c:721: warning: passing argument 2 of '_dyld_func_lookup' from 
incompatible pointer type
dlfcn.c:723: warning: passing argument 2 of '_dyld_func_lookup' from 
incompatible pointer type
dlfcn.c:724: warning: passing argument 2 of '_dyld_func_lookup' from 
incompatible pointer type
dlfcn.c: At top level:
dlfcn.c:735: warning: Pragma CALL_ON_LOAD is deprecated; use constructor 
attribute instead
dlfcn.c: In function 'dlclose':
dlfcn.c:991: warning: passing argument 1 of 'get_mach_header_from_NSModule' 
from incompatible pointer type
dlfcn.c: In function 'dladdr':
dlfcn.c:1035: warning: initialization makes integer from pointer without a cast
dlfcn.c:1052: warning: assignment discards qualifiers from pointer target type
ar cru libdl.a dlfcn.o
ranlib libdl.a
gcc -dynamiclib -o libdl.0.dylib dlfcn.o -install_name /sw/lib/libdl.0.dylib 
ld: warning multiple definitions of symbol _dladdr
dlfcn.o definition of _dladdr in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o)
 definition of _dladdr
ld: warning multiple definitions of symbol _dlclose
dlfcn.o definition of _dlclose in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o)
 definition of _dlclose
ld: warning multiple definitions of symbol _dlerror
dlfcn.o definition of _dlerror in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o)
 definition of _dlerror
ld: warning multiple definitions of symbol _dlopen
dlfcn.o definition of _dlopen in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o)
 definition of _dlopen
ld: warning multiple definitions of symbol _dlsym
dlfcn.o definition of _dlsym in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(dyldAPIsInLibSystem.o)
 definition of _dlsym
ld: Undefined symbols:
_dlcompat_init_func
/usr/bin/libtool: internal link edit command failed
make: *** [libdl.0.dylib] Error 1
### execution of make failed, exit code 2
Failed: compiling dlcompat-20030522-1 failed



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to