when building on 12.04 - I use

sudo apt-get install build-essential autoconf libpth-dev libglib2.0-dev 
libgtk2.0-dev tcl-dev tk-dev bwidget libreadline-dev python-tk 
python-dev libgl1-mesa-dev libglu1-mesa-dev libxmu-dev libudev-dev 
libmodbus-dev libboost-python-dev libboost-serialization-dev 
libboost-thread-dev

So I think you are missing the libboost 3 at the end..

sam

On 07/25/2013 08:22 PM, Matt Shaver wrote:
> On Fri, 12 Jul 2013 16:46:00 +0200
> Michael Haberler <mai...@mah.priv.at> wrote:
>
>> As a base for builds right now, the rtos-master-v0 branch is ok and
>> I'll make sure it doesnt break - just note there will be major change
>> coming shortly
> I'm trying to build this branch, and upon running the configure
> script, get the following error:
>
> checking for boostlib >= 1.34... yes
> checking whether the Boost::Serialization library is available... yes
> checking for exit in -lboost_serialization... no
> configure: error: Could not link against boost_serialization !
>
> The relevant part of config.log is:
>
> configure:9713: checking for boostlib >= 1.34
> configure:9782: g++ -c -g -O2  -I/usr/include conftest.cpp >&5
> conftest.cpp:11:0: warning: "HAVE_LIBUDEV" redefined [enabled by
> default] conftest.cpp:8:0: note: this is the location of the previous
> definition configure:9782: $? = 0
> configure:9784: result: yes
> configure:9996: checking whether the Boost::Serialization library is
> available configure:10024: g++ -c -g -O2  -I/usr/include conftest.cpp
>> &5 conftest.cpp:11:0: warning: "HAVE_LIBUDEV" redefined [enabled by
>> default]
> conftest.cpp:8:0: note: this is the location of the previous definition
> configure:10024: $? = 0
> configure:10038: result: yes
> configure:10049: checking for exit in -lboost_serialization
> configure:10074: gcc -o conftest -g -O2  -I/usr/include  -L/usr/lib
> conftest.c -lboost_serialization  -lGL  -lXinerama  >&5
> conftest.c:11:0: warning: "HAVE_LIBUDEV" redefined [enabled by default]
> conftest.c:8:0: note: this is the location of the previous definition
> conftest.c:62:6: warning: conflicting types for built-in function
> 'exit' [enabled by default] /usr/bin/ld: cannot find
> -lboost_serialization collect2: ld returned 1 exit status
> configure:10074: $? = 1 configure: failed program was:
> | /* confdefs.h */
> < program listing here>
> configure:10084: result: no
> configure:10190: error: Could not link against boost_serialization !
>
> The boost libraries are in /usr/lib:
>
> $ ls -l /usr/lib/libboost*
> lrwxrwxrwx 1 root root     22 Jul 25 17:22 /usr/lib/libboost_python.a
> -> libboost_python-py27.a lrwxrwxrwx 1 root root     22 Jan  2
> 2012 /usr/lib/libboost_python-mt-py27.a -> libboost_python-py27.a
> lrwxrwxrwx 1 root root     30 Jan  2
> 2012 /usr/lib/libboost_python-mt-py27.so ->
> libboost_python-py27.so.1.46.1 lrwxrwxrwx 1 root root     22 Jan  2
> 2012 /usr/lib/libboost_python-mt-py32.a -> libboost_python-py32.a
> lrwxrwxrwx 1 root root     30 Jan  2
> 2012 /usr/lib/libboost_python-mt-py32.so ->
> libboost_python-py32.so.1.46.1 -rw-r--r-- 1 root root 500216 Jan  2
> 2012 /usr/lib/libboost_python-py27.a lrwxrwxrwx 1 root root     30 Jan
> 2  2012 /usr/lib/libboost_python-py27.so ->
> libboost_python-py27.so.1.46.1 -rw-r--r-- 1 root root 291256 Jan  2
> 2012 /usr/lib/libboost_python-py27.so.1.46.1 -rw-r--r-- 1 root root
> 495062 Jan  2  2012 /usr/lib/libboost_python-py32.a lrwxrwxrwx 1 root
> root     30 Jan  2  2012 /usr/lib/libboost_python-py32.so ->
> libboost_python-py32.so.1.46.1 -rw-r--r-- 1 root root 287128 Jan  2
> 2012 /usr/lib/libboost_python-py32.so.1.46.1 lrwxrwxrwx 1 root root
> 23 Jul 25 17:22 /usr/lib/libboost_python.so -> libboost_python-py27.so
> -rw-r--r-- 1 root root 420268 Jan  2
> 2012 /usr/lib/libboost_serialization.so.1.46.1 -rw-r--r-- 1 root root
> 301196 Jan  2  2012 /usr/lib/libboost_wserialization.so.1.46.1
>
> The system is an Intel D2800MT motherboard with Ubuntu 12.04
> (http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04.1-desktop-i386.iso).
> I've installed Xenomai per this:
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?action=browse&diff=1&id=NewRTInstall&revision=3
>
> (Note: I'm using
> http://static.mah.priv.at/public/xenomai-debs/linux-headers-3.2.21-xenomai+_0.2_i386.deb
> and
> http://static.mah.priv.at/public/xenomai-debs/linux-image-3.2.21-xenomai+_0.2_i386.deb.
> Should I be using the 0.4 version? I had trouble when I tried 0.4, but
> that could be due to some graphics drivers issues, so if 0.4 is an
> improvement over 0.2, I could go back and try that.)
>
> Do I need to tack something extra onto my LD_LIBRARY_PATH? Any other
> ideas on what could be wrong?
>
> Thanks,
> Matt
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to