cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem generating the binary rpm package from the source rpm for the latest curl library

From: Paul Howarth <paul_at_city-fan.org>
Date: Tue, 29 Jun 2010 10:12:23 +0100

On 29/06/10 10:02, Chitra Nanda wrote:
> Hi all,
>
> I was trying to generate the rpm for the latest curl library from the
> source rpm for curl for RHEL 5.3, 64 bit machine. There are so many
> dependent packages and it was failing for each of the dependent
> packages. I tried out some trail and error commenting out certain
> things, but I was not successful in generating the binary package
> successfully.
>
> I could see that there are the following dependencies
>
> I have tried using the commands mentioned below
>
> *#rpm -ivh curl-7.21.0-1.src.rpm *
> *#rpmbuild --bb -vv /usr/src/redhat/SPECS/curl.spec *
>
> checking for libssh2_channel_open_ex in -lssh2... no
> checking libssh2.h usability... no
> checking libssh2.h presence... no
> checking for libssh2.h... no
> configure: error: libSSH2 libs and/or directories were not found where
> specified!
> error: Bad exit status from /var/tmp/rpm-tmp.36377 (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.36377 (%build)
> D: May free Score board((nil))
>
> Since again libssh2.rpm doesn't come as part of the OS, I tried to build
> the rpm for the same. That again has the following dependencies
>
> #*rpmbuild --bb -vv /usr/src/redhat/SPECS/libssh2.spec*
> error: Failed build dependencies:
> OpenPKG is needed by libssh2-1.2.6-20100610.x86_64
> openpkg >= 20100101 is needed by libssh2-1.2.6-20100610.x86_64
> cmake is needed by libssh2-1.2.6-20100610.x86_64
> gcc::with_cxx = yes is needed by libssh2-1.2.6-20100610.x86_64
> D: May free Score board((nil))
>
> #*rpmbuild --bb -vv /usr/src/redhat/SPECS/openpkg.spec*
>
> In the spec file of this one also I had to comment out certain things,
> but still it doesn't work.
>
> I am not sure if I can just try with --nodeps switch. I am not sure if
> it is a safe way of generating the rpm without the dependencies.
>
> If someone has faced similar problems and have found any solutions for
> the same, please let me know about the same.
>
> Thanks in advance for your time.

I have Rawhide curl packages backported for every Fedora release and
RHEL 3-6 here:

http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/

You can get the library dependencies here:

http://mirror.city-fan.org/ftp/contrib/libraries/

Paul.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-29