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? |
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 Code:
CFLAGS="-L/opt/SuiteSparse-3.1.0/Lib -lumfpack" |
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.
|
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! |
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.
|
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. |
All times are GMT -5. The time now is 02:29 AM. |