From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Staal To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Mon, 28 Jan 2013 15:32:46 +0100 Message-ID: <4416949.by7CGtnULM@krypton> User-Agent: KMail/4.9.5 (Linux/3.7.4-1-ARCH; KDE/4.9.5; x86_64; ; ) In-Reply-To: <006549EF-F9F0-4DE1-A4EC-2B7F6E7FBCBA@cs.ioc.ee> References: <006549EF-F9F0-4DE1-A4EC-2B7F6E7FBCBA@cs.ioc.ee> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [9fans] trying to populate arm tree Topicbox-Message-UUID: 0f43938e-ead8-11e9-9d60-3106f5b1d025 On Monday 28 January 2013 14.46.38 James Chapman wrote: > > The build fails with a lot of cpp errors about /sys/include/ape/openssl/*.h > > about unknown object type. > > How can i exclude openssl from the build? > > I'm assuming I won't be able to build it. I can put up with cpuing in to run > the extra stuff I have installed. > > I tried adding openssl to BUGGERED in /sys/src/cmd/mkfile but this didn't > help. > > James specifically for this reason, I have repackaged a couple of ports and put "non core" packages/ports under /sys/src/pkg/$packagename. Because of this, my /sys/src/ape/lib is clean and I could without problems build for all supported architectures (could come in handy if I ever want to cross-compile one of my ports to another architecture) with "mk installall" - with one exception: /sys/src/ape/lib/ap/mips/lock.c contained functions where the compiler complained about missing return values. I have a tarball on my Plan9 machine where I repackaged fgb's openssl to put the sources in /sys/src/pkg/openssl (and added a #pragma lib to libssl and libcrypt in a header I think). My initial plan was to try to build a newer openssl but it was far too complicated (the tarball contains symlinks that disappear on Plan9 and Configure required Perl). If you want I could upload this one. for libz and libbz2 I can also offer updated ports can be found at /n/sources/contrib/staal1978/pkg/