Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225021 - sci-libs/hdf5-1.6.6: fails to compile with support for C++ (cxx) and others
Summary: sci-libs/hdf5-1.6.6: fails to compile with support for C++ (cxx) and others
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-05 17:40 UTC by Nuno Sucena Almeida
Modified: 2008-06-06 15:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Sucena Almeida 2008-06-05 17:40:44 UTC
While trying to compile hdf5 with c++ support (cxx USE flag) I noticed that the parameters were being incorrectly passed to the configure script giving the following error:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --enable-zlib --enable-fortran --disable-parallel --with-ssl --enable-linux-lfs --sysconfdir=/etc --infodir=/usr/share/info --libdir=/usr/lib --mandir=/usr/share/man --enable-shared --with-pic  --enable-cxx --with-pthread --enable-threadsafe --enable-production --build=i686-pc-linux-gnu
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  --enable-cxx --with-pthread --enable-threadsafe --enable-production


I changed sci-libs/hdf5-1.6.6.ebuild:144 from
        "${myconf}" || die "configure failed"
to
        ${myconf} || die "configure failed"

and now it compiles successfully.



Reproducible: Always

Steps to Reproduce:
1. emerge sci-libs/hdf5
2.
3.

Actual Results:  
c++ support not compiled/installed.

Expected Results:  
It should have compiled support for c++ and installed the headers, examples, etc.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-06-06 15:05:24 UTC
Thanks much for the note. I just fixed this in portage cvs.

Best,
Markus