public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* FW: Can't get SID to build - tk error
@ 2003-02-06 12:49 Robert Cragie
  2003-02-06 15:56 ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Cragie @ 2003-02-06 12:49 UTC (permalink / raw)
  To: SID

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: sid-owner@sources.redhat.com
[mailto:sid-owner@sources.redhat.com]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
_______________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FW: Can't get SID to build - tk error
  2003-02-06 12:49 FW: Can't get SID to build - tk error Robert Cragie
@ 2003-02-06 15:56 ` Frank Ch. Eigler
  2003-02-06 17:31   ` Robert Cragie
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Ch. Eigler @ 2003-02-06 15:56 UTC (permalink / raw)
  To: Robert Cragie; +Cc: SID

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

Hi, Robert -

> 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?

Since tcl/tk 8.4 comes with the src repository now, you need not
build or install it separately.


> Therefore I assume there is still some error in the scripts. [...]
> 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

It's clear that something is wrong with the tix configury.  However,
tix is not related to sid, either as a dependent of "make all-sid"
or as the CVS module "sid".  You must have that source tree checked
out due to insight or snavigator, or just by accident.  Please remove
the entire tix directory, and try the configure/make again.

- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: FW: Can't get SID to build - tk error
  2003-02-06 15:56 ` Frank Ch. Eigler
@ 2003-02-06 17:31   ` Robert Cragie
  2003-02-06 17:47     ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Cragie @ 2003-02-06 17:31 UTC (permalink / raw)
  To: Frank Ch. Eigler, SID

> > Therefore I assume there is still some error in the scripts. [...]
> > 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
>
> It's clear that something is wrong with the tix configury.  However,
> tix is not related to sid, either as a dependent of "make all-sid"
> or as the CVS module "sid".  You must have that source tree checked
> out due to insight or snavigator, or just by accident.  Please remove
> the entire tix directory, and try the configure/make again.

This is obviously residue from earlier checkouts of SID, as I notice it is
present in an earlier source tree but, as you rightly say, it is not in the
latest source tree. I did update my source tree using 'cvs -z9
update -d -P', which I thought would have removed any directories no longer
relevant. However, I have done a clean checkout and will work from there. I
have applied the patch in
http://sources.redhat.com/ml/sid/2003-q1/msg00017.html (should this be
committed?) and have started a build - the results look promising so far.

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________
Visit our stand (C79) at DATE - Munich 4-6 March 2003
_______________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FW: Can't get SID to build - tk error
  2003-02-06 17:31   ` Robert Cragie
@ 2003-02-06 17:47     ` Frank Ch. Eigler
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2003-02-06 17:47 UTC (permalink / raw)
  To: Robert Cragie; +Cc: SID

[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]

Hi -


On Thu, Feb 06, 2003 at 05:31:55PM -0000, Robert Cragie wrote:
> [...]
> This is obviously residue from earlier checkouts of SID, as I notice it is
> present in an earlier source tree but, as you rightly say, it is not in the
> latest source tree. I did update my source tree using 'cvs -z9
> update -d -P', which I thought would have removed any directories no longer
> relevant. 

It would do that, only if irrelevant directores were identified
with an "cvs remove", to actually designate them as if deleted.
Because that source subtree (buggy as it is) is still used by
insight and snavigator, it can't be "cvs remove"d.  Your "cvs update -d -P"
dutifully pulled it (and everything else under src/) into your
working tree.


> However, I have done a clean checkout and will work from there. I
> have applied the [tcl 8.3->8.4] patch and have started a build -
> the results look promising so far.

I'm glad to hear.  I'll commit a variety of C++ and build cleanups
to src/sid in the coming days, including that patch.


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-06 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 12:49 FW: Can't get SID to build - tk error Robert Cragie
2003-02-06 15:56 ` Frank Ch. Eigler
2003-02-06 17:31   ` Robert Cragie
2003-02-06 17:47     ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).