[GRASSLIST:6140] Creating Fedora Core 3 RPMS - problem at last stage...

caumann caumann at ualberta.ca
Sat Mar 12 23:30:26 EST 2005


So I modified the grass.spec file  (attached) that comes with the Suse RPM 
available for download from the grass website.  Using this, grass compiles 
fine on a Fedora Core 3 machine.  I can even create both the binary rpm and 
source RPM files.  However, when I go to install the binary rpm, I get the 
following error:

[root at michelangelo i386]# rpm -ivh --test grass-6.0.0-1.i386.rpm
error: Failed dependencies:
        libgrass_D.so is needed by grass-6.0.0-1.i386
        libgrass_I.so is needed by grass-6.0.0-1.i386
        libgrass_Iortho.so is needed by grass-6.0.0-1.i386
.....


Which I find odd, because those libraries are all contained in the rpm file 
itself:

root at michelangelo i386]# rpm -qpl grass-6.0.0-1.i386.rpm
.....
/usr/local/grass-6.0.0/lib
/usr/local/grass-6.0.0/lib/libgrass_D.6.0.0.so
/usr/local/grass-6.0.0/lib/libgrass_D.so
/usr/local/grass-6.0.0/lib/libgrass_I.6.0.0.so
/usr/local/grass-6.0.0/lib/libgrass_I.so
/usr/local/grass-6.0.0/lib/libgrass_Iortho.6.0.0.so
/usr/local/grass-6.0.0/lib/libgrass_Iortho.so
...

So, what the hell have I done wrong?  I suspect something isn't set right in 
the attached "spec" file, but I'll be damned if I can figure out what.

Any thoughts are appreciated.

Craig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: grass6.0.0.spec
Type: application/octet-stream
Size: 4086 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20050312/9a6575a3/grass6.0.0.obj


More information about the grass-user mailing list