Tk Source Code

View Ticket
Login
Ticket UUID: 963020
Title: Problem compiling tk8.5a1
Type: Bug Version: obsolete: 8.5a1
Submitter: pierre42 Created on: 2004-05-30 06:34:17
Subsystem: 84. Unix Build Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-06-03 17:10:18
Resolution: Out of Date Closed By: dgp
    Closed on: 2004-05-31 17:16:24
Description:
# gmake
gcc -pipe -c -s -O3 -march=i686 -O2 -Wall -Wconversion
-Wno-implicit-int -fPIC -I/tmp/tk8.5a1/unix
-I/tmp/tk8.5a1/unix/../generic
-I/tmp/tk8.5a1/unix/../bitmaps -I/tmp/tcl8.5a1/generic
-I/usr/X11R6/include -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1
-DTCL_THREADS=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DPEEK_XCLOSEIM=1 -DTCL_CFG_OPTIMIZED=1
-DTCL_CFG_DEBUG=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DHAVE_XFT=1 
    -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS 
/tmp/tk8.5a1/unix/../generic/tk3d.c
In file included from /usr/local/include/tclInt.h:2266,
                 from
/tmp/tk8.5a1/unix/../generic/../unix/tkUnixPort.h:224,
                 from
/tmp/tk8.5a1/unix/../generic/tkPort.h:34,
                 from
/tmp/tk8.5a1/unix/../generic/tkInt.h:27,
                 from
/tmp/tk8.5a1/unix/../generic/tk3d.h:18,
                 from
/tmp/tk8.5a1/unix/../generic/tk3d.c:16:
/usr/local/include/tclIntDecls.h:322: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:326: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:330: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:333: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:337: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:341: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:357: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:360: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:363: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:367: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:370: error: parse
error before '->' token
/usr/local/include/tclIntDecls.h:377: error: parse
error before '->' token
gmake: *** [tk3d.o] Error 1
User Comments: pierre42 added on 2004-06-03 17:10:18:
Logged In: YES 
user_id=512388

I just have installed tcl 8.5a1 before.

dgp added on 2004-06-01 10:09:04:
Logged In: YES 
user_id=80530

My apologies for the typo.

You appear to be working on
a Linux/Intel system.  Many,
many people have built Tk 8.5a1
successfully on that system,
so I strongly suspect the problem
underlying your report is something
wrong on your system, rather than
something wrong with Tk 8.5a1.

Many changes have gone into
the development sources
since the release of Tk 8.5a1.
Unless you can repeat this
problem with the current state
of the development sources
(available via cvs checkout),
there's little we can do with it.

One thing to check:  the errors
reported are from Tcl's header
files.  Are you building Tk 8.5a1
against Tcl 8.5a1, or do you have
a version mismatch?  Alpha
releases can be very sensitve to
an exact match because the 
interfaces are in flux.

pierre42 added on 2004-06-01 08:54:43:
Logged In: YES 
user_id=512388

The last release on sourceforge is 8.5a1...

dgp added on 2004-06-01 00:16:24:
Logged In: YES 
user_id=80530

suspect pilot error.

Anyhow, there's been many
changes since the Tcl/Tk 8.5a2
release, making this report
out of date.  If similar trouble
exists using the HEAD of development,
please report again.