help with installing perl module WWW::Curl::Easy

coffeeboyuk

Active Member
Nov 12, 2005
43
3
158
Hi,

I'm not sure if this is the right section but is there an Easy patch to install WWW::Curl::Easy because trying to install it failed and it requires a dependency called curl-config.

I tried to install the perl module WWW::Curl::Easy on my server in the perl module section and it gave the following error message:

====================================

Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Tue Jul 7 02:23:15 2020)
Tuned C compiler not available because it is not enabled....Done
Method: Using cpanminus
--> Working on WWW::Curl::Easy
Fetching http://www.cpan.org/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz ... OK
WWW-Curl-4.17/
WWW-Curl-4.17/LICENSE
WWW-Curl-4.17/META.yml
WWW-Curl-4.17/typemap
WWW-Curl-4.17/template/
WWW-Curl-4.17/template/Easy.pm.tmpl
WWW-Curl-4.17/template/Share.pm.tmpl
WWW-Curl-4.17/lib/
WWW-Curl-4.17/lib/WWW/
WWW-Curl-4.17/lib/WWW/Curl/
WWW-Curl-4.17/lib/WWW/Curl/Form.pm
WWW-Curl-4.17/lib/WWW/Curl/Multi.pm
WWW-Curl-4.17/lib/WWW/Curl/Easy.pm
WWW-Curl-4.17/lib/WWW/Curl/Share.pm
WWW-Curl-4.17/lib/WWW/Curl.pm
WWW-Curl-4.17/README.Win32
WWW-Curl-4.17/Curl.xs
WWW-Curl-4.17/Makefile.PL
WWW-Curl-4.17/MANIFEST
WWW-Curl-4.17/inc/
WWW-Curl-4.17/inc/Module/
WWW-Curl-4.17/inc/Module/Install.pm
WWW-Curl-4.17/inc/Module/Install/
WWW-Curl-4.17/inc/Module/Install/MakeMaker.pm
WWW-Curl-4.17/inc/Module/Install/Metadata.pm
WWW-Curl-4.17/inc/Module/Install/External.pm
WWW-Curl-4.17/inc/Module/Install/Base.pm
WWW-Curl-4.17/inc/Module/Install/Makefile.pm
WWW-Curl-4.17/inc/Module/Install/Can.pm
WWW-Curl-4.17/t/
WWW-Curl-4.17/t/06http-post.t
WWW-Curl-4.17/t/07ftp-upload.t
WWW-Curl-4.17/t/17slist.t
WWW-Curl-4.17/t/21write-to-scalar.t
WWW-Curl-4.17/t/symbols-in-versions
WWW-Curl-4.17/t/05progress.t
WWW-Curl-4.17/t/19multi.t
WWW-Curl-4.17/t/pod.t
WWW-Curl-4.17/t/15duphandle-callback.t
WWW-Curl-4.17/t/10errbuf.t
WWW-Curl-4.17/t/02callbacks.t
WWW-Curl-4.17/t/pod-coverage.t
WWW-Curl-4.17/t/14duphandle.t
WWW-Curl-4.17/t/18twinhandles.t
WWW-Curl-4.17/t/04abort-test.t
WWW-Curl-4.17/t/new/
WWW-Curl-4.17/t/new/07errbuf.t
WWW-Curl-4.17/t/new/08duphandle.t
WWW-Curl-4.17/t/new/06http-post.t
WWW-Curl-4.17/t/new/03body-callback.t
WWW-Curl-4.17/t/new/04abort.t
WWW-Curl-4.17/t/new/02header-callback.t
WWW-Curl-4.17/t/new/05progress.t
WWW-Curl-4.17/t/new/10multi-callback.t
WWW-Curl-4.17/t/new/09duphandle-callback.t
WWW-Curl-4.17/t/new/README
WWW-Curl-4.17/t/new/01basic.t
WWW-Curl-4.17/t/new/00constants.t
WWW-Curl-4.17/t/meta.t
WWW-Curl-4.17/t/09times.t
WWW-Curl-4.17/t/08ssl.t
WWW-Curl-4.17/t/20undefined_subs.t
WWW-Curl-4.17/t/01basic.t
WWW-Curl-4.17/t/13slowleak.t
WWW-Curl-4.17/t/16formpost.t
WWW-Curl-4.17/t/00constants.t
WWW-Curl-4.17/README
WWW-Curl-4.17/Changes
Configuring WWW-Curl-4.17 ... Locating required external dependency bin:curl-config... missing.
Unresolvable missing external dependency.
Please install 'curl-config' seperately and try again.
N/A
cpanminus failed with non-zero exit status: 1

All available perl module install methods have failed


====================================

How do I install curl-config? Do I type in curl-config as root to install this and then I can install the above perl module?

Kind regards,

L
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
I believe you actually want the libcurl-devel package for this.

Code:
[[email protected] ~]# rpm -ql libcurl-devel |grep curl-config
/usr/bin/curl-config
/usr/share/man/man1/curl-config.1.gz
 

coffeeboyuk

Active Member
Nov 12, 2005
43
3
158
I believe you actually want the libcurl-devel package for this.

Code:
[[email protected] ~]# rpm -ql libcurl-devel |grep curl-config
/usr/bin/curl-config
/usr/share/man/man1/curl-config.1.gz
Hi Lauren,

Can I install libcurl-devel via "Install an RPM" on WHM? Is that the same thing as your command line?

Also, last night I found a webpage that said just do this:

centOS: yum install curl-config

Is that the same as your line of codes?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hello,


On the CLI you would do:

Code:
yum -y install libcurl-devel
curl-config is a part of this package and not present in the CentOS base repository separately so you wouldn't be able to just install it.

You can also use the WHM>>Software>>Install an RPM UI to do this and libcurl-devel is present.
 
  • Like
Reactions: coffeeboyuk

coffeeboyuk

Active Member
Nov 12, 2005
43
3
158
Hello,


On the CLI you would do:

Code:
yum -y install libcurl-devel
curl-config is a part of this package and not present in the CentOS base repository separately so you wouldn't be able to just install it.

You can also use the WHM>>Software>>Install an RPM UI to do this and libcurl-devel is present.
Thanks for the explanation. I used that last yum command and then installed the perl moduled and it has worked.
 
  • Like
Reactions: cPanelLauren