On Thursday 14 February 2008 06:06:02 am Markus Amalthea Magnuson wrote:
> I am trying to update tcltk in Fink, but it won't compile:
>
> gcc -c -Os -pipe  -I/sw/include  -Wall -Wno-implicit-int
> -fno-strict-aliasing -fno-common
> -I/sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix
> -I/sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix/../generic
> -I/sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix/../bitmaps
> -I/sw/src/fink.build/tcltk-8.4.16-2/tcl8.4.16/generic
> -I/usr/X11/include -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DMAC_OSX_TCL=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1
> -DWORDS_BIGENDIAN=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
> -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED
> -DUSE_TCL_STUBS
> /sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix/../generic/tkConsole.c
> /sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix/../generic/tkConsole.c:76:
> error: 'TCL_CHANNEL_VERSION_4' undeclared here (not in a function)
> /sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix/../generic/tkConsole.c:90:
> warning: excess elements in struct initializer
> /sw/src/fink.build/tcltk-8.4.16-2/tk8.4.16/unix/../generic/tkConsole.c:90:
> warning: (near initialization for 'consoleChannelType')
> make: *** [tkConsole.o] Error 1
> ### execution of (cd failed, exit code 2
>
> I stumbled upon this when trying to run fink update-all, after a fink
> selfupdate. I've also tried fink cleanup, then fink index, then fink
> install tcltk, but no luck.

(I'll take Jeffrey off the reply since he has retired from Fink.)

The latter sequence wouldn't do anything different in any case:  cleanup 
cleans up sources and .deb binary archives that _aren't_ installed, and index 
reloads your package descriptions which is done by selfupdate automatically.  
So in either case the operation is just a "fink update tcltk"

You didn't specify your OS version, but it looks like 10.5 .  Am I correct?
Nor did you specify your architecture--the package worked for me on 
10.5/PowerPC.  I'd be curious about what's going on with other Intel users 
(assuming that's what you're using).

Otherwise:  have you installed any 3rd party Tcl/Tk stuff--in /usr/local for 
example?
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to