Re: [Cppcms-users] Some build questions
Brought to you by:
artyom-beilis
From: Stanimir M. <sta...@zo...> - 2009-02-06 15:47:50
|
On Fri, Feb 6, 2009 at 5:29 PM, Artyom <art...@ya...> wrote: > > Hi, > > Did configuration without sqlite helped? > Yes, it helped but not all is good. Here is the next error after running sudo ./configure --disable-sqlite 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 > >> user@ubuntu:/work/cppcms$ sudo ./configure >> [sudo] password for user: > > > First, why do you run this as sudo? You should run only > the last step (make install) as root/sudoer. > > Do you run make as normal user and configure as root? > No, i did everything as root (with sudo) because it says permission denied. Like so: user@ubuntu:/work/cppcms$ ./configure --disable-sqlite ./configure: 53: cannot create conf5021.sh: Permission denied ./configure: 53: cannot create conf5021.sh: Permission denied chmod: cannot access `conf5021.sh': No such file or directory ./configure: line 44: conf5021.sh: Permission denied ./configure: line 45: conf5021.sh: Permission denied chmod: cannot access `conf5021.sh': No such file or directory mkdir: cannot create directory `conf5021.dir': Permission denied ./configure: line 499: conf5021.file: Permission denied ./configure: line 1591: config.log: Permission denied ./configure: line 1601: config.log: Permission denied I read some useful tutorials and info to get started with Linux but i am still a big newbie. If I make more trouble then help, then i will sit and learn more before asking again. > (Actually this is not connected to the problem I think). > >> > >> > Can you provide output of >> > >> > ldd .libs/libcppcms.so >> > >> > > Is this before configure --disable-sqlite or after? > This is before --disable-sqlite because i wanted to send you the output before trying it. > >> user@ubuntu:/work/cppcms$ ldd .libs/libcppcms.so >> linux-gate.so.1 => (0xb7f87000) >> libboost_signals.so.1.35.0 => >> /usr/lib/libboost_signals.so.1.35.0 (0xb7e9f000) >> libboost_iostreams.so.1.35.0 => >> /usr/lib/libboost_iostreams.so.1.35.0 >> (0xb7e93000) >> libboost_regex.so.1.35.0 => >> /usr/lib/libboost_regex.so.1.35.0 (0xb7df2000) >> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 >> (0xb7dee000) >> libcgicc.so.5 => /usr/lib/libcgicc.so.5 (0xb7dc8000) >> libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7d5f000) >> libfcgi++.so.0 => /usr/lib/libfcgi++.so.0 (0xb7d5a000) >> libfcgi.so.0 => /usr/lib/libfcgi.so.0 (0xb7d51000) >> libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 >> (0xb7d37000) >> libmm.so.14 => /usr/lib/libmm.so.14 (0xb7d32000) >> libcppcmstranstext.so.0 => >> /work/cppcms/transtext/.libs/libcppcmstranstext.so.0 >> (0xb7d1d000) >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c2f000) >> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c09000) >> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7aab000) >> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a9b000) >> libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7a8a000) >> libz.so.1 => /usr/lib/libz.so.1 (0xb7a74000) >> libicudata.so.38 => /usr/lib/libicudata.so.38 >> (0xb6f9d000) >> libicui18n.so.38 => /usr/lib/libicui18n.so.38 >> (0xb6e46000) >> libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0xb6d1d000) >> /lib/ld-linux.so.2 (0xb7f88000) >> libgpg-error.so.0 => /lib/libgpg-error.so.0 >> (0xb6d19000) >> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 >> (0xb6d00000) >> user@ubuntu:/work/cppcms$ >> > > Because I can't see sqlite in dependencies. > I will definitely read more for Linux. > > And the last, what is the version you are compiling 0.0.2 > or you are using svn trunk? I am using svn trunk. When it failed i tried in another directory with the tar.gz download. It was the same. > > Thanks, > 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 > |