List:MySQL++« Previous MessageNext Message »
From:Kartik Mahajan Date:August 23 2008 7:05am
Subject:RE: Unable to build MySQL++ on Solaris
View as plain text  

"The compiler option -m64 will build a 64-bit lib."


Hi my configure step is failing, so makefile is not being generated kindly
see this output of the step ./configure :

/rusers/Charging/kartikm/RtConnectionPoolManager/mysql++-3.0.5>>./configure
--enable-thread-check
--with-mysql=/rusers/Charging/kartikm/mysql/mysql-5.0.45-solaris10-sparc-64b
it 
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
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 whether we are using the Intel C compiler... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether we are using the Intel C++ compiler... no
checking whether we are using the Sun C++ compiler... no
checking for ranlib... ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... ar
checking for strip... strip
checking for nm... nm
checking for command to install directories... ./install-sh -c -d
checking if make is GNU make... no
checking for dependency tracking method... gcc
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ANSI C header files... yes
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for cc_r... gcc
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 synch.h usability... yes
checking synch.h presence... yes
checking for synch.h... yes
checking whether -lm is needed to use C math functions... no
checking whether -lsocket is needed... yes
checking whether -lnsl is needed... yes
checking for MySQL library directory...
/rusers/Charging/kartikm/mysql/mysql-5.0.45-solaris10-sparc-64bit/lib
checking for MySQL include directory...
/rusers/Charging/kartikm/mysql/mysql-5.0.45-solaris10-sparc-64bit/include
checking if we can link to MySQL C API library directly... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... no
configure: error: zlib not found



I don't know why it is giving the error " checking if we can link to MySQL C
API library directly... no"


I am really confused. Kindly help !!!
Regards
Kartik Mahajan

Thread
Unable to build MySQL++ on SolarisKartik Mahajan14 Aug
  • Re: Unable to build MySQL++ on SolarisWarren Young14 Aug
    • RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
      • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
          • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
    • Re: Unable to build MySQL++ on SolarisJonathan Wakely16 Aug
      • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
          • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
RE: Unable to build MySQL++ on SolarisKartik Mahajan16 Aug
  • Re: Unable to build MySQL++ on SolarisWarren Young16 Aug
    • RE: Unable to build MySQL++ on SolarisKartik Mahajan22 Aug
      • Re: Unable to build MySQL++ on SolarisWarren Young22 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan22 Aug
      • Re: Unable to build MySQL++ on SolarisJonathan Wakely22 Aug
        • RE: Unable to build MySQL++ on SolarisKartik Mahajan23 Aug
          • Re: Unable to build MySQL++ on SolarisWarren Young23 Aug