From: Kevin W. <sw...@wo...> - 2005-10-05 19:08:56
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm trying to build tclcompiler, tcbload, et. al on my own. I see nothing that should prevent a successful build as the sources are unpatched (except for the README) from the Tcl/Tk Aqua distro, but I keep getting errors. Here is what I see from tclcompiler: cmpWPkg.c:15:20: error: cmpInt.h: No such file or directory This is the output when I build against the framework Tcl/Tk or just the standard Unix Tcl in /usr/. Are there any flags I can append to configure or make so that it will find cmpInt.h? Also, trying to build tbcload yields similar errors: cmpInt.h:22:21: error: tclInt.h: No such file or directory cmpInt.h:23:22: error: tclPort.h: No such file or directory cmpInt.h:24:25: error: tclCompile.h: No such file or directory Have not yet tried with parser. - -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDRCS7JmdQs+6YVcoRAgAvAJ9rxocMbMIy6xDZ00vCyIHPE0sB0ACfR/MJ 26P5UaUo6qym8NljseMjOe4= =hujQ -----END PGP SIGNATURE----- |
From: Alastair D. <ala...@al...> - 2005-12-05 11:21:23
|
The missing file cmpInt.h is shared between the compiler and loader packages. It is in the CVS tree only within the tbcload module, and not within the tclcompiler module. Pragmatically, one can copy the file from one module to the other, in order to build the compiler package. Alternatively, the configure flag "--includedir=/path/to/tbcload" can be added. The full command line I used for tbcload was: ./configure --prefix=/usr/local --libdir=/Library/Tcl --with-tcl=/Library/Frameworks/Tcl.framework --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers --enable-threads and for tclcompiler was: ./configure --prefix=/usr/local --libdir=/Library/Tcl --with-tcl=/Library/Frameworks/Tcl.framework --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers --enable-threads --includedir=/Users/alastair/tcltk/tclpro/tbcload/ On my computer, I have built and installed Tcl from source, so the above tclConfig.sh refers to the sources present on my computer. (If this is not the case, I think there would need to be a reference to the PrivateHeaders folder as well. Alternatively, again pragmatically speaking, one could simply copy the files in the PrivateHeaders folder into the Headers folder, where the above command line will locate them.) With the sources in the CVS tree at present, it appears to me that there is a discrepancy in the version number of cmpInt.h (CMP_VERSION=1.4.0) and that in the configure script (PACKAGE_VERSION=1.5), but I may be wrong about this. The resulting library looks like tclcompiler1.5 but loads as 1.4, with a warning error message. Hope this helps. Kind regards, Alastair Kevin Walzer wrote: > Hello, > > I'm trying to build tclcompiler, tcbload, et. al on my own. I see > nothing that should prevent a successful build as the sources are > unpatched (except for the README) from the Tcl/Tk Aqua distro, but I > keep getting errors. Here is what I see from tclcompiler: > > cmpWPkg.c:15:20: error: cmpInt.h: No such file or directory > > This is the output when I build against the framework Tcl/Tk or just the > standard Unix Tcl in /usr/. > > Are there any flags I can append to configure or make so that it will > find cmpInt.h? > > Also, trying to build tbcload yields similar errors: > > cmpInt.h:22:21: error: tclInt.h: No such file or directory > cmpInt.h:23:22: error: tclPort.h: No such file or directory > cmpInt.h:24:25: error: tclCompile.h: No such file or directory > > Have not yet tried with parser. > > - -- > Cheers, > > Kevin Walzer, PhD > WordTech Software - "Tame the Terminal" > http://www.wordtech-software.com > sw at wordtech-software.com |
From: Kevin W. <sw...@wo...> - 2005-12-06 11:43:08
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alastair Davies wrote: > The missing file cmpInt.h is shared between the compiler and loader > packages. It is in the CVS tree only within the tbcload module, and not > within the tclcompiler module. Pragmatically, one can copy the file > from one module to the other, in order to build the compiler package. > Alternatively, the configure flag "--includedir=/path/to/tbcload" can be > added. > > The full command line I used for tbcload was: > > ./configure --prefix=/usr/local --libdir=/Library/Tcl > --with-tcl=/Library/Frameworks/Tcl.framework > --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers > --enable-threads > > and for tclcompiler was: > > ./configure --prefix=/usr/local --libdir=/Library/Tcl > --with-tcl=/Library/Frameworks/Tcl.framework > --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers > --enable-threads --includedir=/Users/alastair/tcltk/tclpro/tbcload/ > > On my computer, I have built and installed Tcl from source, so the above > tclConfig.sh refers to the sources present on my computer. (If this is > not the case, I think there would need to be a reference to the > PrivateHeaders folder as well. Alternatively, again pragmatically > speaking, one could simply copy the files in the PrivateHeaders folder > into the Headers folder, where the above command line will locate them.) > > With the sources in the CVS tree at present, it appears to me that there > is a discrepancy in the version number of cmpInt.h (CMP_VERSION=1.4.0) > and that in the configure script (PACKAGE_VERSION=1.5), but I may be > wrong about this. The resulting library looks like tclcompiler1.5 but > loads as 1.4, with a warning error message. > > Hope this helps. > > Kind regards, > Alastair > > > Kevin Walzer wrote: >> Hello, >> >> I'm trying to build tclcompiler, tcbload, et. al on my own. I see >> nothing that should prevent a successful build as the sources are >> unpatched (except for the README) from the Tcl/Tk Aqua distro, but I >> keep getting errors. Here is what I see from tclcompiler: >> >> cmpWPkg.c:15:20: error: cmpInt.h: No such file or directory >> >> This is the output when I build against the framework Tcl/Tk or just the >> standard Unix Tcl in /usr/. >> >> Are there any flags I can append to configure or make so that it will >> find cmpInt.h? >> >> Also, trying to build tbcload yields similar errors: >> >> cmpInt.h:22:21: error: tclInt.h: No such file or directory >> cmpInt.h:23:22: error: tclPort.h: No such file or directory >> cmpInt.h:24:25: error: tclCompile.h: No such file or directory >> >> Have not yet tried with parser. >> >> - -- >> Cheers, >> >> Kevin Walzer, PhD >> WordTech Software - "Tame the Terminal" >> http://www.wordtech-software.com >> sw at wordtech-software.com > > Alastair, Thank you! I will review these instructions carefully. - -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDlXlFJmdQs+6YVcoRAlazAJkBDn23Fgu0Dm/SFUq5BR4jdDePhACeOxOH ao1w1njK6/VcuNLwxrTNi8Y= =3fGm -----END PGP SIGNATURE----- |