[Image-SIG] Re: Compile errors ad nauseum

Shawhan, Doug (EM, ITS) Doug.Shawhan at ge.com
Tue Jun 10 15:05:57 EDT 2003

Sorry! Away from all nettage for a week.

Thanks very much for your help Frederik!

-----Original Message-----
From: Fredrik Lundh [mailto:fredrik at pythonware.com]
Sent: Monday, June 02, 2003 3:53 PM
To: image-sig at python.org
Subject: [Image-SIG] Re: Compile errors ad nauseum

"doug" <doug at pop.nsacom.net> wrote:
> That seems to have worked! Thanks Frederik!

you're welcome!

> Unfortunately I have run onto another issue:
> Tk/tkImaging.c: In function `TkImaging_Init':
> Tk/tkImaging.c:191: warning: passing arg 3 of `Tcl_CreateCommand' from
> incompatible pointer type
> gcc -shared  ./_imagingtk.o ./tkImaging.o  -L/usr/local/lib -ltcl8.0 -ltk8.0
> -L/usr/X11R6/lib -lX11  -o ./_imagingtk.so
> /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld:
> cannot find -ltcl8.0
> collect2: ld returned 1 exit status
> make: *** [_imagingtk.so] Error 1
> My Slackware 9 install has tcl8.4. What am I missing here, folks?

if you have tcl/tk 8.4, why are you linking against 8.0 ? ;-)

I cannot tell if you're using the setup.py build approach (preferred) or
the older Makefile.pre.in approach; if the former, the above means that
Python's Tkinter module was built against 8.0; if the latter, you have
to edit the Setup.in to match your local configuration:

    $ rm Setup
    $ emacs Setup.in
    (change 8.0 to 8.4, and make sure the path's are correct)
    $ make Makefile.pre.in boot
    $ make


Image-SIG maillist  -  Image-SIG at python.org

More information about the Image-SIG mailing list