From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Wed, 1 Dec 2010 18:24:03 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [9fans] Building Inferno on Mac OS X Topicbox-Message-UUID: 870ce0b6-ead6-11e9-9d60-3106f5b1d025 Hi, I seem to have some problems while trying to build hosted Inferno on Mac OS X. Orion% Orion% uname -a Darwin Orion.local 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386 Orion% Orion% pwd /Users/aram/inferno Orion% Orion% cat mkconfig # # Set the following 4 variables. The host system is the system where # the software will be built; the target system is where it will run. # They are almost always the same. # On Nt systems, the ROOT path MUST be of the form `drive:/path' ROOT=3D/Users/aram/inferno # # Specify the flavour of Tk (std for standard builds) # TKSTYLE=3Dstd # # Except for building kernels, SYSTARG must always be the same as SYSHOST # SYSHOST=3DMacOSX # build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris) SYSTARG=3D$SYSHOST # target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris) # # specify the architecture of the target system - Plan 9 imports it from th= e # environment; for other systems it is usually just hard-coded # OBJTYPE=3D386 # target system object type (eg, 386, arm, mips, power, s800, sparc) OBJTYPE=3D$objtype # # no changes required beyond this point # OBJDIR=3D$SYSTARG/$OBJTYPE <$ROOT/mkfiles/mkhost-$SYSHOST # variables appropriate for host system <$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type Orion% Orion% echo $PATH /Users/aram/inferno/MacOSX/386/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local= /bin:/usr/X11/bin Orion% Orion% ls /Users/aram/inferno/MacOSX/386/bin 0a 2c 8a data2s ka md5sum qa va 0c 2l 8c emu kc mk qc vc 0l 5a 8l ftl kl mk.save ql vl 1a 5c acid iar kprof mkext sqz 1c 5coff asm idea ksize mkppcimage srclist 1l 5cv c2l inm kstrip ms2 styxtest 2a 5l data2c iyacc limbo ndate tc Orion% Orion% gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-checking --enable-werror --prefix=3D/usr --mandir=3D/share/man --enable-languages=3Dc,objc,c++,obj-c++ --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin10 --program-prefix=3Di686-apple-darwin10- --host=3Dx86_64-apple-darwin10 --target=3Di686-apple-darwin10 --with-gxx-include-dir=3D/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5664) Orion% Orion% mk all warning: skipping missing include file: /Users/aram/inferno/mkfiles/mkfile-MacOSX-: No such file or directory (cd lib9; mk all) warning: skipping missing include file: /Users/aram/inferno/mkfiles/mkfile-MacOSX-: No such file or directory warning: skipping missing include file: mkfile-: No such file or directory mk: don't know how to make '/Users/aram/inferno/MacOSX//include/lib9.h' /Users/aram/inferno/MacOSX//lib/lib9.a doesn't exist: assuming it will be an archive mk: for j in ... : exit status=3Dexit(1) Orion% Anyone knows what might be the cause? Why is it looking after /Users/aram/inferno/mkfiles/mkfile-MacOSX- instead of /Users/aram/inferno/mkfiles/mkfile-MacOSX-386? Any hints what to do next? Thanks, --=20 Aram H=C4=83v=C4=83rneanu