8 messages in com.mysql.lists.plusplusRe: Can't 'make' MySQL++ 1.7.9 - Help...| From | Sent On | Attachments |
|---|---|---|
| pgmoscatt | 26 Jan 2004 22:37 | |
| Sinisa Milivojevic | 27 Jan 2004 04:18 | |
| Sinisa Milivojevic | 27 Jan 2004 06:34 | |
| Sinisa Milivojevic | 28 Jan 2004 03:31 | |
| pgmoscatt | 28 Jan 2004 04:39 | |
| Sinisa Milivojevic | 28 Jan 2004 09:10 | |
| Aseem Rane | 02 Feb 2004 01:44 | |
| Sinisa Milivojevic | 02 Feb 2004 04:00 |
| Subject: | Re: Can't 'make' MySQL++ 1.7.9 - Help Needed![]() |
|---|---|
| From: | Sinisa Milivojevic (sin...@mysql.com) |
| Date: | 01/27/2004 06:34:14 AM |
| List: | com.mysql.lists.plusplus |
pgmoscatt wrote:
Sinisa,
Forgot to ask - how is a patch applied ?
Pete
On Tue, 2004-01-27 at 22:19, Sinisa Milivojevic wrote:
pgmoscatt wrote:
I have Mandrake 9.2 which I have installed MySQL version 4.0.15 from the Mandrake 9.2 install CDs.
I wan't to create a database app using KDEvelop and MySQL using MySQL++ 1.7.9 as the API.
I anpacked the tarball in /usr/local.
When I ./configure all seems to run fine and the result is a config.h and Makefile are created.
When I go and issue the 'make' command, all goes wrong.
I have included the text of 'config.log' and some of the error messages that are displayed.
Hope this helps define the cause of my problems.
Regards Pete
## Config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
configure:590: checking for a BSD compatible install configure:643: checking whether build environment is sane configure:700: checking whether make sets ${MAKE} configure:747: checking for working aclocal configure:760: checking for working autoconf configure:773: checking for working automake configure:786: checking for working autoheader configure:799: checking for working makeinfo configure:818: checking whether make sets ${MAKE} configure:921: checking host system type configure:942: checking build system type configure:962: checking for ranlib configure:992: checking for gcc configure:1105: checking whether the C compiler (gcc ) works configure:1121: gcc -o conftest conftest.c 1>&5 configure:1147: checking whether the C compiler (gcc ) is a cross-compiler configure:1152: checking whether we are using GNU C configure:1161: gcc -E conftest.c configure:1180: checking whether gcc accepts -g configure:1223: checking for ld used by GCC configure:1286: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.14.90.0.5 20030722 configure:1302: checking for BSD-compatible nm configure:1339: 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 conftest.c 1>&5 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 -static conftest.c 1>&5 /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status GNU ld version 2.14.90.0.5 20030722 ltconfig:1592: checking if global_symbol_pipe works ltconfig:1593: gcc -c -g -O2 conftest.c 1>&5 ltconfig:1596: 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:1648: gcc -o conftest -g -O2 -fno-builtin conftest.c conftstm.o 1>&5 configure:1520: checking whether to enable maintainer-specific portions of Makefiles configure:1582: checking for MySQL library directory configure:1610: checking for MySQL include directory configure:1636: checking for gcc configure:1749: checking whether the C compiler (gcc -g -O2 ) works configure:1765: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c 1>&5 configure:1791: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler configure:1796: checking whether we are using GNU C configure:1824: checking whether gcc accepts -g configure:1860: checking for c++ configure:1892: checking whether the C++ compiler (c++ ) works configure:1908: c++ -o conftest -I/usr/include/mysql conftest.C 1>&5 configure:1934: checking whether the C++ compiler (c++ ) is a cross-compiler configure:1939: checking whether we are using GNU C++ configure:1948: c++ -E conftest.C configure:1967: checking whether c++ accepts -g configure:2000: checking for main in -lintl configure:2015: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c -lintl 1>&5 configure:2043: checking for main in -lsocket configure:2058: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c -lsocket -lintl 1>&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status configure: failed program was: #line 2051 "configure" #include "confdefs.h"
int main() { main() ; return 0; } configure:2086: checking for main in -lnsl configure:2101: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c -lnsl -lintl 1>&5 configure:2129: checking for mysql_store_result in -lmysqlclient configure:2148: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c -lmysqlclient -lnsl -lintl 1>&5 configure:2176: checking if malloc debugging is wanted configure:2198: checking how to run the C preprocessor configure:2219: gcc -E -I/usr/include/mysql conftest.c >/dev/null 2>conftest.out configure:2278: checking for ANSI C header files configure:2291: gcc -E -I/usr/include/mysql conftest.c >/dev/null 2>conftest.out configure:2358: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c -lmysqlclient -lnsl -lintl 1>&5 configure:2383: checking for working const configure:2437: gcc -c -g -O2 -I/usr/include/mysql conftest.c 1>&5 configure:2461: checking for strtol configure:2489: gcc -o conftest -g -O2 -I/usr/include/mysql conftest.c -lmysqlclient -lnsl -lintl 1>&5
## Error Messages make all-recursive make[1]: Entering directory `/usr/local/mysql++-1.7.9' Making all in sqlplusint make[2]: Entering directory `/usr/local/mysql++-1.7.9/sqlplusint' /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -g -O2 -c coldata.cc rm -f .libs/coldata.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -g -O2 -Wp,-MD,.deps/coldata.pp -c -fPIC -DPIC coldata.cc -o .libs/coldata.lo make[2]: Leaving directory `/usr/local/mysql++-1.7.9/sqlplusint' make[1]: Leaving directory `/usr/local/mysql++-1.7.9'
Hi!
Please do not run automake ; autconf.
Only configure; make.
Also, apply a patch for GCC 3.* compiler frm MySQL++ site, depending which compiler version you have.
Also, configure should not ask for -lsocket. That one is required for Solaris.
--
Sincerely,
.
patch -p1 < ..
--
Sincerely,
-- For technical support contracts, go to https://order.mysql.com/?ref=msmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sin...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus
Want to swim with the dolphins? (April 14-16, 2004) http://www.mysql.com/uc2004/




