octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34725] Something regarding Lex causes build f


From: Edd Barrett
Subject: [Octave-bug-tracker] [bug #34725] Something regarding Lex causes build failure on OpenBSD
Date: Wed, 02 Nov 2011 14:26:13 +0000
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Follow-up Comment #4, bug #34725 (project octave):

Hi John,

Looks like you are correct about .df files:


% pwd
/usr/ports/pobj/octave-3.4.3/octave-3.4.3
% find . -name '*.df*'
%                          <- (nothing!)


There are no df files. I reckon this is likely to be subtle differences
between our toolchains.

OK, here is how to build on OpenBSD:

You can install packages using pkg_add. Make sure you have set the environment
variable PKG_PATH (usually I set this in /etc/profile), for example:

export PKG_PATH=ftp://ftp.fr.openbsd.org/pub/OpenBSD/4.9/packages/amd64/


Notice the URL is sensitive to OpenBSD version and your system architecture.

Now you can add packages with `pkg_add -i <pkgname>` as root.

I think you will need:
g77
libf2c
gmake
desktop-file-utils
fftw3
lapack
blas
amd
umfpack
pcre
curl
glpk

Although some of these may be optional, this is what I am using.

Note that packages are installed in /usr/local, which is not a default include
and linker path, so you will have to set the "influential environment
variables" prior to running ./configure

If you need a newer flex than what is in the base distribution, then install
the "flex package", the binary for this is 'gflex' similarly for gcc the
binary name for this is 'egcc'.

This is the patch I am using to work around #34663:
https://raw.github.com/vext01/ports-wip/master/math/octave/patches/patch-src_sighandlers_cc

I hope this helps and thanks for your time.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34725>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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