9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: david jeannot <djeannot24@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] plan9port: cocoa programmer needed
Date: Wed, 14 Sep 2011 20:10:33 +0200	[thread overview]
Message-ID: <CA+N9rY=ZL6mQBCJKjjO-6jfNZ_ntqLZCTJqg=5P2OFQRxTrMhA@mail.gmail.com> (raw)
In-Reply-To: <CAK4xykXxJBP7cnzuV=RwbuFrraEPTfFppmvUCEbnNzDSPT_c+g@mail.gmail.com>

> could somebody put together a step-by-step on how
> to build for Lion?  I've downloaded the plan9ports
> tarball, extracted it to /usr/local/plan9, and
> done an hg pull -u, but INSTALL dies with
> complaints from ld about a malformed TOC entry in
> libbio.a.

John, this problem comes from Xcode 4.1.  If the
change to 9ar doesn't work for you (it doesn't for
me), try this hack:

	http://9fans.net/archive/2011/09/75

All should compile except Devdraw.  There are 3
versions of Devdraw in src/cmd/devdraw(!) The
default is the Carbon version: It doesn't work
anymore.  Then there is "devdraw-cocoa": an old
attempt.  Then there is my version, currently
called "cocoa", but it is the last week's release,
and I don't recommend to use it.  I recommend to
use the yesterday's release: it is not in the
official tree yet, but there is a patch here:

	http://codereview.appspot.com/5015042

Then you can do:

	mk cocoa && DEVDRAW=cocoa colors

But you cannot do:

	mk cocoa && DEVDRAW=cocoa acme

because, apparently, all that is based on
Libthread doesn't work.  If you do a small program
with 2 procs, a qlock, and some print(), you will
see that the output is very inconsistent.  Russ
recently said: "I am using Xcode 4.2 on Lion
without problems".  So it is maybe another Xcode
4.1 issue.

A solution is to use old binaries working on Snow Leopard, and then you can do:

	mk cocoa && DEVDRAW=cocoa acme



  reply	other threads:[~2011-09-14 18:10 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 20:31 Russ Cox
2011-08-03  4:25 ` David Leimbach
2011-08-03 12:52   ` Russ Cox
2011-08-07 22:14     ` David Leimbach
2011-08-07 23:59       ` [9fans] " andrey mirtchovski
2011-08-25 18:33     ` david jeannot
2011-08-25 19:09       ` Russ Cox
2011-08-25 20:35       ` David Leimbach
2011-08-26 14:11       ` Russ Cox
2011-08-26 17:05         ` david jeannot
2011-08-27 18:31           ` david jeannot
2011-08-28  2:40             ` Russ Cox
2011-08-28 10:14               ` david jeannot
2011-09-04  9:51                 ` david jeannot
2011-09-06 14:16                   ` Russ Cox
2011-09-06 15:47                     ` David Leimbach
2011-09-06 15:52                     ` Aram Hăvărneanu
2011-09-06 16:03                       ` Russ Cox
2011-09-06 16:25                         ` Aram Hăvărneanu
2011-09-06 18:34                           ` Latchesar Ionkov
2011-09-06 18:54                             ` David Leimbach
2011-09-06 19:18                               ` Latchesar Ionkov
2011-09-06 19:37                                 ` Russ Cox
2011-09-06 19:41                                   ` david jeannot
2011-09-06 19:41                                   ` David Leimbach
2011-09-06 19:42                                     ` David Leimbach
2011-09-06 19:43                                   ` andrey mirtchovski
2011-09-06 19:45                                     ` andrey mirtchovski
2011-09-06 20:17                                       ` david jeannot
2011-09-06 20:23                                       ` andrey mirtchovski
2011-09-13 15:59                                         ` david jeannot
2011-09-13 17:22                                           ` David Leimbach
2011-09-14 14:29                                           ` Jeff Sickel
2011-09-14 16:40                                             ` david jeannot
2011-09-14 16:57                                               ` hiro
2011-09-14 17:17                                           ` John Floren
2011-09-14 17:23                                             ` andrey mirtchovski
2011-09-14 17:28                                               ` David Leimbach
2011-09-14 17:31                                                 ` ron minnich
2011-09-14 17:34                                                   ` David Leimbach
2011-09-14 17:48                                                   ` andrey mirtchovski
2011-09-14 18:10                                                     ` david jeannot [this message]
2011-09-14 19:29                                                       ` david jeannot
2011-09-14 22:34                                                         ` david jeannot
2011-09-14 23:20                                                           ` hiro
2011-09-06 16:26                         ` Jeff Sickel
2011-09-06 17:21                           ` David Leimbach
2011-08-26 16:56       ` Salman Aljammaz
2011-08-26  8:53     ` Steve McCoy
2011-08-03 18:01 ` Jeff Sickel

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='CA+N9rY=ZL6mQBCJKjjO-6jfNZ_ntqLZCTJqg=5P2OFQRxTrMhA@mail.gmail.com' \
    --to=djeannot24@gmail.com \
    --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).