Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38030 - grass 5.0.2 fails to compile due to fftw3
Summary: grass 5.0.2 fails to compile due to fftw3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 20:51 UTC by Curtis
Modified: 2005-08-17 03:04 UTC (History)
2 users (show)

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


Attachments
Modified ebuild that correct the problem (grass-5.0.2.ebuild,2.60 KB, text/plain)
2004-01-30 06:18 UTC, Fabien Fivaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis 2004-01-12 20:51:31 UTC
grass 5.0.2 ebuild fails to compile because it looks for fftw.h.  fftw 3.0.1 includes fftw3.h instead.

Reproducible: Always
Steps to Reproduce:
1.on a system that does not already have fftw 2.1.3 or greater installed, emerge grass
2.
3.

Actual Results:  
configure for grass failed because it could not find fftw.h

Expected Results:  
Configure should have found fftw.h with fftw-2.1.5 installed.  ebuild for grass
5.0.2 should specify the dependency for fftw as "=dev-lib/fftw-2.1.5"

Changing ebuild for grass 5.0.2 so that it specifies the dependency for fftw as
"=dev-lib/fftw-2.1.5" resolved the issue.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-01-13 11:14:14 UTC
could you try grass 5.0.3 ?
Comment 2 Les Denham 2004-01-14 06:47:53 UTC
Same with 5.0.3

My workaround:

1) emerge unmerge fftw
2) emerge /usr/portage/dev-libs/fftw/fftw-2.1.5.ebuild
3) emerge grass
Comment 3 Markus Neteler 2004-01-26 08:08:41 UTC
Any GRASS 5.x only supports FFT2. FFTW3 is unsupported as it's API was changed.

Hope this helps,

 Markus Neteler
 GRASS Development Team
Comment 4 Fabien Fivaz 2004-01-30 06:18:39 UTC
Created attachment 24636 [details]
Modified ebuild that correct the problem

I added a modified ebuild that corrects the problem. I.e. it forces grass to
install fftw 2.1.5 (and not fftw 3.0). Well, the problem is that portage
unmerges fftw 2.1.5 when you install something that depends on fftw3... Maybe
it would be usefull to separate fftw2 from fftw3 (dev-libs/fftw2 vs.
dev-libs/fftw3). The question is: Is it possible to install the two versions
together ?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 15:53:28 UTC
Re-assign a stale bug, please close if this is no longer an issue.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2005-08-17 03:04:47 UTC
I am not the maintainer, but since all current grass versions depend on fftw2 it
looks like this bug is history.