Another reason why I thought I should use ./configure is that it
worked for wxWidgets:
I'm not sure how this whole --host thing works, but I guess it doesn't
take into account that I don't need sockets if I'm building for
I disabled the check by manually editing configure file.
But now I'm running into another error:
checking whether -lsocket is needed... checking whether -lnsl is
needed... checking for MySQL library directory... /usr/lib64
checking for MySQL include directory... /usr/include/mysql
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... yes
checking whether adding -lz will let MySQL C API link succeed... no
configure: error: Unable to link to MySQL client library!
How do I tell configure to look for mysql libs in another directory?
On Thu, Nov 5, 2009 at 8:58 PM, Leonti Bielski <prishelec@stripped> wrote:
> I thought if I compile it under linux I have to configure with --host changed.
> Now I tried to run 'make' and I get this error:
> make -f Makefile.mingw
> i686-pc-mingw32-g++ -c -o mysqlpp_beemutex.o -g -mthreads -DUNICODE
> -D_UNICODE -DMYSQLPP_NO_DLL -DHAVE_MYSQL_SSL_SET
> -MTmysqlpp_beemutex.o -MFmysqlpp_beemutex.o.d -MD -MP lib/beemutex.cpp
> make: -c: Command not found
> make: *** [mysqlpp_beemutex.o] Error 127
> I really don't want to install Windows just to compile a couple of programs :(
> On Thu, Nov 5, 2009 at 8:16 PM, Warren Young <mysqlpp@stripped> wrote:
>> Leonti Bielski wrote:
>>> But I get an error that socket library is missing.
>>> leonti@linux-ep9z:~/proba/mysql++-3.0.9> ./configure
>> Don't use 'configure' on MinGW. Read README-MinGW.txt, which explains the
>> correct build procedure.
>> MySQL++ Mailing List
>> For list archives: http://lists.mysql.com/plusplus
>> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1