mising tools menu

anomstiac (anoms@tiac.net)
Wed, 29 Jan 1997 14:55:31 -0500

Hello all,
I have been wracking my brain trying to get the tools menu to
show. Will someone please tell me what I am doing wrong??

installed: tk4.1, tcl7.5, and scotty-2.1.5

using the following steps:

## Mon Jan 27 13:32:38 EST 1997 /u/local/src/PD/README.miket
#
# README for notes about builds of Public Domain packages.
#

Mon Jan 27 13:33:30 EST 1997 miket
* tcl7.6
configure -prefix=/tools/tcl7.6 -v --enable-gcc
make
gcc install didn;t install cpp. Back to drawing board on that
one...
completed gcc install.
configure -prefix=/tools/tcl7.6 -v --enable-gcc
make
make install
FAILED permissions problems also, mkdir needs -p
setenv PATH /tools/gcc/bin:$PATH
rehash
set ver=tcl7.6
set prefix=/tools/$ver
mkdir /u/local$prefix
ln -s /u/local$prefix $prefix
configure -prefix=$prefix -v --enable-gcc
make
make install
SUCCESS!!!!
#Looking through the DOC found I should run tests..
make test
SUCCESS!!!! All right. now.. on with the show.

Mon Jan 27 15:54:11 EST 1997
*tk
cd /u/local/src/PD/tk4.2/unix
set ver=tk4.2
set prefix=/tools/$ver
echo ./configure -prefix=$prefix -v --enable-gcc
--with-tcl=/tools/tcl
./configure -prefix=/tools/tk4.2 -v --enable-gcc
--with-tcl=/tools/tcl
FAILURE!!!!!
configure: error: There's no Makefile in /tools/tcl; perhaps
you
didn't specify the Tcl *build* directory (not the toplevel Tcl
directory) or you forgot to configure Tcl?
###
#wants with-tcl to be the src/build area. I don;t get it. But,
setting
#it to the build area works. I hope I don;t need to leave the
build area#lying around for other tcl stuff...
###
./configure -prefix=/tools/tk4.2 -v --enable-gcc
make ... 16:58:32
###SUCCESS!!!
make install
###SUCCESS!!!

working on tkined now ... 17:16:16 ...
set ver=scotty-2.1.5
set prefix=/tools/scotty-2.1.5
mkdir /u/local/tools/$ver
ln -s /u/local/tools/$ver /tools
./configure -prefix=/tools/scotty-2.1.5 -v --enable-gcc
FAILED...
configure: error: tkConfig.sh not found - use the
--with-tk-config option
./configure -prefix=/tools/scotty-2.1.5 -v --enable-gcc
--with-tcl-config=/tools/tcl7.6/lib/tclConfig.sh
FAILED!!!!!
./configure -prefix=/tools/scotty-2.1.5 -v --enable-gcc
--with-tcl-config=/tools/tcl7.6/lib --with-tk-config=/tools/tk4.2/lib
#Success!!!!!
make ... 17:36:27 ...
AAAAArrrrrrgggghhh!!! 17:40:25 ...
ld: /lib/libresolv.a(gethostnamadr.o): can't mixed pic and PIC
.o
*** Error code 4
make: Fatal error: Command failed for target `tnm.so'
####
# Need to get and build bind 4.9.5 to get libraries for tkined.
#
#Pulled down bind4.9.5 pulled down 4.9.4 too since directions
inf
port.notes refers to a line that didn;t make sense. Followed
port.notes
and copied bind res libraries to scotty/bind.libs
modifying Makefile TNM_OBJS to include bind res libraries
make ... 12:27:11 ...
#### FAILED AGAIN!!! Makeing more changes based on porting.notes
make ... 12:34:35 ... So far so good...
SUCCESS!!!! Tue Jan 28 12:36:15 EST 1997
make -n install >& foobar2 12:36pm
READMING through the output.
make install ... 1:08pm
make sinstall ... Tue Jan 28 13:11:24 EST 1997

Running tkined....
FAILURES!!!!!?>?!?!?!
tkined requires tk4.1 and tcl7.5
pulling down tk4.1 and tcl7.5
building tcl7.5
followong lessons learned above....
setenv PATH /tools/gcc/bin:$PATH
rehash
set ver=tcl7.5
set prefix=/tools/$ver
mkdir /u/local$prefix
ln -s /u/local$prefix $prefix
configure -prefix=$prefix -v --enable-gcc
make
make test
#### testing doesn;t complete. ignoring this #####
make -n install
make install
cd /tools ; rm tcl ; ln -s tcl7.5 tcl

building tk4.1
set ver=tk4.1
set prefix=/tools/$ver
./configure -prefix=/tools/tk4.2 -v --enable-gcc
mkdir /u/local$prefix
ln -s /u/local$prefix $prefix
make ... 14:56:52 ...
AAAARRRGGGggghhh!!!
check out the typo 5 lines up.
Starting again at 15:11:44 ...
echo starting at `date` >> buildlog ; ./configure
-prefix=$prefix -v --enable-gcc ; echo done configure at `date` >>
buildlog ; make ; echo done make at `date` >> buildlog ; make install ;
echo done make install at `date` >> buildlog
starting at Tue Jan 28 15:12:06 EST 1997
done configure at Tue Jan 28 15:12:54 EST 1997
done make at Tue Jan 28 15:21:58 EST 1997

now, back to scotty and tkined

make distclean at 15:27:11
[3:28pm]lexington(443)% ./configure -prefix=/tools/scotty-2.1.5
-v --enable-gcc --with-tcl-config=/tools/tcl/lib
--with-tk-config=/tools/tk/lib
[3:30pm]lexington(445)% date ; make >& makelog ; date
Tue Jan 28 15:30:38 EST 1997
Tue Jan 28 15:33:13 EST 1997
Making porting.notes mods to Makefile and including bind libs
[4:02pm]lexington(453)% date ; make > & makelog2 ; date
Tue Jan 28 16:03:13 EST 1997
Tue Jan 28 16:04:57 EST 1997
[4:04pm]lexington(454)% date ; make install >>& makelog3 ; date
Tue Jan 28 16:06:16 EST 1997
Tue Jan 28 16:08:01 EST 1997
lexington# date ; make sinstall >>& makelog3 ; date
Tue Jan 28 16:08:39 EST 1997
Tue Jan 28 16:08:40 EST 1997

My environment is thus:
Now, I run tkined and I get:
TCLLIBPATH=/tools/scotty/lib/tnm2.1.5 /tools/scotty/lib/tkined1.4.5
TNM_LIBRARY=/tools/scotty/lib/tnm
PATH=/tools/scotty/bin:/tools/tk/bin:/tools/tcl/bin:$PATH

I run tkined but the window is missing the tools menu.
Any help/hints greatly appreciated.

(For the curious, I poured through archives of comp.lang.tcl and the
tkined mailing list but couldn't find an answer. Same for the limited
FAQ.)

--
	Mike Thibodeau
	Network Architect
	Harris Miller Miller and Hanson Inc.
	15 New England Executive Park
	Burlington MA 01803
	Tel.(617)229-0707
	Fax.(617)229-7939
	miket@hmmh.com

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.