[Xotcl] Re: xotcl 1.1.0, tcl/tk 8.4.4 and freebsd 4.9 are not happy with each other

Gustaf Neumann neumann at wu-wien.ac.at
Sun Nov 30 10:14:12 CET 2003


 Hi Marc,

 to honor --with-tkinclude, a special rule in unix/Makefile.in was needed for the
 compilation of tkAppInit, which is in turn needed for building xowish, which is
 deprecated and only in the distro to keep our "old" users happy. The recommended
 loading of xotcl is to use:

    package req XOTcl
    namespace import ::xotcl::*

 This is for the tclsh and for wish the same.

 My guess is that your interest was not in particular to compile xowish,
 but to check, whether everything compiles correctly on your system, 
 and therefore you used --with-all in confiigure. Maybe we should overthink
 the setup of this rule in future versions.

 anyhow, i have imply updated the xotcl-1.1.0 tar file on www.xotcl.org since this
 build change does not effect most users.

 all the best 
-gustaf

PS: from today noon until monday evening, i'll be in germany in a meeting 
 with no or bad internet access.

On Sunday 30 November 2003 02:42, Marc Spitzer wrote:
> I have attached a log of my build, just incase I am missing something.
> The --with-tkinclude=/usr/local/include/tk8.4/generic from configure does
> not seem to be getting to the CC line as a -I directive:
>
> cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DVERSION=\"1.1\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_UNISTD_H=1 -DCOMPILE_XOTCL_STUBS=1         -DTCL_SHLIB_EXT=\".so\"
> -I/usr/ports/lang/tcl84/work/tcl8.4.4/generic
> -I/usr/ports/lang/tcl84/work/tcl8.4.4/unix -I"./../generic" -I"./../unix"
> -I/usr/local/include/tcl8.4/generic     -O  -fPIC -g -DXOTCLVERSION=\"1.1\"
> -DXOTCLPATCHLEVEL=\".0\"  -c `echo ../unix/tkAppInit.c` -o o/tkAppInit.o
> ../unix/tkAppInit.c:19: tk.h: No such file or directory
> gmake: *** [o/tkAppInit.o] Error 1
>
> Thanks
>
> marc

-- 
Univ.Prof. Dr.Gustaf Neumann
Abteilung für Wirtschaftsinformatik
WU-Wien, Augasse 2-6, 1090 Wien



More information about the Xotcl mailing list