Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2006 14:33:07 +0200
From:      Maxime Guillaud <bsd-ports@mguillaud.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: octave build failed in atlas on releng_6
Message-ID:  <4440E803.4020207@mguillaud.net>
In-Reply-To: <21bc91010512251904m5d11cf37rfe0de8f7ea320f6d@mail.gmail.com>
References:  <21bc91010512251904m5d11cf37rfe0de8f7ea320f6d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080004060909000300010400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I managed to build Octave by disabling atlas (see the attached patch to 
the Makefile). I have not tested the performance/other consequences, but 
at least octave builds and runs.

Maxime


Ranko Sredojevic wrote:
>   Hi all,
> 
> I was playing around and upgrading from RELENG_6_0 to RELENG_6.
> 
> I started by deleting all the ports... cleaned everything so
> 
> pkg_info
> 
> wasn't reporting anything.
> 
> Then I changed tag in my cvs-supfile to RELENG_6 from RELENG_6_0,
> and cvsup-ed (ports-all,src-all).
> 
> I rebult world, precompiled kernel in first try.
> After that, I rebuilt xorg, gnome, latex, vim, xmms, gaim and subversion
> without any problems. However, rebuilding octave finished, after 18hours
> with:
> 
> ATLAS install complete.  Examine
> ATLAS/bin/<arch>/INSTALL_LOG/SUMMARY.LOG for details.
> (cd /usr/ports/math/atlas/work/ATLAS; /bin/mkdir -p tmp1 ;  /bin/cp
> /usr/ports/m
> ath/atlas/work/lapack/work/LAPACK/SRC/liblapack.a tmp1 ; cd tmp1 ; ar x
> liblapac
> k.a ; ar x ../lib/NON_THREADED/liblapack.a ; ar r
> ../lib/NON_THREADED/libalapack
> .a *.o ; ranlib ../lib/NON_THREADED/libalapack.a )
> ar: creating ../lib/NON_THREADED/libalapack.a
> (cd /usr/ports/math/atlas/work/ATLAS; /bin/mkdir -p tmp2 ; /bin/cp
> /usr/ports/m
> ath/atlas/work/lapack/work/LAPACK/SRC/liblapack.a tmp2 ; cd tmp2 ; ar x
> liblapac
> k.a ; ar x ../lib/THREADED/liblapack.a ; ar r ../lib/THREADED/liblapack.a
> *.o ;
> ar: ../THREADED/liblapack.a: No such file or directory
> *** Error code 9
> 
> Stop in /usr/ports/math/atlas.
> ***Error code 1
> 
> Stop in /usr/ports/math/octave.
> 
> I tried building in single user mode, since last time I was told to try not
> to load
> machine with anything in order to get atlas compiled properly.
> 
> I compiled octave before in RELENG_6_0 just fine. Any clue/cure?
> 
> rasha
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 


--------------080004060909000300010400
Content-Type: text/plain;
 name="Makefile.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Makefile.patch"

--- Makefile.orig	Thu Jan 26 11:33:50 2006
+++ Makefile	Thu Jan 26 11:35:59 2006
@@ -16,8 +16,7 @@
 
 BUILD_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
 RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
-LIB_DEPENDS=	fftw.2:${PORTSDIR}/math/fftw \
-		atlas.1:${PORTSDIR}/math/atlas
+LIB_DEPENDS=	fftw.2:${PORTSDIR}/math/fftw
 
 USE_BZIP2=	yes
 USE_PERL5_BUILD=yes
@@ -38,7 +37,7 @@
 		F77="${F77}" \
 		FFLAGS="${FFLAGS}"
 CONFIGURE_ARGS=	--host=${GNU_HOST} \
-		--with-blas="-L${LOCALBASE}/lib -lf77blas -lcblas -latlas" \
+		--without-blas \
 		--with-lapack=-lalapack \
 		--enable-shared
 

--------------080004060909000300010400--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4440E803.4020207>