Code: Select all
$ wget curl-7.21.6.tar.gz
$ ./configure --prefix=/usr/local/curl
$ make
$ sudo make install
$ wget libevent-2.0.11-stable.tar.gz
$ ./configure --prefix=/usr/local/libevent
$ make
$ sudo make install
$ wget transmission-2.22.tar
$ CFLAGS="-L/usr/local/libevent/lib -R/usr/local/libevent/lib" \
CPPFLAGS="-I/usr/local/libevent/include -I/usr/local/curl/include" \
LIBEVENT_LIBS="-L/usr/local/libevent/lib -R/usr/local/libevent/lib -levent -lrt" \
LIBEVENT_CFLAGS="-I/usr/local/libevent/include" \
LIBCURL_CFLAGS="-I/usr/local/curl/include" \
LIBCURL_LIBS="-L/usr/local/curl/lib -lcurl -lidn -lssl -lcrypto -lldap -lsocket -lnsl -lz" \
./configure --prefix=/usr/local/transmission --enable-daemon --enable-cli --disable-nls --disable-mac --disable-gtk
Code: Select all
$ ./configure -q
configure: error: in `/home/username/transmission-2.22':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables LIBCURL_CFLAGS
and LIBCURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details
Am I doing something wrong?
I'm expecting pkg-config to fail (Solaris 11 doesnt have it). I shouldn't need (or want) to install it. How come, even though I'm declaring the required environment variables it's still trying to check it?
This used to work in Solaris 10. Not working in Solaris 11. Is it doing something to incorrectly detect the environment variable declaration?
Libraries below;
Code: Select all
$ find /usr/local/curl | grep -v man
/usr/local/curl
/usr/local/curl/share
/usr/local/curl/lib
/usr/local/curl/lib/libcurl.so.4
/usr/local/curl/lib/libcurl.a
/usr/local/curl/lib/pkgconfig
/usr/local/curl/lib/pkgconfig/libcurl.pc
/usr/local/curl/lib/libcurl.so.4.2.0
/usr/local/curl/lib/libcurl.so
/usr/local/curl/lib/libcurl.la
/usr/local/curl/include
/usr/local/curl/include/curl
/usr/local/curl/include/curl/curl.h
/usr/local/curl/include/curl/mprintf.h
/usr/local/curl/include/curl/curlrules.h
/usr/local/curl/include/curl/types.h
/usr/local/curl/include/curl/curlver.h
/usr/local/curl/include/curl/easy.h
/usr/local/curl/include/curl/stdcheaders.h
/usr/local/curl/include/curl/multi.h
/usr/local/curl/include/curl/typecheck-gcc.h
/usr/local/curl/include/curl/curlbuild.h
/usr/local/curl/bin
/usr/local/curl/bin/curl
/usr/local/curl/bin/curl-config
$ find /usr/local/libevent | grep -v man
/usr/local/libevent
/usr/local/libevent/include
/usr/local/libevent/include/event.h
/usr/local/libevent/include/evrpc.h
/usr/local/libevent/include/event2
/usr/local/libevent/include/event2/event.h
/usr/local/libevent/include/event2/http_compat.h
/usr/local/libevent/include/event2/bufferevent_struct.h
/usr/local/libevent/include/event2/event-config.h
/usr/local/libevent/include/event2/thread.h
/usr/local/libevent/include/event2/dns_struct.h
/usr/local/libevent/include/event2/tag.h
/usr/local/libevent/include/event2/rpc_compat.h
/usr/local/libevent/include/event2/util.h
/usr/local/libevent/include/event2/dns.h
/usr/local/libevent/include/event2/event_struct.h
/usr/local/libevent/include/event2/http_struct.h
/usr/local/libevent/include/event2/bufferevent_ssl.h
/usr/local/libevent/include/event2/rpc.h
/usr/local/libevent/include/event2/listener.h
/usr/local/libevent/include/event2/buffer.h
/usr/local/libevent/include/event2/bufferevent_compat.h
/usr/local/libevent/include/event2/keyvalq_struct.h
/usr/local/libevent/include/event2/bufferevent.h
/usr/local/libevent/include/event2/tag_compat.h
/usr/local/libevent/include/event2/rpc_struct.h
/usr/local/libevent/include/event2/dns_compat.h
/usr/local/libevent/include/event2/http.h
/usr/local/libevent/include/event2/event_compat.h
/usr/local/libevent/include/event2/buffer_compat.h
/usr/local/libevent/include/evutil.h
/usr/local/libevent/include/evhttp.h
/usr/local/libevent/include/evdns.h
/usr/local/libevent/lib
/usr/local/libevent/lib/libevent.la
/usr/local/libevent/lib/libevent_pthreads.a
/usr/local/libevent/lib/libevent_core.a
/usr/local/libevent/lib/libevent_extra.la
/usr/local/libevent/lib/libevent_core-2.0.so.5.1.0
/usr/local/libevent/lib/libevent_core.so
/usr/local/libevent/lib/libevent_openssl-2.0.so.5
/usr/local/libevent/lib/libevent_pthreads-2.0.so.5
/usr/local/libevent/lib/libevent_core.la
/usr/local/libevent/lib/libevent_extra.so
/usr/local/libevent/lib/libevent_core-2.0.so.5
/usr/local/libevent/lib/libevent.so
/usr/local/libevent/lib/libevent_openssl.la
/usr/local/libevent/lib/libevent_pthreads.so
/usr/local/libevent/lib/libevent_pthreads-2.0.so.5.1.0
/usr/local/libevent/lib/libevent-2.0.so.5.1.0
/usr/local/libevent/lib/libevent_extra-2.0.so.5
/usr/local/libevent/lib/libevent.a
/usr/local/libevent/lib/libevent_openssl.a
/usr/local/libevent/lib/libevent_extra-2.0.so.5.1.0
/usr/local/libevent/lib/libevent_extra.a
/usr/local/libevent/lib/pkgconfig
/usr/local/libevent/lib/pkgconfig/libevent_pthreads.pc
/usr/local/libevent/lib/pkgconfig/libevent.pc
/usr/local/libevent/lib/pkgconfig/libevent_openssl.pc
/usr/local/libevent/lib/libevent-2.0.so.5
/usr/local/libevent/lib/libevent_openssl-2.0.so.5.1.0
/usr/local/libevent/lib/libevent_openssl.so
/usr/local/libevent/lib/libevent_pthreads.la
/usr/local/libevent/bin
/usr/local/libevent/bin/event_rpcgen.py