pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

to compile x11/tk under Mac OS X 10.5.2 (for math/maxima)



Hi all,

I guess this is really simple, but I cannot get tk to compile under Mac OS X 10.5.2 with pkgsrc-current:

--------8<--------
Scale.o .libs/tkUnixScrlbr.o .libs/tkUnixSelect.o .libs/tkUnixSend.o .libs/tkUnixWm.o .libs/tkUnixXId.o -lpthread -lX11 -L/Users/bernd/pkgsrc/x11/tk/work/.buildlink/lib -ltclstub84 -framework CoreFoundation -install_name /Users/bernd/pkg/lib/libtk84.1.dylib -compatibility_version 2 -current_version 2.0
ld: library not found for -lX11
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/bernd/pkgsrc/x11/tk/work/tk8.4.16/unix
*** Error code 1
--------8<--------

If I see this correctly, the linker does not find a library (libX11.dylib or libX11.a ?) to link against. This should be linked against native X11, which is located under /usr/X11 and also there.

--------8<--------
himmerich:lib bernd$ ls -al libX11*
lrwxr-xr-x 1 root wheel 14 Dec 1 17:32 libX11.6.2.0.dylib -> libX11.6.dylib
-rwxr-xr-x  1 root  wheel  4608240 Dec  6 03:33 libX11.6.dylib
lrwxr-xr-x 1 root wheel 14 Dec 1 17:32 libX11.dylib -> libX11.6.dylib
-rwxr-xr-x  1 root  wheel      863 Sep  9 07:34 libX11.la
--------8<--------

Am I missing something Mac specific?
Can somebody please enlight me what needs to be done?


Thanks, Bernd



Home | Main Index | Thread Index | Old Index