octave-maintainers
[Top][All Lists]
Advanced

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

Issues with build Fedora RPMs of octave packages


From: Orion Poplawski
Subject: Issues with build Fedora RPMs of octave packages
Date: Wed, 19 Sep 2007 16:30:29 -0600
User-agent: Thunderbird 2.0.0.6 (X11/20070911)


I'm interested in making it easy to produce RPMs of octave packages for Fedora.

Starting with the rpm_template.in found in octave forge, I've got the following basic build/install instructions:

configure
make
make install DESTDIR=$RPM_BUILD_ROOT DISTPKG=redhat

The main problem with this is that this use octave pkg install and everything ends up under /usr/share/octave/packages/%name-%version/ including binary architecture dependent files. This is not acceptable in Fedora (and other distributions) and breaks the FHS.

I have made some hacks to split the .oct files into LOCALAPIOCTFILEDIR, but this bring up an issue with the recommended format of PKG_ADD:

autoload ("airy_Ai_deriv", fullfile (fileparts (mfilename ("fullpath")), "gsl_sf.oct"));

Which expects the PKG_ADD file to be in the same directory as the .oct files, which is not the case with the split.

I'd appreciate some discussion to see what would be workable to support making RPMs of octave packages.

Thanks!

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  address@hidden
Boulder, CO 80301              http://www.cora.nwra.com


reply via email to

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