Using openpkg-20050920, curl fails with:
cc: ERROR File = /usr/include/openssl/kssl.h, Line = 72
The source file "krb5.h" is unavailable.
#include <krb5.h>
^
1 catastrophic error detected in the compilation of "file.c".
Compilation terminated.
make[3]: *** [file.lo] Error 1
make[3]: Leaving directory `/usr/var/tmp/openpkg-20050920/curl-7.14.1/lib'
In /usr/tmp/openpkg-20050920/curl-7.14.1/lib/ there is krb4.h, but there's
no krb5.h anywhere on my system.
Compiling with CPPFALGS=-DOPENSSL_NO_KRB5 fixed this... should this be
added to the .spec file for the IRIX build?
(I'm on IRIX 6.5.28, and kssl.h comes from openssl)
INSTALL: Install Additional Tools
...
+ cd curl-7.14.1
+ cp src/curl /usr/tmp/openpkg-20050920-root/usr/openpkg/lib/openpkg/curl
+ /usr/bin/strip
/usr/tmp/openpkg-20050920-root/usr/openpkg/lib/openpkg/curl
strip: /usr/tmp/openpkg-20050920-root/usr/openpkg/lib/openpkg/curl: not an
Elf file
+ exit 1
runscript:ERROR: script returned non-null value
$ file /usr/tmp/openpkg-20050920-root/usr/openpkg/lib/openpkg/curl
/usr/tmp/openpkg-20050920-root/usr/openpkg/lib/openpkg/curl: /bin/sh
script text
... so we're trying to strip a non-binary file. Presumably this is a
problem on other systems too, though - GNU strip behaves in exactly the
same way.
Finally, I noticed that there are lots of error about being unable to
alter file permissions if the bootstrap isn't run by root - have there
been any discussions about running these final commands via "sudo" at the
relevant time, as with NetBSD's pkgsrc?
The good news, however, is that with these two changes openpkg-20050920
built successfully using MIPSpro's cc as the compiler. Great :)
When installing th resultant script/tarball, you get "cp" errors, because
there isn't a case for IRIX/* or IRIX64/* for altering /etc/passwd and
/etc/group. Similarly there isn't an IRIX64 case fpr creating a file in
/etc/init.d, or or editing crontab (which I couldn't get to work even when
I did add in the entry). I guess this is only to be expected since IRIX
isn't yet supported though ;)
These hurdles overcome, I've now got a fully installed openpkg system!
Cheers,
Stuart
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List openpkg-dev@openpkg.org