Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 10:23:40 -0400
From:      "John W. Eaton" <jwe@bevo.che.wisc.edu>
To:        Joan Picanyol i Puig <lists-octave@biaix.org>
Cc:        freebsd-ports@freebsd.org
Subject:   octave and heimdal conflict around fnmatch.h (was Re: issues compiling octave-2.1.69 on FreeBSD 5.4)
Message-ID:  <17002.23148.571396.347151@devzero.bogus.domain>
In-Reply-To: <20050423141022.GA28184@grummit.biaix.org>
References:  <20050420175047.GB29990@grummit.biaix.org> <42674D94.7070108@gmail.com> <20050421155406.GB86490@grummit.biaix.org> <16999.53351.603626.223836@devzero.bogus.domain> <20050421191441.GB9754@grummit.biaix.org> <16999.65302.366221.91861@devzero.bogus.domain> <20050422130841.GB40624@grummit.biaix.org> <17001.2258.64534.72369@devzero.bogus.domain> <20050423141022.GA28184@grummit.biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23-Apr-2005, Joan Picanyol i Puig <lists-octave@biaix.org> wrote:

| Making this change allowed Octave to link cleanly. I'm not sure what the
| proper fix is, I see several options:
| 
| 1.- fix heimdal to either use the system's fnmatch.h or provide an extern
|     "C" wrapper using the __BEGIN_DECLS macro
| 2.- make octave use the system's fnmatch.h

Octave's makefiles do not add -I/usr/local/include to the compiler
flags, so it must be that your compiler is searching there by default.

I don't think it is good for an external package to install header
files that replace system headers in locations that are searched by
default.  So I'd say that the heimdal package is broken.

jwe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17002.23148.571396.347151>