[rtg] Compiling RTG
John Center
john.center at villanova.edu
Wed Apr 15 16:36:29 EDT 2009
Hi,
I've been trying to compile the version of rtg from Google, but I'm not
having much success. I'm using the latest version of GNU autotools. I
first couldn't get configure to run to completion, so I ran autoupdate
to update the various macros. I next ran autoreconf -if. Once I did
this, configure would successfully run. When I ran make, however, I get
the following errors:
Making all in cgilib-0.4
gmake[1]: Entering directory `/opt/ws/builds/rtg/rtg2/cgilib-0.4'
source='cgi.c' object='cgi.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
cc -xc99 -DHAVE_CONFIG_H -I. -I../config -I/opt/openssl/include
-I/opt/postgres/include -I/opt/mysql/include -I/opt/gnu/include
-I/opt/local/include -I/usr/sfw/include -I/usr/include -I/usr//include
-I/opt/local//include -I -I/opt/mysql/include
-I/opt/local//include/net-snmp -I/opt/local//include/net-snmp/.. -g -xs
-fast -fsimple=1 -fns=no -xtarget=ultraT1 -xarch=sparcvis2 -m64 -mt
-xipo -xcode=pic32 -xpagesize=default -xregs=no%appl -xlic_lib=sunperf
-c cgi.c
"cgi.c", line 82: warning: implicit function declaration: bzero
"cgi.c", line 180: warning: implicit function declaration: index
rm -f libcgi.a
ar cru libcgi.a cgi.o
ranlib libcgi.a
gmake[1]: Leaving directory `/opt/ws/builds/rtg/rtg2/cgilib-0.4'
Making all in src
gmake[1]: Entering directory `/opt/ws/builds/rtg/rtg2/src'
/bin/bash ../config/ylwrap rtgtarg.y y.tab.c rtgtarg.c y.tab.h rtgtarg.h
y.output rtgtarg.output -- bison -y -d
updating rtgtarg.h
/usr/sfw/bin/gmake all-am
gmake[2]: Entering directory `/opt/ws/builds/rtg/rtg2/src'
source='librtgmysql.c' object='librtgmysql.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --mode=compile cc -xc99 -DHAVE_CONFIG_H -I.
-I../config -I../cgilib-0.4 -I/opt/openssl/include
-I/opt/postgres/include -I/opt/mysql/include -I/opt/gnu/include
-I/opt/local/include -I/usr/sfw/include -I/usr/include -I/usr//include
-I/opt/local//include -I -I/opt/mysql/include
-I/opt/local//include/net-snmp -I/opt/local//include/net-snmp/.. -g -xs
-fast -fsimple=1 -fns=no -xtarget=ultraT1 -xarch=sparcvis2 -m64 -mt
-xipo -xcode=pic32 -xpagesize=default -xregs=no%appl -xlic_lib=sunperf
-c -o librtgmysql.lo librtgmysql.c
../libtool: line 401: CDPATH: command not found
../libtool: line 1079: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
gmake[2]: *** [librtgmysql.lo] Error 63
gmake[2]: Leaving directory `/opt/ws/builds/rtg/rtg2/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/ws/builds/rtg/rtg2/src'
gmake: *** [all-recursive] Error 1
Notice that it successfully built libcgi.a, but blows up when trying to
compile librtgmysql. I don't understand the "command not found"
messages, since CDPATH is an environment variable & line 401 is
$lt_unset CDPATH & func_opt_split is a macro defined in libtool.m4. I
also don't understand the message about recreating aclocal.m4, since the
steps I took do recreate it.
Any help would be greatly appreciated.
Thanks.
-John
--
John Center
Villanova University
More information about the RTG
mailing list