Re: [Cppcms-users] Some build questions
Brought to you by:
artyom-beilis
From: Stanimir M. <sta...@zo...> - 2009-02-06 17:05:54
|
On Fri, Feb 6, 2009 at 6:49 PM, Artyom <art...@ya...> wrote: > > Ok Lets try this: > > ./configure LIBS="-lrt -lboost_system" --disable-sqlite --prefix=/usr > > Id suggest to add --prefix=/usr for future when you would install > these libraries (because /usr/local/lib ususally not default) > > Is it still gives you same error? > Yes, the same error. I checked where is libboost and it is really into /usr/lib/ and not inside /usr/local/lib. However into /usr/local/lib i have only python2.5. I will paste the error again in case i miss something. libtool: link: g++ -Wall -I./transtext -g -O2 -o .libs/hello_world.fcgi hello_world_fcgi-hello_world.o hello_world_fcgi-hello_world_view1.o hello_world_fcgi-hello_world_view2.o ./.libs/libcppcms.so -lboost_signals -lboost_iostreams -lboost_regex -ldl /usr/lib/libcgicc.so /lib/libgcrypt.so /usr/lib/libfcgi++.so /usr/lib/libfcgi.so -lnsl /usr/lib/libmm.so /work/cppcms/transtext/.libs/libcppcmstranstext.so transtext/.libs/libcppcmstranstext.so ./.libs/libcppcms.so: undefined reference to `boost::system::get_posix_category()' ./.libs/libcppcms.so: undefined reference to `clock_gettime' ./.libs/libcppcms.so: undefined reference to `boost::system::get_system_category()' collect2: ld returned 1 exit status > >> Actually me and you are doing these tests right now :). It >> is probably >> the slowest test but i hope that this will help cppcms to >> become more >> newbie friendly. > > Actually I'm working on Debian and try to figure out what is > broken under Ubuntu. I had managed to build and test cleanly this project > under Solaris, FreeBSD, Debian and Cygwin. I'm quite > surprised that this does not works for Ubuntu. > >> libtool: link: g++ -Wall -I./transtext -g -O2 -o >> .libs/hello_world.fcgi hello_world_fcgi-hello_world.o >> hello_world_fcgi-hello_world_view1.o >> hello_world_fcgi-hello_world_view2.o ./.libs/libcppcms.so >> -lboost_signals -lboost_iostreams -lboost_regex -ldl >> /usr/lib/libcgicc.so /lib/libgcrypt.so >> /usr/lib/libfcgi++.so >> /usr/lib/libfcgi.so -lnsl /usr/lib/libmm.so >> /work/cppcms/transtext/.libs/libcppcmstranstext.so >> transtext/.libs/libcppcmstranstext.so >> ./.libs/libcppcms.so: undefined reference to >> `boost::system::get_posix_category()' >> ./.libs/libcppcms.so: undefined reference to >> `clock_gettime' >> ./.libs/libcppcms.so: undefined reference to >> `boost::system::get_system_category()' >> collect2: ld returned 1 exit status >> make[2]: *** [hello_world.fcgi] Error 1 >> make[2]: Leaving directory `/work/cppcms' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/work/cppcms' >> make: *** [all] Error 2 >> > > For what I can see there is no -lrt and -lboost_cppcms > > > Artyom > > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |