Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399579 - =sci-mathematics/octave-3.4.3-r1 fails to configure for media-gfx/imagemagick (wrong argument to ./configure)
Summary: =sci-mathematics/octave-3.4.3-r1 fails to configure for media-gfx/imagemagick...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-21 06:05 UTC by zchen07
Modified: 2012-01-21 18:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
revised ebuild to fix compile against imagemagick (octave-3.4.3-r2.ebuild,2.32 KB, text/plain)
2012-01-21 06:09 UTC, zchen07
Details
Ignore the last one. This one is correct. (octave-3.4.3-r2.ebuild,2.32 KB, text/plain)
2012-01-21 06:21 UTC, zchen07
Details

Note You need to log in before you can comment on or make changes to this bug.
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.