help-octave
[Top][All Lists]
Advanced

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

Re: Octave 2.0.14 build under RH6.1


From: Johan Kullstam
Subject: Re: Octave 2.0.14 build under RH6.1
Date: 01 Nov 1999 17:49:06 -0500
User-agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4

Andy Boden <address@hidden> writes:

> Hi,
> 
> I've been using the "production" version of octave (2.0.14) for some
> time
> under a RH 5.2 linux distribution.  I'm in the process of upgrading my
> machines to the latest RH 6.1, and my octave build stopped working on
> the
> upgraded machines.
> 
> Okay, no big deal, just run configure and recompile it under the new RH
> release and I should be back up and working.  Well, I tried that this
> morning and I ran into a problem with the code looking for nan.h --
> which
> exists in /usr/include on my RH 5.2 laptop but no longer exists on my
> RH 6.1 desktop.
> 
> So:
> 
> 1) I'm a little suprised that configure didn't catch this, but I tried
> it
> twice and it's repeatable.  Is this known/understood?  (Surely...)
> 
> 2) Am I misinformed that v2.0.14 is what I should be using?  Is there a
> more
> recent "stable" release?  If not, is there a straightforward workaround
> or
> patch I can download and install?  Or should I be considering going to
> the
> bleeding-edge octave tree?
> 
> 3) Is anyone else having better luck with either building or using the
> pre-built
> 2.0.14 octave on the RH6.1 installation?

here is my spec file.  perhaps it will help.

put the octave source in /usr/src/redhat/SOURCES
put the spec in /usr/src/redhat/SPECS
in /usr/src/redhat/SPECS run rpm -ba octave-2.0.14.spec
wait for a while....
install your new rpm which should be in /usr/src/redhat/RPMS/i386

if anyone wants this spec file, you are free to use it.

---------------------octave-2.0.14.spec--------------------------------------
Summary: Octave Linear Algebra Toolbox
Name: octave
Version: 2.0.14
Packager: Johan Kullstam <address@hidden>
Release: 1
Source: ftp://ftp.che.wisc.edu/pub/octave/octave-2.0.14.tar.bz2
Copyright: GPL
Group: Applications
BuildRoot: /tmp/octave-root

%description
Octave is a linear algebra toolkit and script interpreter.

%changelog
* Sat Apr 17 1999 Johan Kullstam <address@hidden>
- update to 2.0.14

* Wed Oct 28 1998 Johan Kullstam <address@hidden>
- first build

%prep
%setup

%build
./configure --prefix=/usr --enable-lite-kernel --enable-shared --disable-static 
i686-redhat-linux-gnu
make 

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr
make prefix=$RPM_BUILD_ROOT/usr install
strip $RPM_BUILD_ROOT/usr/bin/octave-2.0.14
gzip -q9f $RPM_BUILD_ROOT/usr/info/*.info*

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%doc [A-LN-Z]*
%doc doc
/usr/bin/mkoctfile
/usr/bin/octave-2.0.14
/usr/bin/octave
/usr/bin/octave-bug
/usr/include/octave-2.0.14
/usr/include/octave
/usr/info/octave.info*
/usr/lib/octave-2.0.14
/usr/lib/octave
/usr/libexec/octave
/usr/man/man1/octave.1
/usr/share/octave
--------------------------eof------------------------------------------------

-- 
J o h a n  K u l l s t a m
address@hidden
Don't Fear the Penguin!



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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