9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Aram Hăvărneanu" <aram.h@mgk.ro>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Building Inferno on Mac OS X
Date: Wed,  1 Dec 2010 18:24:03 +0200	[thread overview]
Message-ID: <AANLkTi=sbkrCQWdoDW0WEpnpf7xk8um_CZfV9QgRq5on@mail.gmail.com> (raw)

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=/Users/aram/inferno

#
#	Specify the flavour of Tk (std for standard builds)
#
TKSTYLE=std

#
#	Except for building kernels, SYSTARG must always be the same as SYSHOST
#
SYSHOST=MacOSX		# build system OS type (Hp, Inferno, Irix, Linux,
MacOSX, Nt, Plan9, Solaris)
SYSTARG=$SYSHOST	# target system OS type (Hp, Inferno, Irix, Linux,
Nt, Plan9, Solaris)

#
#	specify the architecture of the target system - Plan 9 imports it from the
#	environment; for other systems it is usually just hard-coded
#
OBJTYPE=386			# target system object type (eg, 386, arm, mips, power,
s800, sparc)
OBJTYPE=$objtype

#
#	no changes required beyond this point
#
OBJDIR=$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=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10 --with-gxx-include-dir=/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=exit(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,

-- 
Aram Hăvărneanu



             reply	other threads:[~2010-12-01 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 16:24 Aram Hăvărneanu [this message]
2010-12-01 16:34 ` Aram Hăvărneanu
2010-12-01 16:40 ` Martin Kühl
2010-12-01 16:50   ` Aram Hăvărneanu
2010-12-01 17:11     ` Aram Hăvărneanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=sbkrCQWdoDW0WEpnpf7xk8um_CZfV9QgRq5on@mail.gmail.com' \
    --to=aram.h@mgk.ro \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).