LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2010, 10:16 PM   #16
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705

Although you didn't explicitly say, you seem to be using ubuntu. I think you may have the dev package name wrong.
I think you may need to explicitly install libboost-system-dev. You can find out this type of thing with apt-cache:

Code:
apt-cache search libboost dev
You can check to see if it is installed with:
Code:
dpkg -l 'libboost-system*-dev | grep ^ii
If this returns nothing, it is not installed. To install:
Code:
sudo apt-get install libboost-system-dev
Also before running configure again it may be worth removing the config.cache file.

Evo2.

Evo2.
 
Old 02-16-2010, 10:41 PM   #17
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
if i give "sudo apt-get install libboost-system-dev" it will install libboost for x86 right? but i want to install it for ARM.
 
Old 02-16-2010, 11:55 PM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by shariefbe View Post
if i give "sudo apt-get install libboost-system-dev" it will install libboost for x86 right? but i want to install it for ARM.
Oops. Sorry, I totally missed that this was a cross compile. That will teach me to jump into a thread that I was not following from the beginning.

Evo2.
 
Old 02-17-2010, 01:20 AM   #19
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
Now i try to recompile it using the same link which i gave previously. This time i am some error while cross compiling boost
error
Code:
ibs/iostreams/src/bzip2.cpp:20: fatal error: bzlib.h: No such file or directory
compilation terminated.

    "arm-none-linux-gnueabi-g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-arm/release/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-arm/release/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-arm/release/threading-multi>libboost_iostreams.so.1.42.0 for lack of <pbin.v2/libs/iostreams/build/gcc-arm/release/threading-multi>bzip2.o...
...skipped <pstage/lib>libboost_iostreams.so.1.42.0 for lack of <pbin.v2/libs/iostreams/build/gcc-arm/release/threading-multi>libboost_iostreams.so.1.42.0...
...skipped <pstage/lib>libboost_iostreams.so for lack of <pstage/lib>libboost_iostreams.so.1.42.0...
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi/bzip2.o
libs/iostreams/src/bzip2.cpp:20: fatal error: bzlib.h: No such file or directory
compilation terminated.

    "arm-none-linux-gnueabi-g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi>libboost_iostreams.a(clean) for lack of <pbin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi>bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi>bzip2.o...
...skipped <pstage/lib>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi>libboost_iostreams.a...
...failed updating 2 targets...
...skipped 6 targets...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mic Boost missing in alsa mixer moo-cow Linux - Hardware 3 12-10-2006 12:55 PM
missing package libssl0.9.6 newbiesforever Linux - General 4 08-16-2006 07:13 PM
What package(s) am I missing? Slacktastic Slackware - Installation 4 02-23-2006 03:01 PM
missing package Xtife Mandriva 17 11-18-2005 06:59 PM
missing basesystem package?!?!? neonazure Linux - Newbie 2 03-07-2002 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration