LinuxQuestions.org
Visit Jeremy's Blog.
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-13-2012, 11:34 PM   #1
vpriya
LQ Newbie
 
Registered: Feb 2012
Posts: 14

Rep: Reputation: Disabled
unable to install boost1.42 c++ libraries in lucid


i'm unable to install libboost-all-dev package versions 1.42 or latest in ubuntu 10.04. only boost1.40 is installing. but i need 1.42. what should i do?
when i tried to install 1.48 boost i got the following error:

robotics@robotics-desktop:~$ sudo dpkg -i libboost-all-dev_1.48.0.2_i386.deb
Selecting previously deselected package libboost-all-dev.
(Reading database ... 224047 files and directories currently installed.)
Unpacking libboost-all-dev (from libboost-all-dev_1.48.0.2_i386.deb) ...
dpkg: dependency problems prevent configuration of libboost-all-dev:
libboost-all-dev depends on libboost-dev; however:
Package libboost-dev is not installed.
libboost-all-dev depends on libboost-date-time-dev; however:
Package libboost-date-time-dev is not installed.
libboost-all-dev depends on libboost-filesystem-dev; however:
Package libboost-filesystem-dev is not installed.
libboost-all-dev depends on libboost-graph-dev; however:
Package libboost-graph-dev is not installed.
libboost-all-dev depends on libboost-graph-parallel-dev; however:
Package libboost-graph-parallel-dev is not installed.
libboost-all-dev depends on libboost-iostreams-dev; however:
Package libboost-iostreams-dev is not installed.
libboost-all-dev depends on libboost-math-dev; however:
Package libboost-math-dev is not installed.
libboost-all-dev depends on libboost-mpi-dev; however:
Package libboost-mpi-dev is not installed.
libboost-all-dev depends on libboost-mpi-python-dev; however:
Package libboost-mpi-python-dev is not installed.
libboost-all-dev depends on libboost-program-options-dev; however:
Package libboost-program-options-dev is not installed.
libboost-all-dev depends on libboost-python-dev; however:
Package libboost-python-dev is not installed.
libboost-all-dev depends on libboost-regex-dev; however:
Package libboost-regex-dev is not installed.
libboost-all-dev depends on libboost-serialization-dev; however:
Package libboost-serialization-dev is not installed.
libboost-all-dev depends on libboost-signals-dev; however:
Package libboost-signals-dev is not installed.
libboost-all-dev depends on libboost-system-dev; however:
Package libboost-system-dev is not installed.
libboost-all-dev depends on libboost-test-dev; however:
Package libboost-test-dev is not installed.
libboost-all-dev depends on libboost-thread-dev; however:
Package libboost-thread-dev is not installed.
libboost-all-dev depends on libboost-wave-dev; however:
Package libboost-wave-dev is not installed.
dpkg: error processing libboost-all-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libboost-all-dev
robotics@robotics-desktop:~$
 
Old 02-14-2012, 08:09 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You are trying to install a meta-package from the precise repo on lucid.

This is not going to work as it ultimately depends on a version of libc6 that you are not going to be able to provide.

If you want boost1.42 or later, you need to upgrade your distribution to maverick, natty or oneiric.
 
Old 02-14-2012, 10:37 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
This may work :

Add a 'maverick' src line to /etc/apt/sources.list :
deb-src <url> main
And : 1) sudo apt-get update
2) sudo apt-get build-dep boost1.42

3) mkdir <new-dir> && cd new-dir/
3a) apt-get -b source boost1.42=1.42.0-3ubuntu1

The 'apt-get -b source boost...' command will create
all the libboost* packages, version 1.42 for Lucid.
http://packages.ubuntu.com/source/maverick/boost1.42

.

Last edited by knudfl; 02-15-2012 at 09:30 AM.
 
1 members found this post helpful.
Old 02-14-2012, 11:01 PM   #4
vpriya
LQ Newbie
 
Registered: Feb 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
since i'm new to ubuntu, i dont understand this part:

"Add a 'maverick' src line to /etc/apt/sources.list :
deb src <url> main"

which url should i paste
can you paste the url and post
 
1 members found this post helpful.
Old 02-15-2012, 02:58 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu 10.04 Lucid : Everything worked as suggested ..

Please do : sudo gedit /etc/apt/sources.list
... and add this line :
deb-src http://mirrors.nic.funet.fi/ubuntu/ maverick main

sudo apt-get update
sudo apt-get install g++ make autoconf automake libtool
sudo apt-get build-dep boost1.42

I made a folder home/knudfl/tmp/build-boost-1.42/
And : cd tmp/build-boost-1.42/ &&
apt-get -b source boost1.42=1.42.0-3ubuntu1

Wait a long time, the compilation may run for 30 .. 50 minutes.
32 packages were created.
.
 
1 members found this post helpful.
Old 02-16-2012, 12:16 AM   #6
vpriya
LQ Newbie
 
Registered: Feb 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
it worked

thanq
 
  


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
Unable to get wireless to work on HP DV7-1541nr running Lucid Lynx 10.04 Toadbrooks Linux - Wireless Networking 2 06-15-2011 09:04 AM
unable to find iptables config file in ubuntu lucid adinarayanagudla Linux - Newbie 2 06-02-2011 12:02 AM
I am unable to gain access to libraries I need to install printer. Ranapen Ubuntu 2 12-21-2010 04:59 AM
Unable to install softwares from Ubuntu Software Centre in Lucid Lynx ayazfarooque Ubuntu 4 05-28-2010 07:12 AM

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

All times are GMT -5. The time now is 03:46 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