Home > Archive > Tcl > October 2006 > aolserver compile errors pasted, configure works, make install bombenz!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
aolserver compile errors pasted, configure works, make install bombenz!
|
|
| gavino 2006-10-31, 7:07 pm |
| [root@avo bin]# rpm -qa|grep -i gcc
libgcc-3.2.3-53
gcc-3.2.3-53
[root@avo bin]# uname -a
Linux avo 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686
i386 GNU/Linux
[root@avo bin]#
hangeLog configure examples lib man nscp
nsext nsperm nsssl nszlib tcl
[root@avo aolserver]# ./configure --prefix=/usr/local/aolserver
--with-tcl=/usr/local/aolserver/lib/
checking for Tcl configuration... found
/usr/local/aolserver/lib/tclConfig.sh
checking for existence of /usr/local/aolserver/lib/tclConfig.sh...
loading
checking for build with symbols... no
checking for gcc... gcc -pipe
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -pipe accepts -g... yes
checking for gcc -pipe option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -pipe -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for timegm... yes
checking for fork1... no
checking for drand48... yes
checking for random... yes
checking for _NSGetEnviron... no
checking for poll... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking need for dup high... no
checking for shared libgcc... yes
checking for getaddrinfo in -lsocket... no
checking for getnameinfo in -lsocket... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
configure: creating ./config.status
config.status: creating include/ns.mak
[root@avo aolserver]# make install
../util/nsmakeall.tcl install nsthread nsd nstclsh
../util/nsmakeall.tcl: line 48: syntax error near unexpected token `}'
../util/nsmakeall.tcl: line 48: `}'
make: *** [install-bins] Error 2
[root@avo aolserver]# make install --prefix=/usr/local/aolserver
--with-tcl=/usr/local/aolserver/lib/
make: unrecognized option `--prefix=/usr/local/aolserver'
make: unrecognized option `--with-tcl=/usr/local/aolserver/lib/'
| |
| gavino 2006-10-31, 7:07 pm |
| ok got a tad further
http://openacs.org/forums/message-v...ssage_id=457933
3: Re: AOLserver 4.5 (response to 1)
Posted by Malte Sussdorff on 29 Jun 2006 12:56 AM
edit include/ns.mak and set the path to the tclsh binary (usually
/usr/local/bin/tclsh8.4).
did this then ran make install from /usr/local/aolserver
lots of text:
error.c:37: warning: `RCSID' defined but not used #repeated 10 times
or so
pthread.c:901: warning: implicit declaration of function
`pthread_getattr_np'
gmake[1]: *** [install-dll] Error 9
gmake[1]: Leaving directory `/usr/local/aolserver/nsthread'
make: *** [install-bins] Error 1
yikes
| |
| Eckhard Lehmann 2006-10-31, 7:07 pm |
|
gavino wrote:
> ok got a tad further
>
> http://openacs.org/forums/message-v...ssage_id=457933
>
> 3: Re: AOLserver 4.5 (response to 1)
> Posted by Malte Sussdorff on 29 Jun 2006 12:56 AM
> edit include/ns.mak and set the path to the tclsh binary (usually
> /usr/local/bin/tclsh8.4).
>
> did this then ran make install from /usr/local/aolserver
> lots of text:
Run './configure --help' and read it's output. Somewhere in there
you'll find, that the --prefix option specifies *where* the root
directory of your package will be installed. By default this is
/usr/local - which mostly is fine. In your case, you would install it
to /usr/local/aolserver, which results in a directory
/usr/local/aolserver/aolserver. Do you want this?
You'll find that --with-tcl has to point to a directory containing
tclConfig.sh. This is installed when you install the dev package for
Tcl that comes with your distribution (named tcl-dev or similar). Look
it up somewhere in /usr/lib/ or /usr/lib/tcl* and specify its directory
as --with-tcl.
It doesn't matter where the aolserver sources live. This is completely
independent from where AOLserver will be installed later.
Since AOLserver is built with threads support, you need pthreads and
pthreads-dev installed
I don't know whether it is a RedHad issue? On debian sarge, it compiles
fine...
Eckhard
|
|
|
|
|