LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-07-2009, 02:29 PM   #1
Kwame_Martin
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
Exclamation GNU Installation: "make" does not work :-(


Hi guys. I'm currently doing research on GNU radio and I was installing it on Fedora and ran into some problems.
I have reached to the point where I have installed the GNU radio but when I do the ./configure step it still says :

checking for boost >= 1.35... no
configure: error: we could not detect the boost libraries (version 1.35 or higher).
If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>.
[kjmartin@sst0105530 gnuradio]$

I was advised to do the following but I tried it but the problem still persists.

Advice: Have you checked the environment variable values? By the way, after you modified an environment variable,

I did the following:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

LD_LIBRARY_PATH=/opt/boost/include/boost-1_39/boost:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH

and also I did the following:

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions

LD_LIBRARY_PATH=/opt/boost/include/boost-1_39/boost:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH


Can someone please help me?
Thanks.

Kwame.
 
Old 07-07-2009, 02:38 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 70
Well, you you have the boost libraries installed in your system? If not, install them.
https://admin.fedoraproject.org/pkgd...ges/name/boost
 
Old 07-07-2009, 02:46 PM   #3
Kwame_Martin
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I believe I have it installed already.

[kjmartin@sst0105530 ~]$ cd /
[kjmartin@sst0105530 /]$ ls
bin dev gnuradio lib media mnt opt root selinux sys usr
boot etc home lost+found misc net proc sbin srv tmp var
[kjmartin@sst0105530 /]$ cd opt
[kjmartin@sst0105530 opt]$ ls
boost
[kjmartin@sst0105530 opt]$ cd boost
[kjmartin@sst0105530 boost]$ ls
include lib
[kjmartin@sst0105530 boost]$ cd include
[kjmartin@sst0105530 include]$ ls
boost-1_39
[kjmartin@sst0105530 include]$ ls boost-1_39/
boost
[kjmartin@sst0105530 include]$ ls
boost-1_39
[kjmartin@sst0105530 include]$ cd boost-1_39/
[kjmartin@sst0105530 boost-1_39]$ ls
boost
[kjmartin@sst0105530 boost-1_39]$ cd boost/
[kjmartin@sst0105530 boost]$ ls
accumulators multi_array.hpp
algorithm multi_index
aligned_storage.hpp multi_index_container_fwd.hpp
any.hpp multi_index_container.hpp
archive next_prior.hpp
array.hpp noncopyable.hpp
asio nondet_random.hpp
asio.hpp none.hpp
assert.hpp none_t.hpp
assign non_type.hpp
assign.hpp numeric
bimap operators.hpp
bimap.hpp optional
bind optional.hpp
bind.hpp parameter
blank_fwd.hpp parameter.hpp
blank.hpp pending
call_traits.hpp pfto.hpp
cast.hpp pointee.hpp
cerrno.hpp pointer_cast.hpp
checked_delete.hpp pointer_to_other.hpp
circular_buffer pool
circular_buffer_fwd.hpp preprocessor
circular_buffer.hpp preprocessor.hpp
compatibility program_options
compressed_pair.hpp program_options.hpp
concept progress.hpp
concept_archetype.hpp property_map.hpp
concept_check property_map_iterator.hpp
concept_check.hpp proto
config ptr_container
config.hpp python
crc.hpp python.hpp
cregex.hpp random
cstdint.hpp random.hpp
cstdlib.hpp range
current_function.hpp range.hpp
date_time rational.hpp
date_time.hpp ref.hpp
detail regex
dynamic_bitset regex_fwd.hpp
dynamic_bitset_fwd.hpp regex.h
dynamic_bitset.hpp regex.hpp
dynamic_property_map.hpp scoped_array.hpp
enable_shared_from_this.hpp scoped_ptr.hpp
exception scope_exit.hpp
exception.hpp serialization
exception_ptr.hpp shared_array.hpp
filesystem shared_container_iterator.hpp
filesystem.hpp shared_ptr.hpp
flyweight signal.hpp
flyweight.hpp signals
foreach.hpp signals2
format signals2.hpp
format.hpp signals.hpp
function smart_cast.hpp
functional smart_ptr
functional.hpp smart_ptr.hpp
function_equal.hpp spirit
function.hpp spirit.hpp
function_output_iterator.hpp statechart
function_types state_saver.hpp
fusion static_assert.hpp
generator_iterator.hpp static_warning.hpp
get_pointer.hpp strong_typedef.hpp
gil swap.hpp
graph system
implicit_cast.hpp test
indirect_reference.hpp thread
integer thread.hpp
integer_fwd.hpp throw_exception.hpp
integer.hpp timer.hpp
integer_traits.hpp token_functions.hpp
interprocess token_iterator.hpp
intrusive tokenizer.hpp
intrusive_ptr.hpp tr1
io tuple
io_fwd.hpp type.hpp
iostreams typeof
is_placeholder.hpp type_traits
iterator type_traits.hpp
iterator_adaptors.hpp units
iterator.hpp unordered
lambda unordered_map.hpp
last_value.hpp unordered_set.hpp
lexical_cast.hpp utility
limits.hpp utility.hpp
logic variant
make_shared.hpp variant.hpp
math vector_property_map.hpp
math_fwd.hpp version.hpp
mem_fn.hpp visit_each.hpp
memory_order.hpp wave
mpi wave.hpp
mpi.hpp weak_ptr.hpp
mpl xpressive
multi_array
[kjmartin@sst0105530 boost]$

[kjmartin@sst0105530 /]$ cd opt
[kjmartin@sst0105530 opt]$ ls
boost
[kjmartin@sst0105530 opt]$ cd boost/
[kjmartin@sst0105530 boost]$ ls
include lib
[kjmartin@sst0105530 boost]$ cd lib/
[kjmartin@sst0105530 lib]$ ls
libboost_date_time-gcc41-mt-1_39.a
libboost_date_time-gcc41-mt-1_39.so
libboost_date_time-gcc41-mt-1_39.so.1.39.0
libboost_date_time-gcc41-mt.a
libboost_date_time-gcc41-mt.so
libboost_filesystem-gcc41-mt-1_39.a
libboost_filesystem-gcc41-mt-1_39.so
libboost_filesystem-gcc41-mt-1_39.so.1.39.0
libboost_filesystem-gcc41-mt.a
libboost_filesystem-gcc41-mt.so
libboost_graph-gcc41-mt-1_39.a
libboost_graph-gcc41-mt-1_39.so
libboost_graph-gcc41-mt-1_39.so.1.39.0
libboost_graph-gcc41-mt.a
libboost_graph-gcc41-mt.so
libboost_iostreams-gcc41-mt-1_39.a
libboost_iostreams-gcc41-mt-1_39.so
libboost_iostreams-gcc41-mt-1_39.so.1.39.0
libboost_iostreams-gcc41-mt.a
libboost_iostreams-gcc41-mt.so
libboost_math_c99f-gcc41-mt-1_39.a
libboost_math_c99f-gcc41-mt-1_39.so
libboost_math_c99f-gcc41-mt-1_39.so.1.39.0
libboost_math_c99f-gcc41-mt.a
libboost_math_c99f-gcc41-mt.so
libboost_math_c99-gcc41-mt-1_39.a
libboost_math_c99-gcc41-mt-1_39.so
libboost_math_c99-gcc41-mt-1_39.so.1.39.0
libboost_math_c99-gcc41-mt.a
libboost_math_c99-gcc41-mt.so
libboost_math_c99l-gcc41-mt-1_39.a
libboost_math_c99l-gcc41-mt-1_39.so
libboost_math_c99l-gcc41-mt-1_39.so.1.39.0
libboost_math_c99l-gcc41-mt.a
libboost_math_c99l-gcc41-mt.so
libboost_math_tr1f-gcc41-mt-1_39.a
libboost_math_tr1f-gcc41-mt-1_39.so
libboost_math_tr1f-gcc41-mt-1_39.so.1.39.0
libboost_math_tr1f-gcc41-mt.a
libboost_math_tr1f-gcc41-mt.so
libboost_math_tr1-gcc41-mt-1_39.a
libboost_math_tr1-gcc41-mt-1_39.so
libboost_math_tr1-gcc41-mt-1_39.so.1.39.0
libboost_math_tr1-gcc41-mt.a
libboost_math_tr1-gcc41-mt.so
libboost_math_tr1l-gcc41-mt-1_39.a
libboost_math_tr1l-gcc41-mt-1_39.so
libboost_math_tr1l-gcc41-mt-1_39.so.1.39.0
libboost_math_tr1l-gcc41-mt.a
libboost_math_tr1l-gcc41-mt.so
libboost_prg_exec_monitor-gcc41-mt-1_39.a
libboost_prg_exec_monitor-gcc41-mt-1_39.so
libboost_prg_exec_monitor-gcc41-mt-1_39.so.1.39.0
libboost_prg_exec_monitor-gcc41-mt.a
libboost_prg_exec_monitor-gcc41-mt.so
libboost_program_options-gcc41-mt-1_39.a
libboost_program_options-gcc41-mt-1_39.so
libboost_program_options-gcc41-mt-1_39.so.1.39.0
libboost_program_options-gcc41-mt.a
libboost_program_options-gcc41-mt.so
libboost_python-gcc41-mt-1_39.a
libboost_python-gcc41-mt-1_39.so
libboost_python-gcc41-mt-1_39.so.1.39.0
libboost_python-gcc41-mt.a
libboost_python-gcc41-mt.so
libboost_regex-gcc41-mt-1_39.a
libboost_regex-gcc41-mt-1_39.so
libboost_regex-gcc41-mt-1_39.so.1.39.0
libboost_regex-gcc41-mt.a
libboost_regex-gcc41-mt.so
libboost_serialization-gcc41-mt-1_39.a
libboost_serialization-gcc41-mt-1_39.so
libboost_serialization-gcc41-mt-1_39.so.1.39.0
libboost_serialization-gcc41-mt.a
libboost_serialization-gcc41-mt.so
libboost_signals-gcc41-mt-1_39.a
libboost_signals-gcc41-mt-1_39.so
libboost_signals-gcc41-mt-1_39.so.1.39.0
libboost_signals-gcc41-mt.a
libboost_signals-gcc41-mt.so
libboost_system-gcc41-mt-1_39.a
libboost_system-gcc41-mt-1_39.so
libboost_system-gcc41-mt-1_39.so.1.39.0
libboost_system-gcc41-mt.a
libboost_system-gcc41-mt.so
libboost_test_exec_monitor-gcc41-mt-1_39.a
libboost_test_exec_monitor-gcc41-mt.a
libboost_thread-gcc41-mt-1_39.a
libboost_thread-gcc41-mt-1_39.so
libboost_thread-gcc41-mt-1_39.so.1.39.0
libboost_thread-gcc41-mt.a
libboost_thread-gcc41-mt.so
libboost_unit_test_framework-gcc41-mt-1_39.a
libboost_unit_test_framework-gcc41-mt-1_39.so
libboost_unit_test_framework-gcc41-mt-1_39.so.1.39.0
libboost_unit_test_framework-gcc41-mt.a
libboost_unit_test_framework-gcc41-mt.so
libboost_wave-gcc41-mt-1_39.a
libboost_wave-gcc41-mt-1_39.so
libboost_wave-gcc41-mt-1_39.so.1.39.0
libboost_wave-gcc41-mt.a
libboost_wave-gcc41-mt.so
libboost_wserialization-gcc41-mt-1_39.a
libboost_wserialization-gcc41-mt-1_39.so
libboost_wserialization-gcc41-mt-1_39.so.1.39.0
libboost_wserialization-gcc41-mt.a
libboost_wserialization-gcc41-mt.so
[kjmartin@sst0105530 lib]$
 
Old 07-07-2009, 03:00 PM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 70
Does your ./configure script have an option like --with-boost=... or something similar? Check with
./configure --help
 
Old 07-08-2009, 09:18 AM   #5
Kwame_Martin
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up ./configure --help

I see the following commands wrt boost in the help menu.
How would I go about executing them and which ones do I use in this situation?
Thanks. Kwame.


--with-boost[=DIR] use boost (default is yes) - it is possible to
specify the root directory for boost (optional)
--with-boost-libdir=LIB_DIR
Force given directory for boost libraries. Note that
this will overwrite library path detection, so use
this parameter only if default library detection
fails and you know exactly where your boost
libraries are located.
--with-boost-thread[=special-lib]
Use the thread library from
boost. It is possible to specify a certain library
to the linker. E.g.,
--with-boost-thread=boost_thread-gcc41-mt-1_35
--with-boost-date-time[=special-lib]
Use the date_time library from
boost. It is possible to specify a certain library
to the linker. E.g.,
--with-boost-date-time=boost_date_time-gcc41-mt-1_35
--with-boost-program-options[=special-lib]
Use the program_options library
from boost. It is possible to specify a certain
library to the linker. E.g.,
--with-boost-program-options=boost_program_options-gcc41-mt-1_35
 
Old 07-08-2009, 10:02 AM   #6
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
If you had boost, did you install it with the package manager (Yum)?
Try to re-install it. Afterwards, open a terminal and as root user, run "ldupdate".

Afterwards try your ./configure again. Hope that helps.

Mons

Last edited by monsm; 07-08-2009 at 10:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"make headers_check" gives errors during "5.5.1 Installation of Linux API headers " void_man() Linux From Scratch 3 09-26-2007 09:16 PM
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
"how to make "gyach" work" b0nd Linux - Newbie 1 02-07-2005 04:47 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration