[Top][All Lists]

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

Re: Octave 2.1.59 and octave-forge on Solaris 8

From: Paul Kienzle
Subject: Re: Octave 2.1.59 and octave-forge on Solaris 8
Date: Wed, 22 Sep 2004 23:46:12 -0400

On Sep 22, 2004, at 9:46 PM, Dmitri A. Sergatskov wrote:

Octave 2.1.59 compiles cleanly with gcc 3.3.3 on Solaris 8.

Octave-forge-2004.09.09 has the following three problems:

-- Makeconf has some bashisms. Setting SHELL to bash
   (SHELL=/usr/local/bin/bush in my case) solved it

I incorporated a number of patches from Dan McMahill to
remove the bashisms.  Please let me know which are

-- configure still adds "-R/usr/openwin/lib" to Makeconf
   (I thought this problem was solved some time ago?)
   Had to delete it manually.

I don't have an automatic solution for the -R/usr/openwin/lib
problem.  I'm guessing it is showing up in the X_LIBS variable?
You don't say in your messages.  You should be able to
override this during configure using something like:

        ./configure X_LIBS="-lX11 ..."

or maybe

        X_LIBS="-lX11 ..." ./configure

The other option is to submit a patch to address@hidden which
allows mkoctfile to process -R... directives correctly, though these
are likely to be compiler and environment specific, so the patches
may not be accepted.

-- still has "round" in it. I add the line:

inline double round(double x) {return (x < 0 ? ceil (x - 0.5) : floor (x + 0.5));}

   to the top of the file and it seems to fix it.

Since the value should always be positive, and since it is only
for debug purposes anyway, I replaced round with ceil directly.


- Paul

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]