From: KEVIN Z. <KZE...@jh...> - 2003-07-14 20:36:07
|
I've been able to successfully connect to the CVS server and get mdbtools, = but I get these errors when I try to compile it: www:~# su - kevinz kevinz@www:~$ cd mdbtools kevinz@www:~/mdbtools$ ./autogen.sh --enable-sql --with-unixodbc=3D/usr/loc= al processing . Running libtoolize... You should add the contents of `/usr/share/aclocal/libtool.m4' to = `aclocal.m4'. Running aclocal ... Running autoheader... configure.in:21: warning: AC_TRY_RUN called without default to allow cross = compiling Running automake --gnu ... Running autoconf ... configure.in:21: warning: AC_TRY_RUN called without default to allow cross = compiling autoconf: Undefined macros: configure.in:107:AC_CONFIG_FILES([src/Makefile]) Running ./configure --enable-sql --with-unixodbc=3D/usr/local ... <snip> checking for GLIB - version >=3D 2.0.0... yes (version 2.0.1) checking for libglade-2.0 libgnomeui-2.0... Package libgnomeui-2.0 was not = found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found ./configure: line 6350: syntax error near unexpected token `AC_CONFIG_FILES= (src/Makefile)' ./configure: line 6350: `AC_CONFIG_FILES(src/Makefile)' kevinz@www:~/mdbtools$=20 Yet, I have libgnomeui, I think: www:~# apt-cache search libgnomeui libgnome-perl - Perl module for the gnome and zvt libraries. libgnomeui32 - The Gnome libraries (User Interface) www:~# apt-get install libgnomeui32 Sorry, libgnomeui32 is already the newest version. www:~# apt-get install libgnome-perl Sorry, libgnome-perl is already the newest version. Although, I don't seem to have the specific file mentioned: www:~# find / -name "libgnomeui*" =20 /var/cache/apt/archives/libgnomeui32_1.4.1.4-3_i386.deb /var/lib/dpkg/info/libgnomeui32.shlibs /var/lib/dpkg/info/libgnomeui32.list /var/lib/dpkg/info/libgnomeui32.postinst /var/lib/dpkg/info/libgnomeui32.prerm /var/lib/dpkg/info/libgnomeui32.postrm /var/lib/dpkg/info/libgnomeui32.md5sums /usr/share/doc/libgnomeui32 /usr/doc/libgnomeui32 /usr/lib/libgnomeui.so.32.14.1 /usr/lib/libgnomeui.so.32 www:~#=20 I don't use Gnome on this box, it's a server, which I don't even think has = X on it. I do everything from the command line on it. Next, I tried buiding it from the 0.5rc2 source tarball. I have been = successful doing this previously, However, I've never used the '--with-unix= odbc' option yet. When I did, the make ended with: Making all in odbc make[2]: Entering directory `/home/kevinz/mdbtools-0.5rc2/src/odbc' source=3D'odbc.c' object=3D'odbc.lo' libtool=3Dyes \ depfile=3D'.deps/odbc.Plo' tmpdepfile=3D'.deps/odbc.TPlo' \ depmode=3Dgcc /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=3Dcompile gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_= TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_B= UGREPORT=3D\"\" -DPACKAGE=3D\"mdbtools\" -DVERSION=3D\"0.5rc2\" -DSTDC_HEAD= ERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 = -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPE= S_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 = -DYYTEXT_POINTER=3D1 -DSTDC_HEADERS=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_LIMITS_H= =3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_WORDEXP_H=3D1 -I. -I. -I ../../include = `glib-config --cflags` -g -O2 -DSQL -DUNIXODBC -c -o odbc.lo `test -f = 'odbc.c' || echo './'`odbc.c /bin/sh: glib-config: command not found mkdir .libs gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\"= -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"mdbtools\= " -DVERSION=3D\"0.5rc2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 = -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY= _H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 = -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DYYTEXT_POINTER=3D1 -DSTDC_HEADERS= =3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_LIMITS_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_WORD= EXP_H=3D1 -I. -I. -I ../../include -g -O2 -DSQL -DUNIXODBC -c odbc.c = -Wp,-MD,.deps/odbc.TPlo -fPIC -DPIC -o .libs/odbc.lo In file included from ../../include/mdbodbc.h:22, from odbc.c:28: ../../include/mdbtools.h:31: glib.h: No such file or directory In file included from ../../include/mdbodbc.h:23, from odbc.c:28: ../../include/mdbsql.h:3: glib.h: No such file or directory In file included from odbc.c:33: connectparams.h:23: glib.h: No such file or directory make[2]: *** [odbc.lo] Error 1 make[2]: Leaving directory `/home/kevinz/mdbtools-0.5rc2/src/odbc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kevinz/mdbtools-0.5rc2/src' make: *** [all-recursive] Error 1 kevinz@www:~/mdbtools-0.5rc2$=20 Can anyone offer me any suggestions on where I should go from here? Thanks for your help. -Kevin Zembower ----- E. Kevin Zembower Unix Administrator Johns Hopkins University/Center for Communications Programs 111 Market Place, Suite 310 Baltimore, MD 21202 410-659-6139 |