RE: mysql ++ api / installation
Hi, Even i am getting the following error while doing ./configure: os: solaris 8 sparc mysql: 3.23.39 /configure loading cache ./config.cache checking host system type... sparc-sun-solaris2.8 checking target system type... sparc-sun-solaris2.8 checking build system type... sparc-sun-solaris2.8 checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) nawk checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... yes checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) : checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p checking whether ln -s works... (cached) yes checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.8 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for bison... no checking for byacc... no checking for pdftex... no checking return type of sprintf... configure: error: can not run test program while cross compiling # -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Volke Sent: 26 June 2001 09:18 To: [EMAIL PROTECTED] Subject: mysql ++ api / installation hi everybody, i have a problem with installation of mysql ++ api 1.7.9. os: sun solaris 5.6 mysql version 3.23.33 after unpacking the archive with tar, autorun and autoconf i started configure. everything was working fine , but make gave me the following message: ### make all-recursive Making all in sqlplusint mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /files2/mysql/mysql++-1.7.9/sqlplusint *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /files2/mysql/mysql++-1.7.9 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' # does anybody knows what i made wrong? thanks peter volke _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail mysql-unsubscribe-##L=##[EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: mysql ++ api / installation
Peter Volke writes: hi everybody, i have a problem with installation of mysql ++ api 1.7.9. os: sun solaris 5.6 mysql version 3.23.33 after unpacking the archive with tar, autorun and autoconf i started configure. everything was working fine , but make gave me the following message: ### make all-recursive Making all in sqlplusint mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /files2/mysql/mysql++-1.7.9/sqlplusint *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /files2/mysql/mysql++-1.7.9 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' # does anybody knows what i made wrong? thanks peter volke Hi! Several problems are possible. First you should use GNU tar and GNU make. Second, you should use g++ 2.95.2 or 2.95.3. Next, you should have autoconf and automake and run things like this: automake (ignore warnings) autoconf ./configure make -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus ___/ www.mysql.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail mysql-unsubscribe-##L=##[EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php