LinuxQuestions.org
Review your favorite Linux distribution.
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 01-21-2008, 01:54 AM   #1
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Frustrating compilation issue


Okay, so I'm doing some research for which I need the most up-to-date octave I can get. So, instead of taking the 2.9.x Ubuntu or Debian package, I grabbed the 3.0.0 tarball from the octave site. Then all the trouble began. :-)

Okay, so I am using atlas for the LAPACK and BLAS, and I grabbed a tarball of SuiteSparse for everything else. I managed to compile SuiteSparse with metis and atlas, and that tree now resides in /opt/SuiteSparse-3.1.0/ . The trouble is, I can find no way to make the octave configure script aware of their location.

I can't do --with-UMFPACK, etc because apparently that is just expecting =yes or =no. I tried adding '-I/opt/SuiteSparse/UMFPACK/Include/ /opt/SuiteSparse-3.1.0/Lib/libumfpack.a' to CFLAGS, but all to no avail.
I think the problem is that -lumfpack isn't being created since SuiteSparse has no 'make install' or any other way of installing outside of its own source tree. How can I solve or circumvent this? Has anyone managed to build octave 3.0.0 yet?
 
Old 01-22-2008, 02:59 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,707
Blog Entries: 1

Rep: Reputation: 220Reputation: 220Reputation: 220
Just because there isn't an install target in the Makefile doesn't mean there isn't a way to install the libraries outside the source tree. Did you try the cp or install command?
Code:
cp UMFPACK/Lib/libumfpack.a /usr/local/lib
You should include the path to the directory containing the libumfpack.a library in the CFLAGS
Code:
CFLAGS="-L/opt/SuiteSparse-3.1.0/Lib -lumfpack"
To answer your last question...no. But I haven't tried to build the 3.0.0 Octave yet.
 
Old 01-22-2008, 03:44 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,465
Blog Entries: 3

Rep: Reputation: 184Reputation: 184
to make it aware is to look where it tries to look in your pkgconfig file. and if it is looking in the /usr/loacal/lib/pkgconfig folder and it is not there then that could be your trouble. or if it is looking for your /usr/lib/pkgconfig folder instead of looking in the other.check you config log and check your configure program to see where it is looking.
 
Old 02-10-2008, 08:16 AM   #4
anket
LQ Newbie
 
Registered: Feb 2008
Posts: 21

Rep: Reputation: 16
Hello.

I am having trouble compiling SuiteSparse. Neither ATLAS nor the native BLAS seemed to work for me.

Could you please post your directions for successfully compiling SuiteSparse?

Thanks!
 
Old 02-10-2008, 05:32 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Original Poster
Rep: Reputation: 48
Sorry, but I don't think I could be much help there. I just directly followed the directions from SuiteSparse. If those didn't work for you, then I don't know what will. I wound up just finding enough things in the Debian repos to get Octave to build, so I didn't even end up using my newly-build suitesparse.
 
Old 02-13-2008, 02:51 PM   #6
anket
LQ Newbie
 
Registered: Feb 2008
Posts: 21

Rep: Reputation: 16
No worries. It appears that a successful SuiteSparse build requires the existence of shared libraries from the ATLAS package.

The ATLAS Installation Guide (written by R. Clint Whaley) provides the needed directions to make this happen.
 
  


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
gtkmm compilation issue PatrickNew Programming 3 09-27-2007 10:23 PM
Mono issue with compilation drewbug01 Linux - Software 4 03-02-2007 05:04 PM
A frustrating issue with AP association ipw2200 gentoo iwconfig stardotstar Linux - Wireless Networking 3 03-05-2006 08:36 PM
Compilation is a serious issue!!! nickolse Linux - Software 3 11-03-2003 01:32 AM
Frustrating proxy issue Mad Echidna Linux - Software 0 09-12-2003 11:04 AM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration