Topic: Getting curl configure arguments

I need to update cURL to a later version as I need the new features.I installed php-curl with remi repository(remi-php55)  and now I need to build latest curl from source.How can I find the configure arguments that was used to build curl on my machine ? .I don't want to break anything.

curl-config --configure give unknown unknown option: --configure

Remi could you please give me the configure arguments you used


Thanks

Re: Getting curl configure arguments

Distro ? Version ? Arch ?

In all case, building curl from sources won't help without also rebuilding PHP.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Getting curl configure arguments

OS : Centos 6.6 (64 bit)

Kindly guide me in configuring php as well smile

Regards

Re: Getting curl configure arguments

php in el6 use system libcurl 7.19

Sorry this forum is for help using my RPM, can't really help more
And, building from sources is a very bad practice.
Building updated RPM is a better one, but will create issue with other packages requiring curl (especially RPM and YUM).

Simpler to update to el7 to get libcurl 7.29

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Getting curl configure arguments

Simpler to update to el7 to get libcurl 7.29

How can i update to el7 then ?

I want same php version as i don't want things to break:)

Re: Getting curl configure arguments

See upstream documentation.

Notice: ell6/el7 upgrade is not official supported and fresh install is the recommended way.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Getting curl configure arguments

el means Enterprise Linux  right

but remi-release-7.rpm is meant for centos 7 right or i am wrong here ?

A server reinstall would mean too much downtime

Re: Getting curl configure arguments

> but remi-release-7.rpm is meant for centos 7 right or i am wrong here ?
Yes RHEL or CentOS 7
Or any other clone of RHEL, the reason why I use "Enterprise Linux"

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Getting curl configure arguments

Since OS reinstall isn't an option for me , kindly give me the curl configure arguments remi repo use for Centos 6.6 (64 bit)

I will build curl from source and then build php from source as well

I understand that you can't help me for php but i will manage .Thanks for all

Re: Getting curl configure arguments

> kindly give me the curl configure arguments remi repo use for Centos 6.6 (64 bit)

As said previously, I use curl from system.
curl is not part of my repo.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

11 (edited by khav 2015-01-14 06:46:16)

Re: Getting curl configure arguments

So if i upgrade to centos 7 then then use remi-php55 from remi-release 7 , curl 7.29 will be installed ?

Re: Getting curl configure arguments

Yes

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi