LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-01-2008, 08:30 AM   #1
kerenLinuxForum
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Rep: Reputation: 0
Problems installing boost_134_1 on fedora8


Hi,

Im trying to install boost_1_34_1 on fedora (reference to http://www.boost.org/doc/libs/1_36_0...-boost-library)
But after make install i receive the following error message:

bin/sh: ./tools/jam/src//bjam: No such file or directory
Not all Boost libraries built properly.

Could anyone advise me ?
 
Old 09-01-2008, 10:29 AM   #2
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
To build the executable 'bjam' = = >
'cd boost_1_36_0/tools/jam/src/' and
'sh build.sh' to get
/boost_1_36_0/tools/jam/src/bin.linuxx86/bjam

And
Quote:
Installing BJam after building it is simply a matter of
copying the generated executables someplace in your PATH.
from
/boost_1_36_0/doc/html/jam/building.html
( or have a look in the index.html also
in /doc/html/jam/ )

Take care that boost and boost-devel isn't
already installed. They were, when I made
a Fedora 8 install. May conflict with the
result from your 'make install'
'rpm qa | grep boost' will show the rpm
packages with "boost names" installed.

Good Luck !

Last edited by knudfl; 09-01-2008 at 10:36 AM.
 
Old 09-02-2008, 02:52 AM   #3
kerenLinuxForum
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
10x for your reply.
I tried to do what you wrote:
cd boost_1_34_1/tools/jam/src/
sh build.sh

And received the following error messages:


In file included from /usr/include/fcntl.h:34,
from /usr/include/sys/file.h:25,
from jam.h:402,
from command.c:17:
/usr/include/bits/fcntl.h:25:23: error: calling fdopen: Bad file descriptor
In file included from jam.h:417,
from command.c:17:
/usr/include/stdlib.h:320:49: error: calling fdopen: Bad file descriptor ...
 
Old 09-02-2008, 07:48 AM   #4
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
No problems at all on my Fedora 8 with
'boost_1_36_0'

I use gcc, g++, "version 4.1.2 20070925
(Red Hat 4.1.2-33)" (try command 'g++ -v')
and nothing is upgraded since install.

Suggest : try with boost_1_36_0

Regards
 
Old 09-02-2008, 11:13 AM   #5
kerenLinuxForum
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Ok. It works. but now when i write
ldd a (where a is the exe file)
i receive this :
linux-gate.so.1 => (0x00110000) libboost_filesystem-gcc41-mt-1_34_1.so.1.34.1 => not found libboost_thread-gcc41-mt-1_34_1.so.1.34.1 => not found libboost_date_time-gcc41-mt-1_34_1.so.1.34.1 => not found libboost_system-gcc41-mt-1_34_1.so.1.34.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0601a000)
libm.so.6 => /lib/libm.so.6 (0x00d86000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0600c000)
libc.so.6 => /lib/libc.so.6 (0x00111000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00db8000)
/lib/ld-linux.so.2 (0x002bb000)
 
Old 09-02-2008, 02:05 PM   #6
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
Are you absolutely sure, you do not have the original
Fedora 8 "boost package" installed ??
Anyway, something is completely wrong, see my "ldd"
Quote:
PCLinuxOS2007, bjam
[knudfl@localhost bin.linuxx86]$ ldd bjam
linux-gate.so.1 => (0xb7ee8000)
libc.so.6 => /lib/i686/libc.so.6 (0xb7d9f000)
/lib/ld-linux.so.2 (0xb7ee9000)

PCLinuxOS2007, bjam from Fedora 8
[knudfl@localhost Desktop]$ ldd bjam
linux-gate.so.1 => (0xb7f0b000)
libc.so.6 => /lib/i686/libc.so.6 (0xb7dc2000)
/lib/ld-linux.so.2 (0xb7f0c000)

Fedora 8, bjam
[knudfl@localhost bin.linuxx86]$ ldd bjam
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x00af2000)
/lib/ld-linux.so.2 (0x00acf000)
(Be aware that linux-gate.so.1 is a virtual file
created on demand and not to be found in any file system)

1) To make a list of installed rpm packages :
..'rpm -qa | sort > my-package-list.txt'

2) I will still recommend using boost_1_36_0

Regards
 
Old 09-03-2008, 06:22 AM   #7
kerenLinuxForum
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Hi.
Unfortunately, I have to use version 1.34.1.
The problem was that i had to copy the libosost into /usr/lib/.
Thank you for your Help.
Keren.
 
  


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
Installing Opera 9.27 on Fedora8 Justin_Lee Linux - Newbie 23 04-28-2008 07:46 AM
problems finding/mounting partition on fedora8 xcorsary Linux - Newbie 6 04-06-2008 05:07 PM
e-mail problems on fedora8 greedy13 Linux - Server 2 03-11-2008 06:13 PM
problem in installing softwares in fedora8 .. unable to use "yum" shashank24 Linux - Software 1 02-14-2008 04:07 PM
Dual boot after installing fedora8 Ozonecy Linux - General 1 12-08-2007 09:22 PM

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

All times are GMT -5. The time now is 08:28 AM.

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