My bad, I sent the output from both commands this time. The
./configure seems to look ok but i sent it anyway and the output from
make is a little over 1/2 down the email.
Thanks,
here is the output from the ./configuer --with-mysql
This is dbmail's GNU configure script.
It's going to run a bunch of strange tests to hopefully
make your compile work without much twiddling.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to provide manual pages... yes
checking for mysql_config... /usr/bin/mysql_config
checking MySQL headers... -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
checking MySQL libraries... -L/usr/lib/mysql -lmysqlclient -lz -lcrypt
-lnsl -lm -L/usr/lib -lssl -lcrypto
checking for style of include used by make... GNU
checking for gcc... gcc
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking GLib headers... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLib libraries... -L/lib -lglib-2.0
checking GModule headers... -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GModule libraries... -Wl,--export-dynamic -L/lib -lgmodule-2.0
-ldl -lglib-2.0
checking for pkg-config... /usr/bin/pkg-config
checking GMime headers... -I/usr/include/gmime-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GMime libraries... -L/lib -lgmime-2.0 -lz -lnsl -lgobject-2.0
-lglib-2.0
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
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 --with-gc... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... no
checking for connect... no
checking for gethostbyname in -lnsl... no
checking for connect in -lsocket... no
checking for res_search... no
checking for res_search in -lresolv... no
checking for dn_expand... no
checking for dns_lookup... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking maximum warning verbosity option... -W -Wall -Wpointer-arith
-Wstrict-prototypes for C
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for crypt in -lcrypt... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating dbmail.h
config.status: creating Makefile
config.status: creating modules/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
DM_LOGDIR: /var/log
DM_CONFDIR: /etc
DM_STATEDIR: /var/run
DM_PKGLIBDIR: /usr/lib/dbmail
USE_DM_GETOPT: 1
CFLAGS: -g -O2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall
-Wpointer-arith -Wstrict-prototypes
GLIB: -Wl,--export-dynamic -L/lib -lgmodule-2.0 -ldl -lglib-2.0
GMIME: -L/lib -lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0
MYSQL: -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
-L/usr/lib -lssl -lcrypto
PGSQL:
SQLITE:
SIEVE:
LDAP:
MANPAGES: yes
SHARED: yes
STATIC: no
CHECK: no
SOCKETS:
----------------------------------------------------------------
This is the full make command
-----------
[EMAIL PROTECTED] dbmail-2.2.7-rc3]# make all
make all-recursive
make[1]: Entering directory `/root/dbmail-2.2.7RC3/dbmail-2.2.7-rc3'
Making all in modules
make[2]: Entering directory `/root/dbmail-2.2.7RC3/dbmail-2.2.7-rc3/modules'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing
-fwrapv -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith
-Wstrict-prototypes -MT sortnull.lo -MD -MP -MF ".deps/sortnull.Tpo" -c
-o sortnull.lo sortnull.c; \
then mv -f ".deps/sortnull.Tpo" ".deps/sortnull.Plo"; else rm -f
".deps/sortnull.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes
-MT sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c sortnull.c -fPIC
-DPIC -o .libs/sortnull.o
In file included from ../dbmail.h:30,
from sortnull.c:28:
../config.h:99:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/mysql -g
-pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith
-Wstrict-prototypes -module -L/lib -lglib-2.0 -Wl,--export-dynamic
-L/lib -lgmodule-2.0 -ldl -lglib-2.0 -L/lib -lgmime-2.0 -lz -lnsl
-lgobject-2.0 -lglib-2.0 -o libsort_null.la sortnull.lo
rm -fr .libs/libsort_null.a .libs/libsort_null.la
ar cru .libs/libsort_null.a .libs/sortnull.o
ranlib .libs/libsort_null.a
creating libsort_null.la
(cd .libs && rm -f libsort_null.la && ln -s ../libsort_null.la
libsort_null.la)
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing
-fwrapv -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith
-Wstrict-prototypes -MT dbmysql.lo -MD -MP -MF ".deps/dbmysql.Tpo" -c -o
dbmysql.lo dbmysql.c; \
then mv -f ".deps/dbmysql.Tpo" ".deps/dbmysql.Plo"; else rm -f
".deps/dbmysql.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes
-MT dbmysql.lo -MD -MP -MF .deps/dbmysql.Tpo -c dbmysql.c -fPIC -DPIC
-o .libs/dbmysql.o
In file included from ../dbmail.h:30,
from dbmysql.c:28:
In file included from ../dbmail.h:30,
from dbmysql.c:28:
../config.h:99:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
dbmysql.c:29:19: error: mysql.h: No such file or directory
dbmysql.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__'
before
'co
nn'
dbmysql.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__'
before
'*'
token
dbmysql.c:76: error: expected '=', ',', ';', 'asm' or '__attribute__'
before
'la
st_row'
dbmysql.c: In function 'db_connect':
dbmysql.c:150: warning: implicit declaration of function 'mysql_init'
dbmysql.c:150: error: 'conn' undeclared (first use in this function)
dbmysql.c:150: error: (Each undeclared identifier is reported only once
dbmysql.c:150: error: for each function it appears in.)
dbmysql.c:173: warning: implicit declaration of function
'mysql_real_connect'
dbmysql.c:175: warning: comparison between pointer and integer
dbmysql.c:176: warning: implicit declaration of function 'mysql_error'
dbmysql.c:176: warning: format '%s' expects type 'char *', but argument
7 has
ty
pe 'int'
dbmysql.c: In function 'db_num_rows':
dbmysql.c:191: error: 'res' undeclared (first use in this function)
dbmysql.c:194: warning: implicit declaration of function 'mysql_num_rows'
dbmysql.c: In function 'db_num_fields':
dbmysql.c:199: error: 'res' undeclared (first use in this function)
dbmysql.c:202: warning: implicit declaration of function 'mysql_num_fields'
dbmysql.c: In function 'db_free_result':
dbmysql.c:207: error: 'res' undeclared (first use in this function)
dbmysql.c:208: warning: implicit declaration of function 'mysql_free_result'
dbmysql.c: In function 'db_get_result':
dbmysql.c:218: error: 'res' undeclared (first use in this function)
dbmysql.c:228: warning: implicit declaration of function 'mysql_data_seek'
dbmysql.c:229: error: 'last_row' undeclared (first use in this function)
dbmysql.c:229: warning: implicit declaration of function 'mysql_fetch_row'
dbmysql.c: In function 'db_disconnect':
dbmysql.c:255: error: 'res' undeclared (first use in this function)
dbmysql.c:257: warning: implicit declaration of function 'mysql_close'
dbmysql.c:257: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_check_connection':
dbmysql.c:263: warning: implicit declaration of function 'mysql_ping'
dbmysql.c:263: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_insert_result':
dbmysql.c:275: warning: implicit declaration of function 'mysql_insert_id'
dbmysql.c:275: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_query':
dbmysql.c:293: warning: implicit declaration of function 'mysql_real_query'
dbmysql.c:293: error: 'conn' undeclared (first use in this function)
dbmysql.c:294: warning: format '%s' expects type 'char *', but argument
7 has
ty
pe 'int'
dbmysql.c:297: error: 'res' undeclared (first use in this function)
dbmysql.c:300: warning: implicit declaration of function
'mysql_store_result'
dbmysql.c: In function 'db_escape_string':
dbmysql.c:308: warning: implicit declaration of function
'mysql_real_escape_stri
ng'
dbmysql.c:308: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_get_length':
dbmysql.c:339: error: 'res' undeclared (first use in this function)
dbmysql.c:353: error: 'last_row' undeclared (first use in this function)
dbmysql.c:358: warning: implicit declaration of function
'mysql_fetch_lengths'
dbmysql.c:358: error: subscripted value is neither array nor pointer
dbmysql.c: In function 'db_get_affected_rows':
dbmysql.c:363: warning: implicit declaration of function
'mysql_affected_rows'
dbmysql.c:363: error: 'conn' undeclared (first use in this function)
dbmysql.c: In function 'db_get_result_set':
dbmysql.c:368: error: 'res' undeclared (first use in this function)
dbmysql.c: In function 'db_set_result_set':
dbmysql.c:373: error: 'res' undeclared (first use in this function)
dbmysql.c:373: error: 'MYSQL_RES' undeclared (first use in this function)
dbmysql.c:373: error: expected expression before ')' token
dbmysql.c:371: warning: unused parameter 'the_result_set'
make[2]: *** [dbmysql.lo] Error 1
make[2]: Leaving directory `/root/dbmail-2.2.7RC3/dbmail-2.2.7-rc3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dbmail-2.2.7RC3/dbmail-2.2.7-rc3'
make: *** [all] Error 2
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail