Re: [Cppcms-users] Some build questions
Brought to you by:
artyom-beilis
From: Stanimir M. <sta...@zo...> - 2009-02-06 16:37:43
|
On Fri, Feb 6, 2009 at 6:07 PM, Artyom <art...@ya...> wrote: > > Ok, > > At this point I think this should fix the issue: > > ./configure LIBS="-lrt -lboost_system" --disable-sqlite > > > It seems to me that I should do some tests with livecd of ubunutu > as well ;). > 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. >> I am using svn trunk. When it failed i tried in another > > Try using trunk. When you using trunk > > Try to run svn update, maybe you just get some broken version > for short time. > > Go to directory and run > > svn update > I did a clean svn checkout and configured as you suggested. The same undefined reference popped as the last time. Here it is: 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 > It looks like something is broken with configure and I don't know > what exactly. > > I already fixed headers issues you had told me about. > > BTW: it is not too much about Linux knowledge, it is about > compiling everithing with right tools and options. > > Artyom > > Thanks for your help, i enjoy it and learn more as we go! Stanimir |