[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem to compile Octave 2.1.73 on Windows XP with MInGW
From: |
David Bateman |
Subject: |
Re: Problem to compile Octave 2.1.73 on Windows XP with MInGW |
Date: |
Wed, 24 Jan 2007 12:47:05 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
a_disabatino wrote:
> Hi everybody
>
> I have some problem to compile Octave 2.1.73 on Windows XP
> with MinGW 1.0 .
>
> I have typed:
> ./configure --prefix=/c/octave --disable-readline
> --enable-shared --enable-dl
>
> Maybe missing some files beacuse I have got the error messages:
>
> ( look at header missing some include files and it did not
> compile glob-match method )
>
> glob-match.cc:28:21: fnmatch.h: No such file or directory
> glob-match.cc:29:18: glob.h: No such file or directory
> glob-match.cc: In member function `bool glob_match::match(const
> std::string&)':
> glob-match.cc:48: error: `FNM_PATHNAME' undeclared (first use this function)
> glob-match.cc:48: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
> glob-match.cc:51: error: `FNM_NOESCAPE' undeclared (first use this function)
> glob-match.cc:54: error: `FNM_PERIOD' undeclared (first use this function)
> glob-match.cc:57: error: `fnmatch' undeclared (first use this function)
> glob-match.cc:57: error: `FNM_NOMATCH' undeclared (first use this function)
> glob-match.cc: In member function `string_vector glob_match::glob()':
> glob-match.cc:99: error: `glob_t' undeclared (first use this function)
> glob-match.cc:99: error: expected `;' before "glob_info"
> glob-match.cc:101: error: `::glob' has not been declared
> glob-match.cc:101: error: `GLOB_NOSORT' undeclared (first use this function)
> glob-match.cc:101: error: `glob_info' undeclared (first use this function)
> glob-match.cc:124: error: `globfree' undeclared (first use this function)
> make[2]: *** [glob-match.o] Error 1
> make[2]: Leaving directory `/c/Documents and
> Settings/antonio.disabatino.EMEA/Desktop/Octave Entry
> Point/octave-2.1.73/liboctave'
> make[1]: *** [liboctave] Error 2
> make[1]: Leaving directory `/c/Documents and
> Settings/antonio.disabatino.EMEA/Desktop/Octave Entry Point/octave-2.1.73'
> make: *** [all] Error 2
>
>
> Many Thanks
> bye
> Antonio
>
>
Please don't try to compile octave under MingW with 2.1.73. There are
lots of mingw specific changes in 2.9 and MSVC changes that affect mingw
support even in the CVS. So use at least 2.9.9... You need the glob
library also that is in libc on posix systems and so is no longer part
of octave. However this is missing for mingw and msvc.. Use the library
from my website at
http://www.dbateman.org/octave/glob-1.0.tar.bz2
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary