curl
Curl is a tool for transferring files with URL syntax,
supporting ftp, http, gopher, telnet, dict, file and ldap
Compilation
V7.15.4
Straightforward, follow the instructions in src/INSTALL
:
configure --prefix=/tmp/curl-7.15.4
make
make install # goes into /tmp/curl-7.15.4
V7.19.7
Straightforward, follow the instructions in src/INSTALL
:
configure CC=cc --prefix=/tmp/curl-7.19.7 --with-ssl
make
make install # goes into /tmp/curl-7.19.7
V7.20.1
# HP-UX 10.20, native cc
export CC=cc
configure CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" --prefix=/tmp/curl-7.20.1 --with-ssl=/opt/TWWfsw/libopenssl097/ --with-zlib=/nfs/local/1020/zlib-1.2.3
V7.21.5
# AIX 5.3 / C/C++ V8
configure CC=cc CFLAGS="-O2 -D_LARGE_FILES" --disable-shared --enable-static --prefix=/tmp/curl-7.21.5 --with-ssl=/nfs/bio/local.AIX/53/openssl-1.0.0d --with-zlib=/nfs/bio/local.AIX/53/zlib-1.2.5
make
make install # goes into /tmp/curl-7.21.5
Note that --with-ssl
only works if both
headers and libraries are present.
V7.29.0
# AIX 6.1/7.1, C 9.0/12.1
configure --prefix=/tmp/curl-7.29.0 --with-ssl=/bio/local/../61/openssl-1.0.1e --with-zlib=/bio/local/../61/zlib-1.2.7 CC=cc CFLAGS="-O2" CPPFLAGS="-D_LARGE_FILES -D_THREAD_SAFE" --disable-shared --enable-static
configure --prefix=/tmp/curl-7.29.0 --with-ssl=/nfs/local/openssl-1.0.1e --with-zlib=/nfs/local/71/zlib-1.2.7 CC=cc CFLAGS="-O2" CPPFLAGS="-D_LARGE_FILES -D_THREAD_SAFE" --disable-shared --enable-static
make
make install # goes into /tmp/curl-7.29.0
Configuration
AIX
aixpdslib versions unfortunately are build shared and fail with e.g.:
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /bio/local/lib/libcurl.a(libcurl.so.3).
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
0509-022 Cannot load module libgcc_s.a(shr.o).
Last updated: Fri, May 31, 2013 10:11:54 PM
, M.Kraemer
Impressum Data privacy protection