Re: [Cppcms-users] Some build questions
Brought to you by:
artyom-beilis
|
From: Artyom <art...@ya...> - 2009-02-06 16:49:51
|
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?
> 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
|