[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 2.9.16 available for ftp -- build problems on freebsd/amd64
From: |
John W. Eaton |
Subject: |
Re: Octave 2.9.16 available for ftp -- build problems on freebsd/amd64 |
Date: |
Tue, 13 Nov 2007 12:20:14 -0500 |
On 13-Nov-2007, sam sirlin wrote:
| John W. Eaton wrote:
| > On 3-Nov-2007, sam sirlin wrote:
| >
| > | Somehow 2.9.15 configured ok, but 2.9.16 does not
| > |
| > | - I seem to need -lmetis in cholmod, so I had to modify configure.
| >
| > The license of metis is not compatible with the GPL, so Octave's
| > configure script no longer looks for it. You can either build a copy
| > of cholmod that does not link to it, or you can pass LDFLAGS to
| > configure. You should not have to modify the configure script.
| after applying your diffs:
|
| setenv CC gcc42
| setenv CXX g++42
| setenv F77 gfortran42
|
| setenv CFLAGS "-fPIC"
| setenv CXXFLAGS "-fPIC"
| setenv CPPFLAGS "-I/usr/local/include -I/usr/local/include/UMFPACK
| -I/usr/local/include/metis"
| setenv LDFLAGS "-L/usr/local/lib -lmetis -lm "
|
| ./configure \
| --enable-dl --enable-shared --enable-lite-kernel
|
| Still get barf on sed
|
| configure: creating ./config.status
| config.status: creating Makefile
| sed: 3: ./confJtlciY/subs-1.sed: filename expected
|
| I'll look more later...
Did you run autogen.sh after applying the patch?
jwe