Menu

#44 source install failed on RH8.0

v2.0
closed-fixed
install (16)
7
2003-05-10
2002-10-26
Anonymous
No

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...

Discussion

  • Mike C. Fletcher

    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).

     
  • Mike C. Fletcher

    • priority: 5 --> 7
     
  • Shandy Brown

    Shandy Brown - 2003-03-24

    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

     
  • Nobody/Anonymous

    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?

     
  • Nobody/Anonymous

    Logged In: NO

    err - I guess I should say "setup.py install" rather
    than "configure and make"

     
  • Mike C. Fletcher

    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).

     
  • Mike C. Fletcher

    • assigned_to: nobody --> mcfletch
    • status: open --> closed-fixed
     

Log in to post a comment.