X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <485805D9.1090504@users.sourceforge.net>
Date: Tue, 17 Jun 2008 13:43:37 -0500
From: "Yaakov (Cygwin Ports)" <yselkowitz@users.sourceforge.net>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] New package: {hdf5,libhdf5_0, libhdf5-deve}-1.6.7-1
References: <4856BC59.9090104@users.sourceforge.net> <754172.45396.qm@web25005.mail.ukl.yahoo.com>
In-Reply-To: <754172.45396.qm@web25005.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Marco Atzeri wrote:
| I put the hdf5 in a separate directory just to have
| a more clean /usr/include structure as
| hdf5.h call tens of other HDF5 header.

The problem is that dependent packages expect them in /usr/include, and
have no way of knowing that they are elsewhere, as hdf5 uses neither
pkg-config nor its own -config script.

For example, try building octave-fltk:

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/octave/fltk/

You'll get an error because octave/ov.h can't find hdf5.h.

| I built the extensions of octave-forge with just
| CPPFLAGS="-I/usr/include/hdf5"
| before calling octave for the pkg install.

Yes, but *every* package requiring hdf5 directly or indirectly will need
this, which is an unnecessary inconvenience.

| If you really need I will modify the package,
| but I think that /usr/include/hdf5
| is a more clean solution

You'll find it's best to stick with upstream packaging rules and
precedent set by other distros.  It will make things much easier for
yourself and others.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkhYBdkACgkQpiWmPGlmQSOUkACgyP7mPdNxLPtu6bVf/zMdsaTL
hPQAn3eoVBapnAtcazdZZceAGSZWKqBh
=TGm5
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

