delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/17/14:43:39

X-Recipient: archive-cygwin AT delorie DOT 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 AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New package: {hdf5,libhdf5_0, libhdf5-deve}-1.6.7-1
References: <4856BC59 DOT 9090104 AT users DOT sourceforge DOT net> <754172 DOT 45396 DOT qm AT web25005 DOT mail DOT ukl DOT yahoo DOT com>
In-Reply-To: <754172.45396.qm@web25005.mail.ukl.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019