LinuxQuestions.org
Help answer threads with 0 replies.
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 07-12-2008, 05:36 PM   #1
mariav
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Rep: Reputation: 0
Problems in installing boost and quantlib


I have ubuntu installed in my Dell computer, and I want to install boost and quantlib in it. What I did was to create in my home directory a subdirectory called Boost and extracted the files I download from boost.org to there. Similar thing I did for quantlib. That is, I created a
directory (in my home directory) called Quantlib, downloaded the files from quantlib.org and
extracted them in my Quantlib directory. For both, Boost and Quantlib, I went to the subdirectory that had the Makefile file and typed ./configure and make. Things are not working.
For the Boost some problems were found (the final sentence was "Not all boost libraries built properly " and for Quantlib I get the error "boost development files not found".
I suspect that these problems are due to the fact that I extracted the files in subdirectories that I created not where they are supposed to be. HOWEVER, I DO NOT KNOW WHERE I AM TO SUPPOSE TO EXTRACT THOSE FILES. Help!!!!
 
Old 07-13-2008, 04:22 AM   #2
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 219

Rep: Reputation: 33
Sorry, i have no quick solution for this. You could:
a) Try to get the binaries from your distribution.
b) exlude the failed libraries from your build like:
configure --disable-regex --disable-...

I tried it a while ago, i guess it was boost-1.35, and some parts just wouldn't compile. Can't remember why.
 
Old 07-13-2008, 06:45 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,409

Rep: Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613
/home/mariav/QuantLib is perfect, any name will do,
e.g. /home/mariav/tmp for building the most stuff.

2)QuantLib http://sourceforge.net/project/showf...group_id=12740
Quote:
""A quantitative finance C++ library for modeling, pricing, trading, and risk management in real-life. A cross-platform free/open-source tool for derivatives and financial engineering.""
(All files shown) :
""ObjectHandler-0.9.0, QuantLib-0.9.0, QuantLibAddin-0.9.0,
QuantLib docs 0.9.0, QuantLib extensions 0.9.0, QuantLibXL""
I usually build boost, installing ("libboost1-dev") with the
package manager will sometimes install unwanted packages.

* Assume boost in /usr/local. To circumvent bug (or may be
* ealier versions of boost were different) please do command :
*
* 'sudo ln -s /usr/local/include/boost-1_35/boost/ /usr/local/include/'
* (if your boost version is 1_35)

Then you will have /usr/local/include/boost and QuantLib will find
the devel files.
And QuantLib compiles with no problems (gcc 4.1.1)
except it takes a long time.

The issue ""For the Boost some problems were found (the final sentence
was "Not all boost libraries built properly")."" has no importance.

Regards.
 
Old 07-14-2008, 09:20 AM   #4
mariav
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you so much for responding!

I will try that. Thank you.
mariav
 
  


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
Compiling Hugin - problems finding boost headers pwc101 Linux - Software 2 05-21-2007 06:01 AM
boost::thread angustia Programming 0 01-28-2007 04:37 PM
Problems with boost nathacof Programming 10 11-04-2005 12:56 PM
Installing Boost for Kahakai chutsu Linux - Software 3 11-09-2004 02:22 PM
Boost threading brianvdc Programming 1 10-16-2003 04:12 AM

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

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration