Help for an RPM cripple...

mjn mjn at umn.edu
Tue Oct 24 10:09:30 EDT 2000


Trying to compile on RedHat 6.1.

./configure --with-tdsversion=4.2 --enable-msdlib --enable-dbmfix

Configure comes off without a hitch but when I do make or make check i get
this:

[09:02:34][mjn at monolith:/tmp/freetds] make check
Making check in src
make[1]: Entering directory `/tmp/freetds/src'
Making check in tds
make[2]: Entering directory `/tmp/freetds/src/tds'
/bin/sh ../../libtool --mode=compile gcc
-DPACKAGE=\"freetds\" -DVERSION=\"0.50\" -DSTDC_HEADERS=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_SOCKET=1
-I. -I.  -I../../include    -g -O2 -DHW_LITTLE_ENDIAN -DTDS50 -DDBMFIX -c
mem.c
rm -f .libs/mem.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.50\" -DSTDC_HEADERS=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_SOCKET=1
-I. -I. -I../../include -g -O2 -DHW_LITTLE_ENDIAN -DTDS50 -DDBMFIX
-Wp,-MD,.deps/mem.pp -c  -fPIC -DPIC mem.c -o .libs/mem.lo
In file included from /usr/include/sys/socket.h:34,
                 from ../../include/tds.h:28,
                 from mem.c:20:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from ../../include/tds.h:32,
                 from mem.c:20:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
In file included from /usr/include/signal.h:294,
                 from /usr/include/sys/signal.h:1,
                 from ../../include/tds.h:36,
                 from mem.c:20:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
make[2]: *** [mem.lo] Error 1
make[2]: Leaving directory `/tmp/freetds/src/tds'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/freetds/src'
make: *** [check-recursive] Error 1


Like the subject says, I am an RPM cripple so resolving compile problems
is not my strong suite....

Is there anyone running FreeTDS on RedHat that might be able to give me a
hand?

Thanks


____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs

E-Mail		: mjn at umn.edu
Page Mail	: 6126486512 at page.metrocall.com
http://nifty.dsl.visi.com/
____________________________




More information about the FreeTDS mailing list