Re: whim configure script needs "jpeg library" -- what does that mean exactly
- From: "Webb S." <webb.sprague@xxxxxxxxx>
- Date: Mon, 20 Apr 2009 09:04:19 -0700 (PDT)
Consider me an experiment!
OK
The experiment continutes.
The -shared option is used to generate an .so. You probably don't want to
use gcc for that on the Mac. -shared works generally in BSD and Linux, but
on the Mac it probably won't. You shouldn't need to install the macports
gcc to fix it.
OK macports crapped out anyway
Try editing the build.conf that the configure.tcl produced.
edit these in the build.conf:
LD gcc
LD_FLAGS -shared
make them be:
LD ld
LD_FLAGS -dylib
Did this and got:
(0) foobar:Whim-2399 [0]% /usr/local/bin/tclsh8.5
build.tcl <1204>
BUILDING:/Users/wsprague/Whim-2399/build/arch/i386/Darwin/
megaimage.dylib
gcc -O -D_XOPEN_SOURCE=500 -D_SVID_SOURCE -D_ISOC99_SOURCE -pipe -fPIC
-DPIC -DUSE_X11 -DUSE_SHM -DUSE_TCL_STUBS -DUSE_TK_STUBS -finline-
functions -DLITTLE_ENDIAN=1 -DBIG_ENDIAN=2 -DBYTE_ORDER=LITTLE_ENDIAN -
I/usr/local/include -I/usr/local/include -I../include -c
megaimage_compile.c
ld -dylib megaimage_compile.o /usr/local/lib/libtclstub8.5.a -lm -o /
Users/wsprague/Whim-2399/build/arch/i386/Darwin/megaimage.dylib
ERROR:ld: Undefined symbols:
___divdi3
You might also need -flat_namespace after the -dylib if there are
[load]-time or link-time issues.
Did this and got a tcl error. Don't know if it should be a list ( i
just put it at teh end)
I suggest you make certain you're using an X11 libtk that works with
XQuartz.
Not to be stupid, but as opposed to what? And how might I make sure?
Thanks!
W
.
- Follow-Ups:
- Re: whim configure script needs "jpeg library" -- what does that mean exactly
- From: George Peter Staplin
- Re: whim configure script needs "jpeg library" -- what does that mean exactly
- References:
- whim configure script needs "jpeg library" -- what does that mean exactly
- From: Webb S.
- Re: whim configure script needs "jpeg library" -- what does that mean exactly
- From: George Peter Staplin
- Re: whim configure script needs "jpeg library" -- what does that mean exactly
- From: Webb S.
- Re: whim configure script needs "jpeg library" -- what does that mean exactly
- From: George Peter Staplin
- whim configure script needs "jpeg library" -- what does that mean exactly
- Prev by Date: Re: Command to find unique entries in a list
- Next by Date: console command - why not official in linux etc.
- Previous by thread: Re: whim configure script needs "jpeg library" -- what does that mean exactly
- Next by thread: Re: whim configure script needs "jpeg library" -- what does that mean exactly
- Index(es):
Relevant Pages
|