Octave on Intel Mac
Anthony Michael Agelastos
iqgrande at gmail.com
Sat Mar 3 04:25:10 PST 2007
On Mar 3, 2007, at 12:19 AM, Andre Stechert wrote:
> It's not libcruft. It's the fnmatch error message that's
> preventing the build from completing.
>
> So:
>
> 1) there's only one file in liboctave that contains references to
> fnmatch, that's glob-match.cc.
> 2) it properly includes <fnmatch.h> so it's not doing something
> stupid like declaring the function itself.
> 3) therefore, it's of high probability that you have an errant
> fnmatch.h installed somewhere on your system.
>
> Do you know how to find all the fnmatch.h files that exist on your
> system? If so, can you enumerate them
> and send me the output of:
>
> ls -l
>
> and
>
> grep extern
>
> on each of them?
$ sudo find / -name fnmatch.h -exec echo "'{}'" \; -exec ls -l '{}'
\; -exec grep extern '{}' \;
Password:
'/Developer/SDKs/MacOSX10.4u.sdk/usr/include/fnmatch.h'
-rw-r--r-- 1 root wheel 3547 Sep 11 18:38 /Developer/SDKs/
MacOSX10.4u.sdk/usr/include/fnmatch.h
'/Developer/SDKs/MacOSX10.4u.sdk/usr/include/httpd/fnmatch.h'
-rw-r--r-- 1 root wheel 2595 Sep 11 22:18 /Developer/SDKs/
MacOSX10.4u.sdk/usr/include/httpd/fnmatch.h
extern "C" {
API_EXPORT(extern int) ap_is_fnmatch(const char *);
'/opt/local/include/fnmatch.h'
-rw-r--r-- 2 root admin 2191 Feb 2 22:41 /opt/local/include/
fnmatch.h
'/opt/local/var/db/dports/software/heimdal/0.7.2_0/opt/local/include/
fnmatch.h'
-rw-r--r-- 2 root admin 2191 Feb 2 22:41 /opt/local/var/db/
dports/software/heimdal/0.7.2_0/opt/local/include/fnmatch.h
'/usr/include/fnmatch.h'
-r--r--r-- 1 root wheel 3547 Sep 11 18:38 /usr/include/fnmatch.h
'/usr/include/httpd/fnmatch.h'
-rw-r--r-- 1 root wheel 2595 Sep 11 22:18 /usr/include/httpd/
fnmatch.h
extern "C" {
API_EXPORT(extern int) ap_is_fnmatch(const char *);
>
> Thanks,
Thank you for your ongoing help with this issue.
> andre
>
> On Mar 2, 2007, at 4:25 AM, Anthony Michael Agelastos wrote:
>
>> Hello,
>>
>> Amid all of the recent updates to Octave and its dependencies, I
>> still cannot get it to build on my machine. I have attached output
>> illustrating what the error is. Do you have any ideas? Sometime
>> back, I had /usr/local populated with stuff from hpc.sf.net, but
>> have since removed it. I do not know if there is some residual
>> problems from this. Based on what I could see, the error was
>> because a MacPorts' library wasn't prebound. In any event, I would
>> appreciate any assistance you guys can give. Thank you.
>>
>> -Anthony
>>
>> <installOctave.bz2>
>
More information about the macports-users
mailing list