[MacPorts] #22586: install octave-linear-algebra fails

MacPorts noreply at macports.org
Thu Nov 19 09:19:38 PST 2009


#22586: install octave-linear-algebra fails
-------------------------------+--------------------------------------------
 Reporter:  borschel@…         |       Owner:  and.damore@…           
     Type:  defect             |      Status:  assigned               
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.8.1                  
 Keywords:                     |        Port:  octave-linear-algebra  
-------------------------------+--------------------------------------------

Comment(by borschel@…):

 ok, I resolved it.
 Like I guessed, the problem was that the linker was not told to link
 against lapack.

 Unfortunately, the makefile doesn't call the linker directly. Rather it
 calls the octave script mkoctfile which then calls the linker.
 I just solved the problem in a dirty way, by changing line 95 in that
 mkoctfile script from
 : ${BLAS_LIBS=""}
 to
 : ${BLAS_LIBS=-lcblas -llapack}

 Interestingly, the variable BLAS_LIBS was empty and there is not even a
 variable LAPACK_LIBS, so I just smuggled lapack in with blas.

 So, like I said, this is a quick and dirty way to just get it working.
 I would appreciate it, if you could tell me what the clean (i.e. correct)
 way of fixing this would be.

 Regards,
 Benno

-- 
Ticket URL: <http://trac.macports.org/ticket/22586#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list