|
|
Choosing A Webhost: |
Re: [OBORONA-SPAM] Re: [patch] row::operator[] - template version: msg#00076db.mysql.c++
On Sun, Sep 18, 2005 at 08:19:13PM -0400, pps wrote: > Chris Frey wrote: > >The development site is: https://gna.org/projects/mysqlpp/ > >You can grab the latest makemake.bat file here: > > http://svn.gna.org/viewcvs/mysqlpp/trunk/ > > > > > Ok, I build it on winXp - even when I downloaded the latest svn, I had > problems bulding it... There seem to be to many dirrectories that are > hardcoded into makefiles: had to edit files manually, add mysql/include > and lib/opt to enviroment variables; had to manually create config.h etc... I'm not a guru for the Windows side of things. Warren wrote the windows build scripts and will be able to help you there. > I tried to build it on unix and it doesn't work!!! > 1) README.unix says that I can say ./configure --help, but there's no > configure script (only configure.in). I tried to run makemake.sh, but I > don't have bash, then even when I installed it it wasn't in /usr/bash. > After when I replaced /usr/bash with something suitable for me it gave > out some warnings (line 32: [: ==: unary operator expected) and when it > started to run make it used incorrect include path for mysql: > g++ -I/usr/include/mysql -I.. -O2 -c coldata.cpp > In file included from const_string.h:32, > from coldata.h:37, > from coldata.cpp:27: > defs.h:34: mysql.h > > mine is located in /usr/local/include/mysql, plus g++ is v2.95. For > things that need something newer I use g++32, 33, 34 :) For that usually > $CXX=g++34 works For unix, if you're building from svn, you'll need to run all the autoconf tools. There is a 'bootstrap' script to make that easy. So far I haven't had any trouble with the autoconf side of things. To specify a different compiler, I use a command line like this (assuming I've built gcc-4.0.1 and installed it in /home/source5/rootdir-gcc401): ./configure --prefix=/usr/local \ CC=/home/source5/rootdir-gcc401/bin/gcc \ CPP=/home/source5/rootdir-gcc401/bin/cpp \ CXX=/home/source5/rootdir-gcc401/bin/g++ \ CXXCPP=/home/source5/rootdir-gcc401/bin/cpp I can use a compiler built in any old home directory using this. To run the results using a new compiler like gcc-4.0.1 when my system compiler is gcc-3.3.6, I have to do: export LD_LIBRARY_PATH=/home/source5/rootdir-gcc401/lib Hope that helps, - Chris -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [OBORONA-SPAM] Re: [patch] row::operator[] - template version, pps |
|---|---|
| Next by Date: | Re: [patch] row::operator[] - template version, pps |
| Previous by Thread: | Re: [OBORONA-SPAM] Re: [patch] row::operator[] - template version, pps |
| Next by Thread: | Re: [patch] row::operator[] - template version, pps |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |