Created
November 11, 2012 21:30
-
-
Save killerswan/4056331 to your computer and use it in GitHub Desktop.
Attempting to build and install Hackage's curl 1.3.7 and libcurl 7.28.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./configure --with-winssl --prefix=/c/code/curl_install | |
| ... | |
| $ make | |
| ... | |
| $ make install | |
| ... | |
| $ find /c/code/curl_install/ -type f | grep -v man | |
| /c/code/curl_install/bin/curl-config | |
| /c/code/curl_install/bin/curl.exe | |
| /c/code/curl_install/bin/libcurl-4.dll | |
| /c/code/curl_install/include/curl/curl.h | |
| /c/code/curl_install/include/curl/curlbuild.h | |
| /c/code/curl_install/include/curl/curlrules.h | |
| /c/code/curl_install/include/curl/curlver.h | |
| /c/code/curl_install/include/curl/easy.h | |
| /c/code/curl_install/include/curl/mprintf.h | |
| /c/code/curl_install/include/curl/multi.h | |
| /c/code/curl_install/include/curl/stdcheaders.h | |
| /c/code/curl_install/include/curl/typecheck-gcc.h | |
| /c/code/curl_install/lib/libcurl.a | |
| /c/code/curl_install/lib/libcurl.dll.a | |
| /c/code/curl_install/lib/libcurl.la | |
| /c/code/curl_install/lib/pkgconfig/libcurl.pc | |
| $ cd .. | |
| $ CPPFLAGS=-Ic:/code/curl_install/include cabal -v install curl --ld-options=-L | |
| c:/code/curl_install/lib | |
| Reading available packages... | |
| Choosing modular solver. | |
| Resolving dependencies... | |
| Extracting | |
| C:\Users\Kevin\AppData\Roaming\cabal\packages\hackage.haskell.org\curl\1.3.7\cur | |
| l-1.3.7.tar.gz | |
| to C:\Users\Kevin\AppData\Local\Temp\curl-1.3.7-3864... | |
| Configuring curl-1.3.7... | |
| Flags chosen: new-base=True | |
| Dependency base ==4.5.1.0: using base-4.5.1.0 | |
| Dependency bytestring ==0.9.2.1: using bytestring-0.9.2.1 | |
| Dependency containers ==0.4.2.1: using containers-0.4.2.1 | |
| Using Cabal-1.14.0 compiled by ghc-7.4 | |
| Using compiler: ghc-7.4.2 | |
| Using install prefix: C:\Users\Kevin\AppData\Roaming\cabal | |
| Binaries installed in: C:\Users\Kevin\AppData\Roaming\cabal\bin | |
| Libraries installed in: | |
| C:\Users\Kevin\AppData\Roaming\cabal\curl-1.3.7\ghc-7.4.2 | |
| Private binaries installed in: C:\Users\Kevin\AppData\Roaming\cabal\curl-1.3.7 | |
| Data files installed in: C:\Users\Kevin\AppData\Roaming\cabal\curl-1.3.7 | |
| Documentation installed in: | |
| C:\Users\Kevin\AppData\Roaming\cabal\doc\curl-1.3.7 | |
| Using alex version 3.0.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\lib\extralibs\bin\alex.exe | |
| Using ar found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\mingw\bin\ar.exe | |
| No c2hs found | |
| No cpphs found | |
| No ffihugs found | |
| Using gcc version 4.5.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\mingw\bin\gcc.exe | |
| Using ghc version 7.4.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\ghc.exe | |
| Using ghc-pkg version 7.4.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\ghc-pkg.exe | |
| No greencard found | |
| Using haddock version 2.11.0 found on system at: c:\Program Files | |
| (x86)\Haskell Platform\2012.4.0.0\bin\haddock.exe | |
| Using happy version 1.18.10 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\lib\extralibs\bin\happy.exe | |
| No hmake found | |
| Using hpc version 0.6 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\hpc.exe | |
| Using hsc2hs version 0.67 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\hsc2hs.exe | |
| No hscolour found | |
| No hugs found | |
| No jhc found | |
| Using ld found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\mingw\bin\ld.exe | |
| No lhc found | |
| No lhc-pkg found | |
| No nhc98 found | |
| No pkg-config found | |
| Using ranlib found on system at: C:\MinGW\bin\ranlib.exe | |
| Using strip found on system at: C:\MinGW\bin\strip.exe | |
| Using tar found on system at: C:\MinGW\msys\1.0\bin\tar.exe | |
| No uhc found | |
| sh configure --with-compiler=ghc --prefix=C:\Users\Kevin\AppData\Roaming\cabal - | |
| -with-gcc=c:\Program Files (x86)\Haskell Platform\2012.4.0.0\mingw\bin\gcc.exe | |
| checking for gcc... gcc | |
| checking for C compiler default output file name... a.exe | |
| checking whether the C compiler works... yes | |
| checking whether we are cross compiling... no | |
| checking for suffix of executables... .exe | |
| checking for suffix of object files... o | |
| checking whether we are using the GNU C compiler... yes | |
| checking whether gcc accepts -g... yes | |
| checking for gcc option to accept ANSI C... none needed | |
| checking how to run the C preprocessor... gcc -E | |
| configure: creating ./config.status | |
| config.status: creating curl.buildinfo | |
| Reading parameters from .\curl.buildinfo | |
| cabal.exe: Missing dependency on a foreign library: | |
| * Missing C library: curl | |
| This problem can usually be solved by installing the system package that | |
| provides this library (you may need the "-dev" version). If the library is | |
| already installed but in a non-standard location then you can use the flags | |
| --extra-include-dirs= and --extra-lib-dirs= to specify where it is. | |
| World file is already up to date. | |
| cabal.exe: Error: some packages failed to install: | |
| curl-1.3.7 failed during the configure step. The exception was: | |
| ExitFailure 1 | |
| $ cabal -v install curl --extra-lib-dirs=c:/code/curl_install/lib --extra-inclu | |
| de-dirs=c:/code/curl_install/include | |
| Reading available packages... | |
| Choosing modular solver. | |
| Resolving dependencies... | |
| Extracting | |
| C:\Users\Kevin\AppData\Roaming\cabal\packages\hackage.haskell.org\curl\1.3.7\cur | |
| l-1.3.7.tar.gz | |
| to C:\Users\Kevin\AppData\Local\Temp\curl-1.3.7-252... | |
| Configuring curl-1.3.7... | |
| Flags chosen: new-base=True | |
| Dependency base ==4.5.1.0: using base-4.5.1.0 | |
| Dependency bytestring ==0.9.2.1: using bytestring-0.9.2.1 | |
| Dependency containers ==0.4.2.1: using containers-0.4.2.1 | |
| Using Cabal-1.14.0 compiled by ghc-7.4 | |
| Using compiler: ghc-7.4.2 | |
| Using install prefix: C:\Users\Kevin\AppData\Roaming\cabal | |
| Binaries installed in: C:\Users\Kevin\AppData\Roaming\cabal\bin | |
| Libraries installed in: | |
| C:\Users\Kevin\AppData\Roaming\cabal\curl-1.3.7\ghc-7.4.2 | |
| Private binaries installed in: C:\Users\Kevin\AppData\Roaming\cabal\curl-1.3.7 | |
| Data files installed in: C:\Users\Kevin\AppData\Roaming\cabal\curl-1.3.7 | |
| Documentation installed in: | |
| C:\Users\Kevin\AppData\Roaming\cabal\doc\curl-1.3.7 | |
| Using alex version 3.0.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\lib\extralibs\bin\alex.exe | |
| Using ar found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\mingw\bin\ar.exe | |
| No c2hs found | |
| No cpphs found | |
| No ffihugs found | |
| Using gcc version 4.5.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\mingw\bin\gcc.exe | |
| Using ghc version 7.4.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\ghc.exe | |
| Using ghc-pkg version 7.4.2 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\ghc-pkg.exe | |
| No greencard found | |
| Using haddock version 2.11.0 found on system at: c:\Program Files | |
| (x86)\Haskell Platform\2012.4.0.0\bin\haddock.exe | |
| Using happy version 1.18.10 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\lib\extralibs\bin\happy.exe | |
| No hmake found | |
| Using hpc version 0.6 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\hpc.exe | |
| Using hsc2hs version 0.67 found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\bin\hsc2hs.exe | |
| No hscolour found | |
| No hugs found | |
| No jhc found | |
| Using ld found on system at: c:\Program Files (x86)\Haskell | |
| Platform\2012.4.0.0\mingw\bin\ld.exe | |
| No lhc found | |
| No lhc-pkg found | |
| No nhc98 found | |
| No pkg-config found | |
| Using ranlib found on system at: C:\MinGW\bin\ranlib.exe | |
| Using strip found on system at: C:\MinGW\bin\strip.exe | |
| Using tar found on system at: C:\MinGW\msys\1.0\bin\tar.exe | |
| No uhc found | |
| sh configure --with-compiler=ghc --prefix=C:\Users\Kevin\AppData\Roaming\cabal - | |
| -with-gcc=c:\Program Files (x86)\Haskell Platform\2012.4.0.0\mingw\bin\gcc.exe | |
| checking for gcc... gcc | |
| checking for C compiler default output file name... a.exe | |
| checking whether the C compiler works... yes | |
| checking whether we are cross compiling... no | |
| checking for suffix of executables... .exe | |
| checking for suffix of object files... o | |
| checking whether we are using the GNU C compiler... yes | |
| checking whether gcc accepts -g... yes | |
| checking for gcc option to accept ANSI C... none needed | |
| checking how to run the C preprocessor... gcc -E | |
| configure: error: curl libraries not found, so curl package cannot be built | |
| See `config.log' for more details. | |
| World file is already up to date. | |
| cabal.exe: Error: some packages failed to install: | |
| curl-1.3.7 failed during the configure step. The exception was: | |
| ExitFailure 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment