19 Jul 13:24
RE: SQLClient don't create MySQL bundle
From: <jaroslav.joska <at> email.cz>
Subject: RE: SQLClient don't create MySQL bundle
Newsgroups: gmane.comp.lib.gnustep.general
Date: 2008-07-19 11:24:46 GMT
Subject: RE: SQLClient don't create MySQL bundle
Newsgroups: gmane.comp.lib.gnustep.general
Date: 2008-07-19 11:24:46 GMT
Hi Nicola, thanks for your help, but I have bad news. I checked config.log and it seems that mysql files SQLClient can't recognized. My software version: - mysql-client-5.1.23 Multithreaded SQL database (client) (install from ports) - mysql-server-5.1.23 Multithreaded SQL database (server) - SQLClient 1.3.0 (I tried 1.2.0 version - the same error) Command output: #./configure --enable-mysql-bundle --with-additional-include=/usr/local/include/mysql/ --with-additional-lib=/usr/local/lib/mysql/ ;(with ./configure --enable-mysql-bundle --with-additional-include=/usr/local/include/ --with-additional-lib=/usr/local/lib/ the same error output) checking if Jdbc support was manually disabled... no: build if possible checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. #ls -l /usr/local/include/mysql/ total 384 -r--r--r-- 1 root wheel 4058 Jun 10 20:51 decimal.h -r--r--r-- 1 root wheel 3801 Jun 10 20:51 errmsg.h -r--r--r-- 1 root wheel 6954 Jun 10 20:51 keycache.h -r--r--r-- 1 root wheel 22542 Jun 10 20:51 m_ctype.h -r--r--r-- 1 root wheel 8162 Jun 10 20:51 m_string.h -r--r--r-- 1 root wheel 1804 Jun 10 20:51 my_alloc.h -r--r--r-- 1 root wheel 1941 Jun 10 20:51 my_attribute.h -r--r--r-- 1 root wheel 33388 Jun 10 20:51 my_config.h -r--r--r-- 1 root wheel 4547 Jun 10 20:51 my_dbug.h -r--r--r-- 1 root wheel 3460 Jun 10 20:51 my_dir.h -r--r--r-- 1 root wheel 3240 Jun 10 20:51 my_getopt.h -r--r--r-- 1 root wheel 50037 Jun 10 20:51 my_global.h -r--r--r-- 1 root wheel 1488 Jun 10 20:51 my_list.h -r--r--r-- 1 root wheel 3656 Jun 10 20:51 my_net.h -r--r--r-- 1 root wheel 1542 Jun 10 20:51 my_no_pthread.h -r--r--r-- 1 root wheel 26428 Jun 10 20:51 my_pthread.h -r--r--r-- 1 root wheel 39067 Jun 10 20:51 my_sys.h -r--r--r-- 1 root wheel 2677 Jun 10 20:51 my_xml.h -r--r--r-- 1 root wheel 33654 Jun 10 20:51 mysql.h -r--r--r-- 1 root wheel 17904 Jun 10 20:51 mysql_com.h -r--r--r-- 1 root wheel 1130 Jun 10 20:51 mysql_embed.h -r--r--r-- 1 root wheel 2097 Jun 10 20:51 mysql_time.h -r--r--r-- 1 root wheel 828 Jun 10 20:51 mysql_version.h -r--r--r-- 1 root wheel 22188 Jun 10 20:51 mysqld_ername.h -r--r--r-- 1 root wheel 22243 Jun 10 20:51 mysqld_error.h -r--r--r-- 1 root wheel 28652 Jun 10 20:51 plugin.h -r--r--r-- 1 root wheel 1915 Jun 10 20:51 sql_common.h -r--r--r-- 1 root wheel 12158 Jun 10 20:51 sql_state.h -r--r--r-- 1 root wheel 1006 Jun 10 20:51 sslopt-case.h -r--r--r-- 1 root wheel 2205 Jun 10 20:51 sslopt-longopts.h -r--r--r-- 1 root wheel 1107 Jun 10 20:51 sslopt-vars.h -r--r--r-- 1 root wheel 1501 Jun 10 20:51 typelib.h #ls -l /usr/local/lib/mysql/ total 3264 -rw-r--r-- 1 root wheel 33848 May 22 14:55 ha_example.a -rwxr-xr-x 1 root wheel 840 May 22 14:55 ha_example.la lrwxr-xr-x 1 root wheel 15 May 22 14:55 ha_example.so -> ha_example.so.0 -rwxr-xr-x 1 root wheel 30441 May 22 14:55 ha_example.so.0 -r--r--r-- 1 root wheel 1402 May 22 14:55 libdbug.a -r--r--r-- 1 root wheel 79208 May 22 14:55 libheap.a -r--r--r-- 1 root wheel 375622 May 22 14:55 libmyisam.a -r--r--r-- 1 root wheel 66470 May 22 14:55 libmyisammrg.a -rw-r--r-- 1 root wheel 529040 Jun 10 20:51 libmysqlclient.a -rwxr-xr-x 1 root wheel 860 Jun 10 20:51 libmysqlclient.la lrwxr-xr-x 1 root wheel 20 Jun 10 20:51 libmysqlclient.so -> libmysqlclient.so.16 -rwxr-xr-x 1 root wheel 455900 Jun 10 20:51 libmysqlclient.so.16 -rw-r--r-- 1 root wheel 538456 Jun 10 20:51 libmysqlclient_r.a -rwxr-xr-x 1 root wheel 892 Jun 10 20:51 libmysqlclient_r.la lrwxr-xr-x 1 root wheel 22 Jun 10 20:51 libmysqlclient_r.so -> libmysqlclient_r.so.16 -rwxr-xr-x 1 root wheel 464638 Jun 10 20:51 libmysqlclient_r.so.16 -r--r--r-- 1 root wheel 305930 May 22 14:54 libmystrings.a -r--r--r-- 1 root wheel 283960 May 22 14:55 libmysys.a -r--r--r-- 1 root wheel 6682 May 22 14:55 libvio.a config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-mysql-bundle --with-additional-include=/usr/local/include/mysql/ --with-additional-lib=/usr/local/lib/mysql/ ## --------- ## ## Platform. ## ## --------- ## hostname = wale uname -m = i386 uname -r = 6.3-RELEASE-p2 uname -s = FreeBSD uname -v = FreeBSD 6.3-RELEASE-p2 #7: Thu Apr 17 11:21:34 EDT 2008 root <at> pcbsd:/usr/obj/usr/src/sys/PCBSD /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /root/GNUstep/Tools PATH: /usr/GNUstep/Local/Tools PATH: /usr/GNUstep/System/Tools PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1379: checking if Jdbc support was manually disabled configure:1394: result: no: build if possible configure:1467: checking for gcc configure:1483: found /usr/bin/gcc configure:1493: result: gcc configure:1737: checking for C compiler version configure:1740: gcc --version </dev/null >&5 gcc (GCC) 3.4.6 [FreeBSD] 20060305 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1743: $? = 0 configure:1745: gcc -v </dev/null >&5 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 configure:1748: $? = 0 configure:1750: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:1753: $? = 1 configure:1776: checking for C compiler default output file name configure:1779: gcc /usr/local/include/mysql/ -I/include -I/include/genunix /usr/local/lib/mysql/ conftest.c >&5 /usr/local/include/mysql/: file not recognized: File format not recognized configure:1782: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1821: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_jdbc_bundle=yes ac_cv_prog_ac_ct_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='gcc' CFLAGS='' CPP='' CPPFLAGS=' /usr/local/include/mysql/ -I/include -I/include/genunix' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' ECPG='' EGREP='' EXEEXT='' INCD=' /usr/local/include/mysql/' JDBC='' JDBC_VM_LIBDIRS='' JDBC_VM_LIBS='' LDFLAGS=' /usr/local/lib/mysql/' LIBD=' /usr/local/lib/mysql/' LIBOBJS='' LIBS='' LTLIBOBJS='' MYSQL='' OBJEXT='' ORACLE_HOME='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' POSTGRES='' SHELL='/bin/bash' SQLITE='' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 77 Grazie!![]()
RSS Feed