How do I build libcurl from source?

Mike Flynn

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
Jorge Castro

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/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I build libcurl from source?

From Dev

How do I build Unity from source?

From Dev

How do I build Nautilus 3.70/3.80 from source?

From Dev

How do I build and install a Puppet module locally from source?

From Dev

How do I build Nautilus 3.70/3.80 from source?

From Dev

How do I build Libgdx.so from source for Android with gdb tracing enabled?

From Dev

How do I fetch Cake Build prerelease addin from alternative source?

From Dev

How do I build Libgdx.so from source for Android with gdb tracing enabled?

From Dev

How do I build Tmux from source without root access with a custom-built libevent 2.1?

From Dev

Do I need to install libcurl source package to use it for development?

From Dev

How do I use the output of a program from an earlier part of a Stack/Cabal build as source in a later part of the same build?

From Dev

How do I enable https support in libcurl?

From Dev

How do I enable rsync in libcurl?

From Dev

How do I compile from source on github?

From Dev

How do I build Boost from github?

From Dev

How do I build Boost from github?

From Dev

How can I build KDE Dolphin from its source code?

From Dev

How to build Compiz from source?

From Dev

FreeBSD 9.2: how do I install libcurl with openssl?

From Dev

How do I compile the latest gvim from source

From Dev

How do I refresh/reload my DataTable from HTML source

From Dev

How do I create an Akka Source[String] from a text file?

From Dev

How do I update Ubuntu packages from source?

From Dev

How do I update Ubuntu packages from source?

From Dev

How do I compile the latest gvim from source

From Dev

How do I extract the source MAC from a [UFW BLOCK] entry?

From Dev

How do I finish the installation of a program from source?

From Dev

How do I compile and use liboverlay-scrollbar from source?

From Dev

How do I remove CMake after installing it from source?

Related Related

  1. 1

    How do I build libcurl from source?

  2. 2

    How do I build Unity from source?

  3. 3

    How do I build Nautilus 3.70/3.80 from source?

  4. 4

    How do I build and install a Puppet module locally from source?

  5. 5

    How do I build Nautilus 3.70/3.80 from source?

  6. 6

    How do I build Libgdx.so from source for Android with gdb tracing enabled?

  7. 7

    How do I fetch Cake Build prerelease addin from alternative source?

  8. 8

    How do I build Libgdx.so from source for Android with gdb tracing enabled?

  9. 9

    How do I build Tmux from source without root access with a custom-built libevent 2.1?

  10. 10

    Do I need to install libcurl source package to use it for development?

  11. 11

    How do I use the output of a program from an earlier part of a Stack/Cabal build as source in a later part of the same build?

  12. 12

    How do I enable https support in libcurl?

  13. 13

    How do I enable rsync in libcurl?

  14. 14

    How do I compile from source on github?

  15. 15

    How do I build Boost from github?

  16. 16

    How do I build Boost from github?

  17. 17

    How can I build KDE Dolphin from its source code?

  18. 18

    How to build Compiz from source?

  19. 19

    FreeBSD 9.2: how do I install libcurl with openssl?

  20. 20

    How do I compile the latest gvim from source

  21. 21

    How do I refresh/reload my DataTable from HTML source

  22. 22

    How do I create an Akka Source[String] from a text file?

  23. 23

    How do I update Ubuntu packages from source?

  24. 24

    How do I update Ubuntu packages from source?

  25. 25

    How do I compile the latest gvim from source

  26. 26

    How do I extract the source MAC from a [UFW BLOCK] entry?

  27. 27

    How do I finish the installation of a program from source?

  28. 28

    How do I compile and use liboverlay-scrollbar from source?

  29. 29

    How do I remove CMake after installing it from source?

HotTag

Archive