Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Nicholas on May 31, 2002, 09:15:51 PM
-
How to install TclX to SME 5.1.2
-
Hi,
Is that a question or a contribution...;-)
-
this is a question
-
Ok Nicholas ;-) Can you provide a URL where TcIX is located?
Regards,
guestHH
-
I recently try to install a software called halfd from www.halfd.org, it is a server management tool for Linux half-life servers, this software need tcl,tk(if X windows is installed) and tclX installed to be able to run, I have installed the tcl using the rpm package, and conpiled the source code of tclX and install, everything seems ok, but I can not get halfd to work.
to run halfd I use the following command:
halfd -g cstrike &
I get this error:
tcl: error while loading shared libraries: libtclx8.2.so: cannot open shared object file: No such file of directory
but I can find libtclx8.2.so in /usr/local/lib, can you tell me what is wrong? please.
please also note that I have installed cpp-2.96-85.i386.rpm, gcc-2.96-85.i386.rpm, gcc-c++-2.96-85.i386.rpm, glibc-devel-2.2.4-19.i386.rpm, libstdc++-devel-2.96-85.i386.rpm, make-3.79.1-5.i386.rpm and kernel-headers-2.4.9-31.i386.rpm from ( http://www.myezserver.com/downloads/mitel/contrib/dev-tools/) in order to compile tclX.
the instruction on how to install tcl/tk and tclX from www.halfd.org are listed below:
This document explains how to install Tcl/Tk/TclX from the source code provided on the download page.
First, download the Tcl, TclX, an (optionally) the Tk source trees. Don't download Tk if you don't have X-windows installed on your server.
The only thing you won't be able to do without X installed is run the client GUIs on the server. You can still use the client GUIs on another machine.
Put the tar files in your /tmp directory and run the following commands:
mkdir tcl-build
cd tcl-build
tar zxvf ../tcl8.3.3.tar.gz
tar zxvf ../tk8.3.3.tar.gz (skip if you don't have X-windows installed)
tar zxvf ../tclX8.2.0.tar.gz
Now we'll compile the source code and install. The default is to install things in /usr/local. Make sure you have write permission to this directory!
If you want to install somewhere else, change the "prefix" directives.
First, build and install Tcl:
cd tcl8.3.3/unix
./configure --prefix=/usr/local
make
make install
Now, build and install Tk.
(Skip this entire step if you don't have X-windows installed)
cd ../../tk8.3.3/unix
./configure --prefix=/usr/local
make
make install
Finally, build and install TclX:
cd ../../tclX8.2.0/unix
If you don't have X-Windows installed:
./configure --with-tcl=your-build-path/tcl8.3.3/unix --enable-tk=NO --prefix=/usr/local --exec-prefix=/usr/local
Otherwise, use this command:
./configure --with-tcl=../../tcl8.3.3/unix --with-tk=../../tk8.3.3/unix --prefix=/usr/local --exec-prefix=/usr/local
NB: I had some trouble with this on my box, so I went with the --enable-tk=NO option.
make
make test (very optional)
make install
That's it! Now run the halfd install script, it should find TclX and install halfd for you.
-
tclX requires X, which is not installled under SME. It is a server implementation without GUI. If there is a console version I would suggest loading this.
Trevor B
Nicholas wrote:
>
> I recently try to install a software called halfd from
> www.halfd.org, it is a server management tool for Linux
> half-life servers, this software need tcl,tk(if X windows is
> installed) and tclX installed to be able to run, I have
> installed the tcl using the rpm package, and conpiled the
> source code of tclX and install, everything seems ok, but I
> can not get halfd to work.
>
> to run halfd I use the following command:
> halfd -g cstrike &
>
> I get this error:
> tcl: error while loading shared libraries: libtclx8.2.so:
> cannot open shared object file: No such file of directory
>
> but I can find libtclx8.2.so in /usr/local/lib, can you tell
> me what is wrong? please.
>
> please also note that I have installed cpp-2.96-85.i386.rpm,
> gcc-2.96-85.i386.rpm, gcc-c++-2.96-85.i386.rpm,
> glibc-devel-2.2.4-19.i386.rpm,
> libstdc++-devel-2.96-85.i386.rpm, make-3.79.1-5.i386.rpm and
> kernel-headers-2.4.9-31.i386.rpm from (
> http://www.myezserver.com/downloads/mitel/contrib/dev-tools/)
> in order to compile tclX.
>
> the instruction on how to install tcl/tk and tclX from
> www.halfd.org are listed below:
>
> This document explains how to install Tcl/Tk/TclX from the
> source code provided on the download page.
>
> First, download the Tcl, TclX, an (optionally) the Tk source
> trees. Don't download Tk if you don't have X-windows
> installed on your server.
>
> The only thing you won't be able to do without X installed is
> run the client GUIs on the server. You can still use the
> client GUIs on another machine.
>
> Put the tar files in your /tmp directory and run the
> following commands:
>
> mkdir tcl-build
> cd tcl-build
> tar zxvf ../tcl8.3.3.tar.gz
> tar zxvf ../tk8.3.3.tar.gz (skip if you don't have X-windows
> installed)
> tar zxvf ../tclX8.2.0.tar.gz
>
> Now we'll compile the source code and install. The default is
> to install things in /usr/local. Make sure you have write
> permission to this directory!
> If you want to install somewhere else, change the "prefix"
> directives.
>
> First, build and install Tcl:
>
> cd tcl8.3.3/unix
> ./configure --prefix=/usr/local
> make
> make install
>
> Now, build and install Tk.
> (Skip this entire step if you don't have X-windows installed)
>
> cd ../../tk8.3.3/unix
> ./configure --prefix=/usr/local
> make
> make install
>
> Finally, build and install TclX:
>
> cd ../../tclX8.2.0/unix
>
> If you don't have X-Windows installed:
> ./configure --with-tcl=your-build-path/tcl8.3.3/unix
> --enable-tk=NO --prefix=/usr/local --exec-prefix=/usr/local
>
> Otherwise, use this command:
> ./configure --with-tcl=../../tcl8.3.3/unix
> --with-tk=../../tk8.3.3/unix --prefix=/usr/local
> --exec-prefix=/usr/local
> NB: I had some trouble with this on my box, so I went with
> the --enable-tk=NO option.
>
> make
> make test (very optional)
> make install
>
> That's it! Now run the halfd install script, it should find
> TclX and install halfd for you.
-
Pardon me.
I've just read your post fully and I now assume that you did not try to install Tk.
Rather than go through the agony of compiling it yourself, have you tried using a RedHat rpm?
Trevor B
Sorry for the last post (RTFM - Read The Full Message)
Trevor B wrote:
>
> tclX requires X, which is not installled under SME. It is a
> server implementation without GUI. If there is a console
> version I would suggest loading this.
>
> Trevor B
>
> Nicholas wrote:
> >
> > I recently try to install a software called halfd from
> > www.halfd.org, it is a server management tool for Linux
> > half-life servers, this software need tcl,tk(if X windows is
> > installed) and tclX installed to be able to run, I have
> > installed the tcl using the rpm package, and conpiled the
> > source code of tclX and install, everything seems ok, but I
> > can not get halfd to work.
> >
> > to run halfd I use the following command:
> > halfd -g cstrike &
> >
> > I get this error:
> > tcl: error while loading shared libraries: libtclx8.2.so:
> > cannot open shared object file: No such file of directory
> >
> > but I can find libtclx8.2.so in /usr/local/lib, can you tell
> > me what is wrong? please.
> >
> > please also note that I have installed cpp-2.96-85.i386.rpm,
> > gcc-2.96-85.i386.rpm, gcc-c++-2.96-85.i386.rpm,
> > glibc-devel-2.2.4-19.i386.rpm,
> > libstdc++-devel-2.96-85.i386.rpm, make-3.79.1-5.i386.rpm and
> > kernel-headers-2.4.9-31.i386.rpm from (
> > http://www.myezserver.com/downloads/mitel/contrib/dev-tools/)
> > in order to compile tclX.
> >
> > the instruction on how to install tcl/tk and tclX from
> > www.halfd.org are listed below:
> >
> > This document explains how to install Tcl/Tk/TclX from the
> > source code provided on the download page.
> >
> > First, download the Tcl, TclX, an (optionally) the Tk source
> > trees. Don't download Tk if you don't have X-windows
> > installed on your server.
> >
> > The only thing you won't be able to do without X installed is
> > run the client GUIs on the server. You can still use the
> > client GUIs on another machine.
> >
> > Put the tar files in your /tmp directory and run the
> > following commands:
> >
> > mkdir tcl-build
> > cd tcl-build
> > tar zxvf ../tcl8.3.3.tar.gz
> > tar zxvf ../tk8.3.3.tar.gz (skip if you don't have X-windows
> > installed)
> > tar zxvf ../tclX8.2.0.tar.gz
> >
> > Now we'll compile the source code and install. The default is
> > to install things in /usr/local. Make sure you have write
> > permission to this directory!
> > If you want to install somewhere else, change the "prefix"
> > directives.
> >
> > First, build and install Tcl:
> >
> > cd tcl8.3.3/unix
> > ./configure --prefix=/usr/local
> > make
> > make install
> >
> > Now, build and install Tk.
> > (Skip this entire step if you don't have X-windows
> installed)
> >
> > cd ../../tk8.3.3/unix
> > ./configure --prefix=/usr/local
> > make
> > make install
> >
> > Finally, build and install TclX:
> >
> > cd ../../tclX8.2.0/unix
> >
> > If you don't have X-Windows installed:
> > ./configure --with-tcl=your-build-path/tcl8.3.3/unix
> > --enable-tk=NO --prefix=/usr/local --exec-prefix=/usr/local
> >
> > Otherwise, use this command:
> > ./configure --with-tcl=../../tcl8.3.3/unix
> > --with-tk=../../tk8.3.3/unix --prefix=/usr/local
> > --exec-prefix=/usr/local
> > NB: I had some trouble with this on my box, so I went with
> > the --enable-tk=NO option.
> >
> > make
> > make test (very optional)
> > make install
> >
> > That's it! Now run the halfd install script, it should find
> > TclX and install halfd for you.
-
I have solved the problem by installing Red Hat rpm. Thanks.