Hello,
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Any suggestion on the way to manage my tclInt.h problem ? Does anyone have an rpm for fedora ?
Thanks in advance Alexandre
On Wed, 31 Mar 2004, Alexandre Dehne wrote:
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Well tclInt.h is internal Tcl stuff (unfortunately still required by XOTcl). Does Fedora have a Tcl source package? Would be in that.
I think Debian is now clever enough to include tclInt.h in the tcl dev package, although naturally the best would be if external packages no longer needed tclInt.h
Kristoffer Lawson wrote:
On Wed, 31 Mar 2004, Alexandre Dehne wrote:
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Well tclInt.h is internal Tcl stuff (unfortunately still required by XOTcl). Does Fedora have a Tcl source package? Would be in that.
I think Debian is now clever enough to include tclInt.h in the tcl dev package, although naturally the best would be if external packages no longer needed tclInt.h
Dear Kristoffer,
I don't understand your answer : do you mean that there should be no problem at all? But the file tclInt.h does not exist on alexander's disk although he has a tcl dev installed. Is there another source distribution for tcl dev? (sorry if this is not directly related to XOtcl, but is there a way to bypass this problem when compiling XOtcl?)
Many thanks,
-- Catherine Letondal -- Pasteur Institute Computing Center
Catherine Letondal wrote:
Kristoffer Lawson wrote:
On Wed, 31 Mar 2004, Alexandre Dehne wrote:
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Well tclInt.h is internal Tcl stuff (unfortunately still required by XOTcl). Does Fedora have a Tcl source package? Would be in that.
I think Debian is now clever enough to include tclInt.h in the tcl dev package, although naturally the best would be if external packages no longer needed tclInt.h
Dear Kristoffer,
I don't understand your answer : do you mean that there should be no problem at all? But the file tclInt.h does not exist on alexander's disk although he has a tcl dev installed. Is there another source distribution for tcl dev? (sorry if this is not directly related to XOtcl, but is there a way to bypass this problem when compiling XOtcl?)
The file he needs is in the source rpm for tcl, not inside the tcl-dev rpm. It is a header file internal to Tcl and not part of the public API that an extension should use. The tcl-dev rpm probably contains only the public part of the API headers, not the tcl private ones.
This is reasonable, but a problem for extensions integrating very closely with Tcl (like XOTcl, Tk and some others).They can only be built successful against a Tcl build directory, not against an installed Tcl, unless the missing private Header files are put in the appropriate places.
So what he can do to get this to work: 1. Get the Tcl source rpm for his installed Tcl version. 2. unpack it, to get at the source and extract generic/tclInt.h to a location where it can be found by the XOTcl build. 3. Build XOTcl
Michael
On Thu, 1 Apr 2004, Catherine Letondal wrote:
Kristoffer Lawson wrote:
On Wed, 31 Mar 2004, Alexandre Dehne wrote:
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Well tclInt.h is internal Tcl stuff (unfortunately still required by XOTcl). Does Fedora have a Tcl source package? Would be in that.
I think Debian is now clever enough to include tclInt.h in the tcl dev package, although naturally the best would be if external packages no longer needed tclInt.h
Dear Kristoffer,
I don't understand your answer : do you mean that there should be no problem at all? But the file tclInt.h does not exist on alexander's disk although he has a tcl dev installed.
The second paragraph was about Debian, not Fedora. On Debian I believe tclInt.h is now included in the dev package. With Fedora I guess he has to install the source. With any luck, Fedora may have source packages for Tcl in addition to the normal dev package, but I'm not familiar with it.
Hi,
you shouldn't have to install/uninstall Tcl ... first check whether the XOTcl RPM works for you. If not, you can get the Tcl version that is installed on your system, unpack it and run
./configure --prefix=/usr --exec-prefix=/usr
there. Perhaps you need make as well. Now you can compile XOTcl against these sources and only install XOTcl ...
Uwe
Alexandre Dehne wrote:
Hello,
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Any suggestion on the way to manage my tclInt.h problem ? Does anyone have an rpm for fedora ?
Thanks in advance Alexandre
Xotcl mailing list - Xotcl@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
Am Mittwoch, 31. März 2004 19:35 schrieb Alexandre Dehne:
Hello,
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Any suggestion on the way to manage my tclInt.h problem ? Does anyone have an rpm for fedora ?
Thanks in advance Alexandre
Xotcl mailing list - Xotcl@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
I know this problem from old RedHat The fastest solution is to get the source (watch proper Tcl Version) from http://sourceforge.net/projects/tcl/ unpack (untar) the sources. copy tclInt.h and tclIntDecls.h (I think it is enough) from generic directory into directory there tcl.h ist (I suppose /usr/include) You should compile it without problems.
It is also possible (and easier) to include tclInt.h path by setting env-variable. It this example the is tcl8.3.3 unpacked
export C_INCLUDE_PATH=~/tcl8.3.3/generic ./configure --with-tcl=/usr/lib --with-tk=/usr/lib make
If fedora still use 8.3 I suggest to build new tcl/tk 8.4.6 by yourself. It is not so difficult.
Artur Trzewik
Hi,
First, thank you all for answering me !
I first try to install the rpm xotcl-1.2.0-0.i386.rpm but fedora return that this was not an available rpm package...? The rpm xotcl-1.1.0-0.i386.rpm is recognized as an available rpm package but was not accepted by fedora.
So, I copy tclInt.h and tclIntDecls.h files from the correponding sources of my distribution to the /usr/include directory and next configure and compile XOTcl without any problem.
Alexandre
On Thu, 2004-04-01 at 18:02, Artur Trzewik wrote:
Am Mittwoch, 31. März 2004 19:35 schrieb Alexandre Dehne:
Hello,
In order to use biok, I have to install xotcl. My problem with xotcl installation is that my system is under Fedora and there is no tclInt.h file under this distribution (even with the tcl-devel package). Of course, I can uninstall the tcl package and install tcl manually but, by uninstalling tcl package, other packages are going out and that put me in trouble ...
Any suggestion on the way to manage my tclInt.h problem ? Does anyone have an rpm for fedora ?
Thanks in advance Alexandre
Xotcl mailing list - Xotcl@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
I know this problem from old RedHat The fastest solution is to get the source (watch proper Tcl Version) from http://sourceforge.net/projects/tcl/ unpack (untar) the sources. copy tclInt.h and tclIntDecls.h (I think it is enough) from generic directory into directory there tcl.h ist (I suppose /usr/include) You should compile it without problems.
It is also possible (and easier) to include tclInt.h path by setting env-variable. It this example the is tcl8.3.3 unpacked
export C_INCLUDE_PATH=~/tcl8.3.3/generic ./configure --with-tcl=/usr/lib --with-tk=/usr/lib make
If fedora still use 8.3 I suggest to build new tcl/tk 8.4.6 by yourself. It is not so difficult.
Artur Trzewik
Xotcl mailing list - Xotcl@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
On Friday 02 April 2004 09:54, Alexandre Dehne wrote:
Hi,
First, thank you all for answering me !
I first try to install the rpm xotcl-1.2.0-0.i386.rpm but fedora return that this was not an available rpm package...? The rpm xotcl-1.1.0-0.i386.rpm is recognized as an available rpm package but was not accepted by fedora.
hmm, just being under FC 1.0 (Yarrow)
rpm -qpl xotcl-1.2.0-0.i386.rpm
returns the content of the rpm-archive. Can it be that your download of the rpm binary was incomplete?
md5sum xotcl-1.2.0-0.i386.rpm
00a8c360a8b02f0e4fb44a0d6f47cbaf xotcl-1.2.0-0.i386.rpm
ls -l xotcl-1.2.0-0.i386.rpm -rw-r--r-- 1 neumann neumann 1764951 Feb 21 16:47 xotcl-1.2.0-0.i386.rpm
So, I copy tclInt.h and tclIntDecls.h files from the correponding sources of my distribution to the /usr/include directory and next configure and compile XOTcl without any problem.
as others pointed out, when you want to compile the src rpm file of xotcl, you should install the appropriate tcl src rpm file on your machine, then it should work. This is at least the way, i built the xotcl binary on our system.
best regards -gustaf neumann