[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issues compiling 2.1.69 on FreeBSD 5.4

From: Dmitri A. Sergatskov
Subject: Re: issues compiling 2.1.69 on FreeBSD 5.4
Date: Thu, 21 Apr 2005 00:52:04 -0600
User-agent: Mozilla Thunderbird (X11/20050322)

Joan Picanyol i Puig wrote:

The octave port has been marked as broken, since it does not build on
FreeBSD. I've tried it myself and had no luck (long lines):

g++ -I/usr/local/include -I/usr/include -I. -I.. -I../liboctave -I../src 
-I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W 
-Wshadow -g -O2 -rdynamic \
-L..  -fPIC -L/usr/local/lib -o octave \
main.o  \
-L../liboctave -L../libcruft -L../src  \
-loctinterp -loctave  -lcruft  ../glob/glob.o ../glob/fnmatch.o  \
 /usr/local/lib/ -lcblas -lf77blas -latlas  -lreadline  
-lncurses -lm  -L/usr/local/lib -L/usr/lib -lg2c -lm
../liboctave/ warning: warning: tempnam() possibly used unsafely; 
consider using mkstemp()
../liboctave/ undefined reference to `fnmatch(char const*, char 
const*, int)'

Any ideas?

Octave used to have its own versions of fnmatch and glob. Those have been 
removed since
both of them are part of the POSIX. But perhaps FreeBSD does not have them
for some reason?
What do "man glob" and "man fnmatch" return on your computer?
Do you have glob.h and fnmatch.h?
Here is what I get on Linux:

man fnmatch:

       fnmatch - match filename or pathname

       #include <fnmatch.h>

       int fnmatch(const char *pattern, const char *string, int flags);

       ISO/IEC 9945-2: 1993 (POSIX.2).  The  FNM_FILE_NAME,  FNM_LEADING_DIR,
       and FNM_CASEFOLD flags are GNU extensions.




Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]