[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failure in building otcl-1.0a3 with tcl/tk 8.0.3
I'm interested in ns-2 and I need to build otcl-1.0a3 under my Red Hat Linux
5.2/Intel box having tcltk-8.0.3. I intend to build a otcl rpm package and
share my efforts with the ones interested. I installed (unpacked, configured,
built) the tcl/tk 8.0.3 src rpm and pointed via configure to the tree where tcl
resp. tk were built. The configure went well, AFAIK, but the build fails at
isArg.
The claim is the the struct arg does not have isArg (in 8.0.3 that is).
There is some kind of problem with the lines 771-773 in otcl.c:
#if TCL_MAJOR_VERSION >= 8
if (args->isArg)
#endif
Could you help me on this. I've seen that you're poking around, well I assume
it's you, in the otcl sources so I thought I could ask you.
TIA,
---
Christian J�nsson (MIME) E-mail: [email protected]
Division of Communication Systems Telephone: (+46) 13 31 81 05
Dep't of C^2 Warfare Tech. Telefax: (+46) 13 31 80 49
National Defence Research Est., SWEDEN Mobile: (+46) 70 575 61 06
Executing: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf otcl-1.0a3
+ /bin/gzip -dc /usr/src/redhat/SOURCES/otcl-1.0a3.tar.gz
+ tar -xvvf -
-rw-r--r-- yaxu/wheel 5779 1998-07-08 00:41 otcl-1.0a3/CHANGES.html
drwxr-xr-x Creating directory: otcl-1.0a3
-rw-r--r-- yaxu/wheel 3205 1998-07-08 02:23 otcl-1.0a3/Makefile.in
-rw-r--r-- yaxu/wheel 5978 1998-07-07 01:27 otcl-1.0a3/README.html
-rw-r--r-- yaxu/wheel 6 1998-07-08 01:30 otcl-1.0a3/VERSION
-rw-r--r-- yaxu/wheel 117 1998-07-07 01:27 otcl-1.0a3/conf/README
drwxr-xr-x Creating directory: otcl-1.0a3/conf
-rw-r--r-- yaxu/wheel 3993 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.Tcl
-rw-r--r-- yaxu/wheel 2214 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.TclCL
-rw-r--r-- yaxu/wheel 3420 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.audio
-rw-r--r-- yaxu/wheel 509 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.debugopts
-rw-r--r-- yaxu/wheel 630 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.des
-rw-r--r-- yaxu/wheel 827 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.dmalloc
-rw-r--r-- yaxu/wheel 9624 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.dynamic
-rw-r--r-- yaxu/wheel 5937 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.fns
-rw-r--r-- yaxu/wheel 3219 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.head
-rw-r--r-- yaxu/wheel 2368 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.mash
-rw-r--r-- yaxu/wheel 2080 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.misc
-rw-r--r-- yaxu/wheel 1084 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.otcl
-rw-r--r-- yaxu/wheel 1102 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.perl
-rw-r--r-- yaxu/wheel 759 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.psvp
-rw-r--r-- yaxu/wheel 2410 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.tail
-rw-r--r-- yaxu/wheel 5184 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.tcl
-rw-r--r-- yaxu/wheel 1165 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.tcldebug
-rw-r--r-- yaxu/wheel 5095 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.tk
-rw-r--r-- yaxu/wheel 6102 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.video
-rw-r--r-- yaxu/wheel 2233 1998-07-07 01:27 otcl-1.0a3/conf/configure.in.x11
-rwxr-xr-x yaxu/wheel 2643 1998-07-07 01:27 otcl-1.0a3/conf/mkdep
-rwxr-xr-x yaxu/wheel 13928 1998-07-07 01:27 otcl-1.0a3/config.guess
-rwxr-xr-x yaxu/wheel 17002 1998-07-07 01:27 otcl-1.0a3/config.sub
-rwxr-xr-x yaxu/wheel 89940 1998-07-07 01:27 otcl-1.0a3/configure
-rw-r--r-- yaxu/wheel 4761 1998-07-07 01:27 otcl-1.0a3/configure.in
-rw-r--r-- yaxu/wheel 4992 1998-07-07 01:27 otcl-1.0a3/doc/CHANGES.html
drwxr-xr-x Creating directory: otcl-1.0a3/doc
-rw-r--r-- yaxu/wheel 3672 1998-07-07 01:27 otcl-1.0a3/doc/autoload.html
-rw-r--r-- yaxu/wheel 8467 1998-07-07 01:27 otcl-1.0a3/doc/capi.html
-rw-r--r-- yaxu/wheel 13482 1998-07-07 01:27 otcl-1.0a3/doc/class.html
-rw-r--r-- yaxu/wheel 18594 1998-07-07 01:27 otcl-1.0a3/doc/object.html
-rw-r--r-- yaxu/wheel 714 1998-07-07 01:27 otcl-1.0a3/doc/otcl-paper.ps.gz
-rw-r--r-- yaxu/wheel 14395 1998-07-07 01:27 otcl-1.0a3/doc/tutorial.html
-rw-r--r-- yaxu/wheel 2186 1998-07-07 01:27 otcl-1.0a3/install-sh
-rw-r--r-- yaxu/wheel 12634 1998-07-07 01:27 otcl-1.0a3/lib/test.tcl
drwxr-xr-x Creating directory: otcl-1.0a3/lib
-rw-r--r-- yaxu/wheel 3612 1998-07-08 02:23 otcl-1.0a3/makefile.vc
-rw-r--r-- yaxu/wheel 64555 1998-07-07 01:27 otcl-1.0a3/otcl.c
-rw-r--r-- yaxu/wheel 2750 1998-07-07 01:27 otcl-1.0a3/otcl.h
-rw-r--r-- yaxu/wheel 6425 1998-07-07 01:27 otcl-1.0a3/otclAppInit.c
-rw-r--r-- yaxu/wheel 2691 1998-07-07 01:27 otcl-1.0a3/otkAppInit.c
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd otcl-1.0a3
+ chown -R root .
+ chgrp -R root .
+ chmod -R a+rX,g-w,o-w .
+ exit 0
Executing: %build
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd otcl-1.0a3
+ ./configure --prefix=/usr --with-tcl=/usr/src/redhat/BUILD/tcltk-8.0.3/tcl8.0.3 --with-tk=/usr/src/redhat/BUILD/tcltk-8.0.3/tk8.0.3 --enable-shared
creating cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i586-unknown-linux
checking target system type... i586-unknown-linux
checking build system type... i586-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for getnodebyname in -ldnet_stub... no
checking for tcl.h... -I/usr/src/redhat/BUILD/tcltk-8.0.3/tcl8.0.3/generic
checking for libtcl8.0... -L/usr/src/redhat/BUILD/tcltk-8.0.3/tcl8.0.3/unix -ltcl8.0
checking for init.tcl... /usr/src/redhat/BUILD/tcltk-8.0.3/tcl8.0.3/library
checking for tclsh8.0... tclsh8.0
checking for tk.h... -I/usr/src/redhat/BUILD/tcltk-8.0.3/tk8.0.3/generic
checking for libtk8.0... -L/usr/src/redhat/BUILD/tcltk-8.0.3/tk8.0.3/unix -ltk8.0
checking for tk.tcl... /usr/src/redhat/BUILD/tcltk-8.0.3/tk8.0.3/library
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... no
checking for libXext.a
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking system version (for dynamic loading)... Linux-2.0.36
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... yes
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ./gen
creating ./bin
+ make -k prefix=/usr
rm -f libotcl.a otcl.o
gcc -c -g -O2 -DNDEBUG -DUSE_SHM -I. -I/usr/src/redhat/BUILD/tcltk-8.0.3/tk8.0.3/generic -I/usr/src/redhat/BUILD/tcltk-8.0.3/tcl8.0.3/generic -I/usr/include otcl.c
otcl.c: In function `ListProcArgs':
otcl.c:772: structure has no member named `isArg'
make: *** [libotcl.a] Error 1
rm -f libotcl.so otcl.o so_locations
gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/usr/src/redhat/BUILD/tcltk-8.0.3/tk8.0.3/generic -I/usr/src/redhat/BUILD/tcltk-8.0.3/tcl8.0.3/generic -I/usr/include otcl.c
otcl.c: In function `ListProcArgs':
otcl.c:772: structure has no member named `isArg'
make: *** [libotcl.so] Error 1
make: Target `all' not remade because of errors.
Bad exit status from /var/tmp/rpm-tmp.76397 (%build)