No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] installation on fedora
From: Michael Schlenker <schlenk_at_uni-oldenburg.de>
Date: Thu, 01 Apr 2004 10:13:06 +0200
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
Date: Thu, 01 Apr 2004 10:13:06 +0200
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