2 messages in com.mysql.lists.plusplusRe: Installing Mysql++| From | Sent On | Attachments |
|---|---|---|
| Paul Medynski | 09 Mar 2003 12:30 | |
| Anahit Mailyan | 10 Mar 2003 15:56 |
| Subject: | Re: Installing Mysql++![]() |
|---|---|
| From: | Anahit Mailyan (Anah...@Alaska.edu) |
| Date: | 03/10/2003 03:56:12 PM |
| List: | com.mysql.lists.plusplus |
Hi Paul,
Did you find a solution to your problem? I am having same problem. I need to connect from C++ program running on SGI Irix6.5 to MySQL db on different server. When I am trying to install MySQL++ on SGI I am getting same errors you have. Can anyone suggest some solution? May be there is a better way of doing what I need to do. Thank you.
Anahit
----- Original Message ----- From: "Paul Medynski" <paul...@jacknife.org> To: <plus...@lists.mysql.com> Sent: Sunday, March 09, 2003 11:30 AM Subject: Installing Mysql++
Hi,
I've got the following scenario:
1. Server machine running the Mysql database server 2. Client machine on which I want to compile and run a C++ app that talks to the Mysql server on the Server machine
I can get the first setp done pretty easily :) It's the second one that I'm having trouble with. My client machine is running GNU/Debian linux (kernel v2.4.19) with gcc 3.2.2 installed. Here are the steps I've taken so far:
1. Download, unzip, and untar Mysql++ v1.7.9 into a new directory 2. Run 'automake', which prints out the following output:
configure.in:11: your implementation of AM_INIT_AUTOMAKE comes from an configure.in:11: old Automake version. You should recreate aclocal.m4 configure.in:11: with aclocal and run automake again. Makefile.am: required file `./COPYING' not found Makefile.am: required file `./INSTALL' not found Makefile.am: required file `./NEWS' not found Makefile.am: required file `./AUTHORS' not found Makefile.am: required file `./ChangeLog' not found examples/Makefile.am: required file `./depcomp' not found /usr/local/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/local/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/local/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
3. Run 'autoconf' which doesn't produce any output. 4. Run 'configure' without any options, which produces the following output:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... 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 make sets $(MAKE)... (cached) yes checking build system type... i586-pc-linux-gnu checking host system type... i586-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... 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 ANSI C... none needed checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes loading cache /dev/null within ltconfig 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/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux 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 updating cache /dev/null checking whether to enable maintainer-specific portions of Makefiles... no checking for MySQL library directory... configure: error: Didn't find the mysql library dir in ''
I looked at the 'configure' script and it is dying where it tries to find the Mysql client shared libraries and C headers. I've looked all over mysql.com for the client libraries, but I can't find them. Are they part of the server download (binary or source)? And if so, how do I just install the client libs, since I don't need a copy of the server on my Client machine.
Also, I downloaded and unpacked the v4.0.11 gamma binary, and it seems to just run wherever it was unpacked. Is there any particular install script, or should I just copy stuff wherever I want it manually?
Thanks, Paul




