Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399579

Summary: =sci-mathematics/octave-3.4.3-r1 fails to configure for media-gfx/imagemagick (wrong argument to ./configure)
Product: Gentoo Linux Reporter: zchen07
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: revised ebuild to fix compile against imagemagick
Ignore the last one. This one is correct.

Description zchen07 2012-01-21 06:05:59 UTC
Octave 3.4.3-r1 ebuild fails to properly configure source to build against ImageMagick when imagemagick use flag is on.

the broken configure is as follows:

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --localstatedir=/var/state/octave --enable-shared --without-hdf5 --with-blas=-lblas --with-lapack=-llapack -lblas --disable-docs --enable-readline --with-curl --with-fftw3 --with-fftw3f --with-glpk --with-magick --with-opengl --with-qhull --with-qrupdate --with-umfpack --with-colamd --with-ccolamd --with-cholmod --with-cxsparse --with-x --with-z 

The correct configure for enabling imagemagick library is:


./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --localstatedir=/var/state/octave --enable-shared --without-hdf5 --with-blas=-lblas --with-lapack=-llapack --disable-docs --enable-readline --with-curl --with-fftw3 --with-fftw3f --with-glpk --with-magick=ImageMagick --with-opengl --with-qhull --with-qrupdate --with-umfpack --with-colamd --with-ccolamd --with-cholmod --with-cxsparse --with-x --with-z

The specific changes that needs to be made is to make
--with-magick to --with-magick=ImageMagick or --with-magick=GraphicsMagick 

The attached ebuild fixes this with build enabled for imagemagick

Please update.
Comment 1 zchen07 2012-01-21 06:08:45 UTC
The build was done on amd64, so also make amd64 stable please.
Comment 2 zchen07 2012-01-21 06:09:55 UTC
Created attachment 299431 [details]
revised ebuild to fix compile against imagemagick
Comment 3 zchen07 2012-01-21 06:21:26 UTC
Created attachment 299433 [details]
Ignore the last one. This one is correct.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2012-01-21 18:29:40 UTC
This was fixed on 19 Jan 2012.