On Thu, Sep 22, 2005, Stuart Shelton wrote: > > Using openpkg-20050920, curl fails with: > > cc: ERROR File = /usr/include/openssl/kssl.h, Line = 72
This should not be included at all. The system supplied openssl should not be used. > 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? It's better to look, why the curl configure/build ignores --without-ssl. > (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. I will try to reproduce this, ... > 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? Hmm, i guess you mean the errors appear when you install the created binary bootstrap package. Well, later, when openpkg-tools is working, there is the -P option for "openpkg build". This is used to specify sudo or a sudo-like command for the install. In the bootstrap, sudo cannot be used. > The good news, however, is that with these two changes openpkg-20050920 > built successfully using MIPSpro's cc as the compiler. Great :) Well, as i said, i only have gcc. But then, this has the advantage that both versions are tested (gcc and native cc). > 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! Ok, i'm trying to follow you... (mk) -- Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47 >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) << ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org