source install failed on RH8.0
Brought to you by:
mcfletch
Tried to install PyOpenGL-2.0.0.44-1.src.rpm on Redhat
8.0 with:
rpm --install /gslice/rpms/PyOpenGL-2.0.0.44-1.src.rpm
I get the following error:
error: cannot create %sourcedir /usr/src/redhat/SOURCES
There's no directory /usr/src/redhat on my Redhat 8.0
machine...
Logged In: YES
user_id=34901
I'm a little out of my depth here (never used RPM for
packaging). I'd guess this would be easily fixed merely by
re-building the RPM under redhat 8.0, but as I say, I'm not
sure. I've bumped the priority up a notch as RH 8.0 is
likely to be a fairly significant target for users.
(user (if you happen to read this), you might find it
easiest to unpack the source tarball and try running
"setup.py install" I'd guess the linux .config file will
still work for RH 8.0, so it should be able to install from
that).
Logged In: YES
user_id=183295
are you doing this as root?
I thought the correct way to do an .src.rpm was to do
rpmbuild --rebuild foo.src.rpm
Logged In: NO
Also the lastest tarball, and the tip of the trunk on cvs at time
of writing don't build on RH8 (well on my RH8 box anyway). I
can provide the output from configure and make if anyone
wants?
Logged In: NO
err - I guess I should say "setup.py install" rather
than "configure and make"
Logged In: YES
user_id=34901
The 2.0.1.04 release appears to build properly on Red Hat
8.0 from CVS or the source distribution. If I don't hear
differently, I will consider this a fixed bug, marking it
pending for now. Note that I haven't actually tried the
source RPM, but the binary RPM does appear to properly
install (given root privileges, of course).