[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 3.5.92 snapshot available for ftp
From: |
Ben Abbott |
Subject: |
Re: Octave 3.5.92 snapshot available for ftp |
Date: |
Sun, 08 Jan 2012 14:17:41 -0500 |
On Jan 6, 2012, at 6:54 PM, Ben Abbott wrote:
>
> On Jan 6, 2012, at 4:54 PM, John W. Eaton wrote:
>
>> On 6-Jan-2012, Lukas Reichlin wrote:
>>
>> | On 06.01.2012, at 22:02, John W. Eaton wrote:
>> |
>> | >
>> | > A new snapshot of Octave is now available from alpha.gnu.org in the
>> | > directory /gnu/octave:
>> | >
>> | > 48481042bdd5f924ccfc983916cd1e16 octave-3.5.92.tar.gz
>> | >
>> | > -rw-r--r-- 1 3003 3002 17958889 Jan 06 20:55 octave-3.5.92.tar.gz
>> | >
>> | > The snapshot is tagged in the usual way (ss-3-5-92) in the Mercurial
>> | > archive.
>> | >
>> | > Please remember that these snapshots are provided for testing
>> | > purposes. I do not consider them to be Octave releases. If people
>> | > think there will be confusion because of the version number, then we
>> | > can add a notice to the Octave startup message.
>> | >
>> | > Unless there are some serious problems with this snapshot, I would
>> | > like to release it (or something very close to it) as 3.6.0 in the
>> | > next few days. Even if you have been building Octave regularly from
>> | > the Mercurial archive, it would help if you could build from the
>> | > snapshot and report any problems.
>> | >
>> | > jwe
>> |
>> | I've created a MacPorts portfile for the Mac users amongst us. The build
>> failed, but I don't know the reason. I attached the log in main.log
>>
>> Does the following change fix the problem for you?
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/906eecd4bf43
>>
>> After applying this change, I think you will need to do run the
>> following commands in your source tree, then run Make again. Since
>> this change affects a file that is included in a Makefile.am file,
>> you'll need automake and autoconf for this patch to work when applied
>> to the 3.5.92 sources. You should not need them when building from a
>> future snapshot or release tarball.
>>
>> cd src/DLD-FUNCTIONS
>> ./config-module.sh
>>
>> jwe
>
> I pulled and built the stable branch this morning (it is possible my last
> build was yesterday).
>
> 933bf1b4ab29+ (stable) tip
>
> When I tried to build 3.5.92 using a port file via Macports, it also failed
> for me (I haven't looked into why).
>
> Building 3.5.92 directly also failed. I used the script below.
>
> VER="4.6"
> export PREFIX=/opt/local
> export CC=/opt/local/bin/gcc-mp-$VER
> export CXX=/opt/local/bin/g++-mp-$VER
> export CXXCPP="/opt/local/bin/g++-mp-$VER -E"
> export F77=/opt/local/bin/gfortran-mp-$VER
> export FC=/opt/local/bin/gfortran-mp-$VER
> export CXXFLAGS="-pipe -O2 -g -m64 -ggdb3"
> export FFLAGS="$CXXFLAGS -D_THREAD_SAFE -pthread -gstabs"
> export CFLAGS="$FFLAGS -lstdc++"
> export LDFLAGS=-L$PREFIX/lib
> export CPPFLAGS=-I$PREFIX/include
> export BLAS_LIBS="-lcblas -lf77blas -latlas"
> export LAPACK_LIBS=-llapack
> ./configure --prefix="/opt/local" --without-framework-carbon --with-x \
> --with-cholmod="-lcholmod -lmetis"
> patch -p1 < ../qhull.diff
> sed -i '' -e 's/-arch x86_64//' Makefile
> sed -i '' -e 's/-arch x86_64//' libcruft/Makefile
> sed -i '' -e 's/-arch x86_64//' liboctave/Makefile
> sed -i '' -e 's/-arch x86_64//' src/Makefile
> make -j4
>
> My attempt ended wth ...
>
> libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f "fft2.la" && ln -s
> "../fft2.la" "fft2.la" )
> ld: warning: directory not found for option
> '-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build/x86_64-apple-darwin11/libstdc++-v3/src'
> ld: warning: directory not found for option
> '-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build/x86_64-apple-darwin11/libstdc++-v3/src/.libs'
> libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f "fftn.la" && ln -s
> "../fftn.la" "fftn.la" )
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> With id ....
>
> 906eecd4bf43+ (stable) tip
>
> My build ended with ....
>
> lex.cc: In function 'void octave_free(void*)':
> lex.cc:3871:17: warning: use of old-style cast [-Wold-style-cast]
> make[3]: *** [liboctinterp_la-lex.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Ben
My tip is now ...
$ hg id
7ffd2a0791ef+ (stable) tip
... and I am able to build again.
Ben
Re: Octave 3.5.92 snapshot available for ftp, Doug Stewart, 2012/01/06
RE: Octave 3.5.92 snapshot available for ftp, Robinson, Melvin D, 2012/01/06
Re: Octave 3.5.92 snapshot available for ftp, marco atzeri, 2012/01/06
Re: Octave 3.5.92 snapshot available for ftp, Michael D Godfrey, 2012/01/06
Re: Octave 3.5.92 snapshot available for ftp, Ben Abbott, 2012/01/06