pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding builtin support



The error was here:

@@ -162,6 +164,8 @@
BUILDLINK_PREFIX.openssl= /usr
. elif !empty(H_OPENSSLV:M/boot/common/*)
BUILDLINK_PREFIX.openssl= /boot/common
+. elif !empty(H_OPENSSLV:M/usr/sfw/*)
+BUILDLINK_PREFIX.openssl= /usr/sfw
. endif
. endif
. endif

After moving the check for /usr/sfw ahead of the check of /usr, native openssl is accepted. Close, but still no banana:

Now configure in e.g. net/wget fails, this is from config.log:

$ ./configure --sysconfdir=/usr/pkgsrc/20110318/etc --disable-ipv6 --with-ssl=/usr/sfw --with-libiconv-prefix=/usr/pkgsrc/20110318 --with- libintl-prefix=/usr/pkgsrc/20110318 --prefix=/usr/pkgsrc/20110318 --build=i386-sun-solaris2 --host=i386-sun-solaris2 --infodir=/usr/pkgsrc/2
0110318/info --mandir=/usr/pkgsrc/20110318/man
[...]
configure:27945: gcc -o conftest -O -I/usr/pkgsrc/20110318/include -I/usr/sfw/include -I/usr/pkgsrc/20110318/gcc34/include -I/usr/include -I /usr/pkgsrc/20110318/include -I/usr/sfw/include -I/usr/pkgsrc/20110318/gcc34/include -I/usr/include -L/software/pkgsrc/sunos5.10-x64/2011031 8/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6 -Wl,-R/software/pkgsrc/sunos5.10-x64/20110318/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4. 6 -L/software/pkgsrc/sunos5.10-x64/20110318/gcc34/bin/../lib -Wl,-R/software/pkgsrc/sunos5.10-x64/20110318/gcc34/bin/../lib -L/usr/pkgsrc/20 110318/lib -Wl,-R/usr/pkgsrc/20110318/lib -L/usr/sfw/lib -Wl,-R/usr/sfw/lib -L/usr/pkgsrc/20110318/gcc34/lib -L/usr/lib -Wl,-R/usr/lib conft est.c -ldl -lsocket -lnsl -lrt /usr/sfw/lib/libssl.so /usr/sfw/lib/libcrypto.so -R/usr/sfw/lib >&5
conftest.c:169:27: openssl/ssl.h: No such file or directory
conftest.c:170:28: openssl/x509.h: No such file or directory
conftest.c:171:27: openssl/err.h: No such file or directory
conftest.c:172:28: openssl/rand.h: No such file or directory
conftest.c:173:27: openssl/des.h: No such file or directory
conftest.c:174:27: openssl/md4.h: No such file or directory
conftest.c:175:27: openssl/md5.h: No such file or directory


When I put the tested code in a file and use the gcc command shown above from the command line, the code compiles and works. Where does pkgsrc interfere here? When and how is -I/usr/sfw/include removed?

--
 Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld


Home | Main Index | Thread Index | Old Index