Professional Web Applications Themes

Updating RPMs from source builds - Linux Setup, Configuration & Administration

I rebuilt python from source because the rpm kit wasn't allowing me to install the binary (dependency issues). Now, rpm -q python on my system reports python-1.5.3-43.73, while python -V reports 2.3.2. Is there any way to tell rpm that the installed version of python is 2.3.2? Would it work to build an rpm kit from the installed version?...

  1. #1

    Default Updating RPMs from source builds

    I rebuilt python from source because the rpm kit wasn't allowing me to
    install the binary (dependency issues). Now, rpm -q python on my system
    reports python-1.5.3-43.73, while python -V reports 2.3.2.

    Is there any way to tell rpm that the installed version of python is 2.3.2?
    Would it work to build an rpm kit from the installed version?
    Lyle Guest

  2. #2

    Default Re: Updating RPMs from source builds



    Lyle H. Gray wrote: 

    Which probably means that you *needed* those dependencies ...

    Now, rpm -q python on my system 

    Ofcourse, what else would you expect ??
     

    Why do you want to "tell" rpm what version of python is installed ? For
    all you care, if you use the correct path of your compiled and installed
    python, everything will work !

    Sayantan Guest

  3. #3

    Default Re: Updating RPMs from source builds

    Sayantan Sur <ohio-state.edu> wrote in
    news:bo8d3e$jjs$cis.ohio-state.edu:
     
    >
    > Which probably means that you *needed* those dependencies ...[/ref]

    Maybe yes, maybe no. All it means for sure is that the rpm was built
    with those dependencies. For instance, one of the rpms that I downloaded
    requires /bin/echo 2.1, which I don't have and can't seem to find (I know
    it's part of sh-utils, but the highest version of sh-utils that I've
    found is 2.0.11). But, when I built from source, it used the installed
    copy of /bin/echo 2.0.11 just fine.
     
    >
    > Why do you want to "tell" rpm what version of python is installed ?
    > For all you care, if you use the correct path of your compiled and
    > installed python, everything will work ![/ref]

    Well, yes, but I really like one "one stop shopping" of checking rpm to
    find out what versions I have installed. :-)
    Lyle Guest

  4. #4

    Default Re: Updating RPMs from source builds

    On Tue, 04 Nov 2003 14:32:42 GMT,
    Lyle H. Gray <spam.cs.umass.edu.invalid> wrote:

     

    Knowing that, --nodeps can sidestep this requirement. Can't imagine
    what difference between ehco version 2.0 and 2.1 mandates using the latter
    version.

    I would expect sh-utils to be available on the www.gnu.org site.
    Actualy echo is now included with the corutils package. Also these GNU
    utilities don't have individual version numbers. From where did you
    download said python package?

    Villy
    Villy Guest

  5. #5

    Default Re: Updating RPMs from source builds

    ohout.pharmapartners.nl (Villy Kruse) wrote in
    news:ohout.pharmapartners.nl:
     
    >
    > Knowing that, --nodeps can sidestep this requirement. Can't imagine
    > what difference between ehco version 2.0 and 2.1 mandates using the
    > latter version.[/ref]

    None that I could find -- I later found a note buried in an archive that
    said that the requirement was wrong.
     

    http://www.python.org, v. 2.3
    Lyle Guest

  6. #6

    Default Re: Updating RPMs from source builds

    On Wed, 05 Nov 2003 15:02:21 GMT,
    Lyle H. Gray <spam.cs.umass.edu.invalid> wrote:

     
    >
    >http://www.python.org, v. 2.3[/ref]


    You could download the .src.rpm file from the same place. Then run

    rpmbuild --rebuild python2.3-2.3.2-1pydotorg.src.rpm

    That should generate a rpm file somewhere in /usr/src/redhat/RPMS/*
    which should not have the dependecy problem. Systems other than redhat
    system may install the generated .rpm file in another place.

    Villy
    Villy Guest

  7. #7

    Default Re: Updating RPMs from source builds

    ohout.pharmapartners.nl (Villy Kruse) wrote in
    news:ohout.pharmapartners.nl:
     
    >>
    >>http://www.python.org, v. 2.3[/ref]
    >
    >
    > You could download the .src.rpm file from the same place. Then run
    >
    > rpmbuild --rebuild python2.3-2.3.2-1pydotorg.src.rpm
    >
    > That should generate a rpm file somewhere in /usr/src/redhat/RPMS/*
    > which should not have the dependecy problem. Systems other than redhat
    > system may install the generated .rpm file in another place.[/ref]

    Well, that was a good idea, but I got the following dependency errors:

    error: failed build dependencies:
    expat-devel is needed by python2.3-2.3.2-1pydotorg
    db4-devel is needed by python2.3-2.3.2-1pydotorg

    I can't find either of these packages.
    Lyle Guest

  8. #8

    Default Re: Updating RPMs from source builds

    On 2003-11-04, Lyle H. Gray <spam.cs.umass.edu.invalid> wrote:
     

    You may be able to build and install an rpm from a source rpm package,
    e.g. ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/python-2.2.3-7.src.rpm

    Download the package and run "rpmbuild --rebuild python-2.2.3-7.src.rpm"
    and (dependencies willing) it will build an installable binary rpm for
    you.

    --

    -John (rr.com)
    John Guest

  9. #9

    Default Re: Updating RPMs from source builds

    On 2003-11-06, Lyle H. Gray <spam.cs.umass.edu.invalid> wrote:
     

    ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/expat-1.95.5-3.src.rpm
    ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/db4-4.1.25-14.src.rpm

    --

    -John (rr.com)
    John Guest

  10. #10

    Default Re: Updating RPMs from source builds

    John Thompson <os2.dhs.org> wrote in
    news:os2.dhs.org:
     
    >
    > ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/expat-1.95.5-3.src.rpm
    > ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/db4-4.1.25-14.src.rpm[/ref]

    I'll give these a try, thank you.

    Lyle Guest

Similar Threads

  1. Updating Top Nav Bar - Source in NoteBook?
    By HYDRAMAX in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: January 20th, 05:46 PM
  2. Perl, Tk, and RPMS
    By Gary Stainburn in forum PERL Beginners
    Replies: 0
    Last Post: February 6th, 12:24 PM
  3. RPMS and NIM
    By Michael Jones in forum AIX
    Replies: 2
    Last Post: September 16th, 01:27 PM
  4. Source Builds
    By David Z Maze in forum Debian
    Replies: 5
    Last Post: August 7th, 09:40 AM
  5. Updating control source in form design
    By Brian in forum Microsoft Access
    Replies: 1
    Last Post: July 3rd, 07:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139