Hi,
Trying 1.4.1 install so I can help Marius make some decisions concerning
the installation guide. My error is "configure: error: You need
libmysqlclient." There's numerous mysql related errors so I've included
the entire log file. Probably just doing something stupid but...
Environment, all packages are rpm[s]:
*apache-1.3.17-2
*apache-devel-1.3.17-2
*mysql-3.23.32-5
*mysql-devel-3.23.32-5
*mysql-server-3.23.32-5
*php-4.0.4pl1-6
*php-devel-4.0.4pl1-6
*zlib-1.1.3-19
*zlib-devel-1.1.3-19
*glib-1.2.8-4
*expat-1.95.1-2
cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib
/usr/kerberos/lib
/usr/lib/qt-2.2.0/lib
/usr/lib/qt-1.45/lib
/usr/lib/sane
/usr/lib/mysql
/usr/include/mysql
ldconfig -p |grep mysql
libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10
libmysqlclient.so (libc6) => /usr/lib/mysql/libmysqlclient.so
ldconfig -p |grep libz
libzvt.so.2 (libc6) => /usr/lib/libzvt.so.2
libzvt.so (libc6) => /usr/lib/libzvt.so
libz.so.1 (libc6) => /usr/lib/libz.so.1
libz.so (libc6) => /usr/lib/libz.so
LDFLAGS=-/usr/include/mysql ./configure --with-sitegroups
Produces:
configure: error: You need libmysqlclient
Here's the config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:585: checking for a BSD compatible install
configure:638: checking whether build environment is sane
configure:695: checking whether make sets ${MAKE}
configure:741: checking for working aclocal
configure:754: checking for working autoconf
configure:767: checking for working automake
configure:780: checking for working autoheader
configure:793: checking for working makeinfo
configure:807: checking whether to enable maintainer-specific portions of
Makefiles
configure:906: checking host system type
configure:927: checking build system type
configure:947: checking for ranlib
configure:977: checking for gcc
configure:1090: checking whether the C compiler (gcc -/usr/include/mysql)
worksconfigure:1106: gcc -o conftest -/usr/include/mysql conftest.c
1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:1132: checking whether the C compiler (gcc -/usr/include/mysql)
is a
cross-compiler
configure:1137: checking whether we are using GNU C
configure:1165: checking whether gcc accepts -g
configure:1208: checking for ld used by GCC
configure:1270: checking if the linker (/usr/bin/ld) is GNU ld
configure:1286: checking for BSD-compatible nm
configure:1322: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2 conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -g -O2 -/usr/include/mysql conftest.c 1>&5
gcc: unrecognized option `-/usr/include/mysql'
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c
1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2 -/usr/include/mysql -static
conftest.c 1>&5
gcc: unrecognized option `-/usr/include/mysql'
GNU ld version 2.10.90 (with BFD 2.10.0.18)
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c -g -O2 conftest.c 1>&5
ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' > conftest.nm"
ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin -fno-rtti
-fno-exceptions -/usr/include/mysql conftest.c conftstm.o 1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:1514: checking how to run the C preprocessor
configure:1535: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1594: checking for ANSI C header files
configure:1607: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1674: gcc -o conftest -g -O2 -/usr/include/mysql conftest.c
1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:1699: checking for working const
configure:1753: gcc -c -g -O2 conftest.c 1>&5
configure:1777: checking for glib-config
configure:1818: checking for library containing crypt
configure:1836: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
/tmp/ccaI1q00.o: In function `main':
/usr/local/midgard-lib-1.4.1beta1/configure:1832: undefined reference to
`crypt'collect2: ld returned 1 exit status
configure: failed program was:
#line 1825 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char crypt();
int main() {
crypt()
; return 0; }
configure:1858: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:1882: checking for crypt.h
configure:1892: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1920: checking for library containing compress
configure:1938: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
/tmp/ccviajun.o: In function `main':
/usr/local/midgard-lib-1.4.1beta1/configure:1934: undefined reference to
`compress'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1927 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char compress();
int main() {
compress()
; return 0; }
configure:1960: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lz -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:1982: checking for library containing g_string_new
configure:2000: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lz -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:2044: checking for library containing floor
configure:2062: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lz -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
/tmp/cc0LXABv.o: In function `main':
/usr/local/midgard-lib-1.4.1beta1/configure:2058: undefined reference to
`floor'collect2: ld returned 1 exit status
configure: failed program was:
#line 2051 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char floor();
int main() {
floor()
; return 0; }
configure:2084: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lm -lz -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:2106: checking for iconv
configure:2124: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-/usr/include/mysql conftest.c -lm -lz -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
configure:2180: checking whether to enable SiteGroups
configure:2205: checking whether to enable PageLinks (experimental)
configure:2240: checking MySQL location
configure:2276: checking Expat location
configure:2320: checking for library containing mysql_connect
configure:2338: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-I/usr/include/mysql -I/usr/include -/usr/include/mysql -L/usr/lib/mysql
-L/usr/lib conftest.c -lm -lz -lcrypt -L/usr/lib -lglib 1>&5
gcc: unrecognized option `-/usr/include/mysql'
/tmp/ccQUgV0r.o: In function `main':
/usr/local/midgard-lib-1.4.1beta1/configure:2334: undefined reference to
`mysql_connect'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2327 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_connect();
int main() {
mysql_connect()
; return 0; }
configure:2360: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-I/usr/include/mysql -I/usr/include -/usr/include/mysql -L/usr/lib/mysql
-L/usr/lib conftest.c -lmysqlclient -lm -lz -lcrypt -L/usr/lib -lglib
1>&5
gcc: unrecognized option `-/usr/include/mysql'
/usr/lib/mysql/libmysqlclient.so: undefined reference to
`[EMAIL PROTECTED]'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2349 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_connect();
int main() {
mysql_connect()
; return 0; }
Thanks,
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]