FW: Can't get SID to build - tk error

"Robert Cragie" <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel
Message-ID <[email protected]>
I have been told that I need to install Tcl/Tk 8.4. However, as far as I can
see, a complete source tree of Tcl/Tk 8.4 is included in SID. So surely I
don't need to install it as well?

Therefore I assume there is still some error in the scripts. I have pored
over them and tried adding 8.4 to tix/unix/Makefile.in (as the error was in
the tix area) and reconfigured from scratch but it made no difference. Any
assistance would be much appreciated.

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Robert Cragie
Sent: 31 January 2003 10:55
To: SID
Subject: Can't get SID to build - tk error


I am also having problems getting the latest version of SID to build (CVS
version updated 30 Jan 2003 @ 1745 GMT).

Environment:

SuSE Linux version 2.4.4-4GB
Tcl version 8.3
gcc version 2.95.3

I have created the following directory structure:

sid-cvs/src/<CVS source>
sid-cvs/build

I have applied the patch given in
http://sources.redhat.com/ml/sid/2003-q1/msg00017.html

In sid-cvs/build I do:

../src/configure --prefix=/opt/sid --exec-prefix=/opt/sid 2>&1 | tee
configure.out

Then I do:

make all install 2>&1 | tee make.out

I get the following error:

<snip>
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for Tcl configuration script... (cached)
/home/sheaf/sid-cvs/build/tcl/unix/tclConfig.sh
checking for Tk configuration script... (cached)
/home/sheaf/sid-cvs/build/tk/unix/tkConfig.sh
checking how to run the C preprocessor... (cached) gcc -E
checking for Tcl headers in the source tree...
/home/sheaf/sid-cvs/src/tcl/generic
/home/sheaf/sid-cvs/src/tcl/generic
checking for Tk headers in the source tree...
/home/sheaf/sid-cvs/src/tk/generic
found in /home/sheaf/sid-cvs/src/tk/generic
updating cache ../.././config.cache
creating ./config.status
creating Makefile
make[1]: Entering directory `/home/sheaf/sid-cvs/build/tix'
make[2]: Entering directory `/home/sheaf/sid-cvs/build/tix/unix'
/bin/sh: cd: tk8.4: No such file or directory
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/sheaf/sid-cvs/build/tix/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sheaf/sid-cvs/build/tix'
make: *** [all-tix] Error 2
</snip>

Also, I don't quite understand what you mean here:

>Aha.  sid makes reference to outside sibling directories like opcodes,
>libiberty.  It's necessary to run the configure at the top (src/configure).

Can you help?

Robert Cragie, Design Engineer

Direct: +44 (0) 114 281 4512
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655   Confidential
_______________________________________________________________
Visit our stand (C79) at DATE - Munich 4-6 March 2003
_______________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.