I have installed in my pc opensuse 11.1, and I have installed the gcc compiler and the library gsl. However when I try compile the file program.c appear this result in the konsole:
program.c:3:29: error: gsl/gsl_complex.h: No such file or directory
program.c:4:26: error: gsl/gsl_math.h: No such file or directory
program.c:5:34: error: gsl/gsl_complex_math.h: No such file or directory
I seem to have the same problem - XaoS 3.4 does not configure and reports that GSL is not installed. This made me look up stuff… So I discovered that GSL-1.12 is actual, from 2008-12-15. Suse-11.1 contains GSL-1.11 which is from 2008-03-30… a little bit outdated if you ask me.
And:
No update available, not even Factory/snapshot has the newer version, even though it is more than 5 months old now. I guess there is no personal repository that takes care of it, or is there?
In any case: May I hereby suggest an update?
So, what I’m gonna do in the mean time… Have yast deinstall GSL and compile&install it from source.
Well, at the time I tried I had GSL (but not gsl-devel that I assume to contain gsl-config) installed and that part looked different here:
------------------------------------------------------------
Complex math parser:
try GSL: yes
checking for gsl-config... no
checking for GSL... no
checking for nasm... no
configure: error: Neither GSL, nor NASM is installed. XaoS is unable to compile.
#
and the version:
# cat /etc/SuSE-release
openSUSE 11.1 (i586)
VERSION = 11.1
Btw, nasm is also outdated, yast just claimed to install version 2.03.90-1.3-i586 (from Factory/snapshot), nasm itself thinks different:
# nasm -v
NASM version 2.04rc1 compiled on Sep 16 2008
So yast doesn’t know that the version it installed is a bit newer - but still, version 2.04 (final) was released 2008-09-25, version 2.05 (final) was released 2008-10-23, the actual version is 2.06rc12, released 2008-05-06.
With nasm 2.04rc1 installed, it looks like this:
------------------------------------------------------------
...
Complex math parser:
try GSL: yes
checking for gsl-config... no
checking for GSL... no
checking for nasm... yes
using NASM for complex numbers
------------------------------------------------------------
Now I must find out what would be better: Using nasm or GSL.
Wrong I’m afraid, the naming scheme of the rpm and the version of the binary are not automatically the same.
In this case the packager was clever, because he chose the often used way to give a version to a rc which is smaller than the number of the upcoming release, if you would name it “2.4rc1” it would be regarded as newer compared to a later released “2.4” and the update via zypper up would be blocked, because it would not be considered an update.
Look at the packages in KDE4-factory, which are KDE4.3 beta but are named “KDE-4.2.86” or something like that.
but still, version 2.04 (final) was released 2008-09-25, version 2.05 (final) was released 2008-10-23, the actual version is 2.06rc12, released 2008-05-06.
So what?
You must learn to understand the packaging policy of openSUSE and many other distros (*Buntu, Debian to name only a few).
There are no official version updates during the life cycle of a released distribution, fixes/security updates are backported to the older versions, with only a few exceptions (Firefox, although I think this is only to keep people away from constantly asking why there is no update available because the version is not changing, although the fixes have been backported to the “older” version and you pretty much have the same Firefox just with another “number” behind it.)