rpms/octave/FC-4 .cvsignore, 1.5, 1.6 octave.spec, 1.27, 1.28 sources, 1.5, 1.6

Michael Schwendt bugs.michael at gmx.net
Sat Mar 25 01:14:24 UTC 2006


On Fri, 24 Mar 2006 15:59:15 -0600, Quentin Spencer wrote:

> Michael Schwendt wrote:
> 
> >On Thu, 23 Mar 2006 09:45:32 -0500, Quentin Spencer wrote:
> >
> >  
> >
> >>Author: qspencer
> >>
> >>Update of /cvs/extras/rpms/octave/FC-4
> >>    
> >>
> >
> >  
> >
> >>@@ -40,7 +40,7 @@
> >> Group:          Development/Libraries
> >> Requires:       %{name} = %{epoch}:%{version}-%{release}
> >> Requires:       readline-devel fftw-devel hdf5-devel zlib-devel
> >>-Requires:       lapack-devel blas-devel
> >>+Requires:       lapack-devel blas-devel gcc-c++
> >>    
> >>
> >
> >*sigh*  Why? So, something like gcc42-c++ would no longer 
> >be sufficient? There's nothing in this -devel package which
> >requires gcc-c++ to be present.
> >  
> >
> 
> I added this because octave-devel contains a script called mkoctfile 
> that is used to compile dynamically loadable modules for octave. 
> mkoctfile is basically a wrapper around g++, so it breaks if g++ is not 
> present on the system, and it is the primary reason for installing 
> octave-devel; octave-devel is not very useful without it. However, I 
> recently discovered that it is possible to install octave-devel and all 
> of its dependencies without installing any compilers, so I added this. 
> If I have a minimal system with octave on it but no compilers, and I 
> decide to write a module in c++, I'd like to yum install octave-devel 
> and know that the mkoctfile script will work, which wasn't the case before.

You forgot to add "gcc-gfortran" to your minimal system, since mkoctfile
supports not just C/C++. ;) Adding "make" and other tools would make
sense, too, but of course, you picked a very specific "minimal development
system". It's like requiring a specific browser for HTML documentation
files, so nobody installs such documentation on a minimal system.

Did you know it's possible to install the C++ Standard Library
without installing gcc-c++? (yum install libstdc++-devel)




More information about the fedora-extras-list mailing list