help-octave
[Top][All Lists]
Advanced

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

Re: issues compiling 2.1.69 on FreeBSD 5.4


From: Joan Picanyol i Puig
Subject: Re: issues compiling 2.1.69 on FreeBSD 5.4
Date: Thu, 21 Apr 2005 18:04:06 +0200
User-agent: Mutt/1.5.6i

* Dmitri A. Sergatskov <address@hidden> [20050421 09:13]:
> Oops, I missed something.
> 
> Joan Picanyol i Puig wrote:
> >Hi,
> >
> >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/libalapack_r.so -lcblas -lf77blas -latlas  -lreadline  
> > -lncurses -lm  -L/usr/local/lib -L/usr/lib -lg2c -lm
> >../liboctave/liboctave.so: warning: warning: tempnam() possibly used 
> >unsafely; consider using mkstemp()
> >../liboctave/liboctave.so: undefined reference to `fnmatch(char const*, 
> >char const*, int)'
> >
> 
> Those ../glob should not be there. For some reason your makefile is messed 
> up.

It looked wired to me as well, but removing them (even when adding a
-L../glob to the command line) yielded me "file not found" errors for
both fnmatch.o and glob.o.

> Try to remake it with "make distclean" and configure etc...

The output above was with LDFLAGS and --with-... arguments to configure,
to convince it to find my local BLAS libraries (installed in /usr/local,
I wonder why the configure script doesn't find them). I'm retrying now
a plain 'configure && gmake' run. In the meantime, I can give access to
FreeBSD machines to anyone willing to test portability.

tks
-- 
pica



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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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