Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 26446  / 3 Years ago, sun, may 30, 2021, 8:48:24

I've been trying to install libcurl from the git source. However when I cd into the repository and run ./configure I keep getting this error:



[*****@****** bagder-curl-f0d611d]$ ./configure
-bash: ./configure: No such file or directory


I did some googling. I'm at work and I'm not a system administrator, does that have anything to do with it? I'd rather not talk to our system administrator about this, as he is a rather unpleasant person who is typically not inclined to help.



There does seem to be a configure file:



$ls
acinclude.m4 CMakeLists.txt GIT-INFO MacOSX-Framework mkinstalldirs tests
Android.mk configure.ac include Makefile packages TODO-RELEASE
buildconf COPYING install-sh Makefile.am perl vc6curl.dsw
buildconf.bat CTestConfig.cmake lib Makefile.dist README winbuild
CHANGES curl-config.in libcurl.pc.in Makefile.msvc.names RELEASE-NOTES
CHANGES.0 curl-style.el log2changes.pl maketgz sample.emacs
CMake docs m4 missing src

More From » compiling

 Answers
1

Your permissions here don't matter, the reason you are getting that error is that it can't find the configure file.



In this case curl includes a buildconf file to prepare this for you. I successfully compiled it by doing the following steps.



First I make sure I have everything I need to build curl:



sudo apt-get build-dep curl


And then I run the following commands to build it:



buildconf
./configure
make
sudo make install


This will put the library in /usr/local/


[#36319] Sunday, May 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
breadoules

Total Points: 212
Total Questions: 118
Total Answers: 120

Location: Dominica
Member since Mon, Jun 22, 2020
4 Years ago
;