[OpenIndiana-discuss] Need some building expertise, Thank You.

Jason Martin agrellum at gmail.com
Wed May 23 18:52:16 UTC 2018


When building the subversion plugin why is PKG_CHECK_MODULES returning 
32 bit?


Patched configure.ac to

echo PKG_CONFIG_PATH

YES /usr/lib/amd64/pkgconfig/gnutls-3:
YES /usr/lib/amd64/pkgconfig:
YES /usr/apr/lib/amd64/pkgconfig:
YES /usr/apr-util/lib/amd64/pkgconfig:

echo what is returned after PKG_CHECK_MODULES(APR .... call

-L/usr/apr/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl -lpthread

############################# NO ##################################

-L/usr/apr/lib is not right


######### /usr/apr/lib/amd64/pkgconfig/apr-1.pc ##### is correct

prefix=/usr/apr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib/amd64
APR_MAJOR_VERSION=1
includedir=${exec_prefix}/include

Name: APR
Description: The Apache Portable Runtime library
Version: 1.5.2
Libs: -L${libdir} -lapr-${APR_MAJOR_VERSION} -luuid -lsendfile -lsocket 
-lnsl  -lpthread
Cflags: -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I${includedir}





More information about the openindiana-discuss mailing list