tcl 8.2 fails to compile on Solaris.
Closed / Fixed218225ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 00:54:42
OriginalBugID: 2626 Bug
Version: 8.2
SubmitDate: '1999-08-31'
LastModified: '1999-09-01'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Solaris
OSVersion: 5.5.1
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-09-01'
Name:
Jonathan Cano
Extensions:
none
ReproducibleScript:
I downloaded tcl 8.2 from scriptics yesterday. I extracted the tar
file, ran configure and then make.
I ran configure like this:
% nice ./configure --enable-gcc --prefix=home/jcano/local
then make:
% make
the compilation error I get is:
In file included from ../generic/tclPort.h:27,
from ./../generic/tclAlloc.c:22:
../generic/../unix/tclUnixPort.h:255: conflicting types for
`gettimeofday'
/usr/include/sys/time.h:263: previous declaration of `gettimeofday'
make: *** [tclAlloc.o] Error 1
Here is information about my system:
jcano@apple [17:0] > !gcc
gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/specs
gcc version 2.8.1
jcano@apple [18:0] > !uname
uname -a
SunOS apple 5.5.1 Generic_103640-26 sun4u sparc
SUNW,UltraSPARC-IIi-Engine
jcano@apple [19:0] >
DesiredBehavior:
I currently don't have time to tinker with tcl if it doesn't build right
out of the box.
I realize that this might not be a high priority to fix but I thought
you scriptics folks would be interested in knowing about a problem
building on a platform as common as Solaris/UltraSPARC.
Cheers,
--jfc
We are not able to reproduce this in any way. This is a singular
report of this problem for one of Tcl most common platforms (and
one of our test platforms), so the problem must be in a local config.
-- 09/01/1999 hobbs
welch Closed ticket [218225ffff].
[History diff]2000-10-26 08:16:58
dgp Ticket [218225ffff]: 3 changes
[History diff]2001-04-19 00:42:46
nobodyplain2001-08-15 03:26:35
Logged In: NO I download tcl8.3.2 and saw the same problem while doing a make. Does anyone have a solution to this problem. The platform is solaris 2.6.
dkfplain2001-08-15 16:33:50
Logged In: YES user_id=79902 Unless someone supplies more info (like the whole of the messages printed out by configure as it is working) we cannot diagnose the problem further. We could, of course, just recommend that the OS (and headers and compiler) should be upgraded; ISTR there were a number of security issues with 2.6. Also, make sure that the compiler version is matched to the OS version properly, as I've had a lot of problems in the past with (installed on the network) GCC not being configured to work with the same version of the OS that it was being run under (which was due to header file mangling) and these only got fixed when my sysadmins upgraded their own personal machine and discovered that the compiler no longer worked! :^(
Log in (anonymous is fine) to add a comment.