9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Micah Stetson <micah@cnm-vra.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] cocoa devdraw
Date: Fri, 30 Sep 2011 17:26:16 -0700	[thread overview]
Message-ID: <CAA1s_+mDX=Sanena94SMpL0fCdHx+8uqOKf4asXkGYuiBLzVRg@mail.gmail.com> (raw)
In-Reply-To: <CAAQydVgjQY0N4MLO1Xgw4e9kFXf66KguWUQhr6XDc6-p1-O2Zw@mail.gmail.com>

> I'm seeing missing recipes.  Lion and XCode 4.2

I get nearly identical output on Snow Leopard with XCode 4.0.2 (see below).

BUT if I manually copy o.devdraw from $PLAN9/src/cmd/devdraw to
$PLAN9/bin/devdraw, nearly everything seems to work. The best part
(for me) is that now my acme and 9term windows work with Divvy!
Huzzah!

One downside: Dragging with the middle button down no longer seems to
work right when I have MagicPrefs enabled. It works fine without
MagicPrefs, but I can't middle drag with my Magic Mouse in Google
SketchUp without MagicPrefs. Oh well, I can turn it on and off as
needed.

Thanks to everybody who's worked on this,

Micah

(./INSTALL output below)

* Resetting /usr/local/plan9/config
* Compiler version:
	gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
* Running on Darwin: checking architecture...
	x86-64 found.
* Building everything (be patient)...
>>> cd /usr/local/plan9/src/cmd/fontsrv; mk all
9c  main.c
mk: no recipe to make 'osx-cocoa.o'
>>> cd /usr/local/plan9/src/cmd/snarfer; mk all
9l -o o.snarfer osx-cocoa-snarfer.o
ld: warning: directory not found for option '-L/usr/X11R6/lib64'
* Installing everything in /usr/local/plan9/bin...
>>> cd /usr/local/plan9/src/cmd/devdraw; mk install
9c -DOSX_VERSION=100608 macargv.c
macargv.c:12: warning: passing argument 3 of 'AEInstallEventHandler'
from incompatible pointer type
macargv.c:13: warning: implicit declaration of function
'RunApplicationEventLoop'
macargv.c:24: warning: implicit declaration of function 'FSpMakeFSRef'
macargv.c:30: warning: implicit declaration of function 'FSMakeFSSpec'
macargv.c:30: error: 'FSSpec' has no member named 'vRefNum'
macargv.c:30: error: 'FSSpec' has no member named 'parID'
macargv.c:45: error: 'FSSpec' has no member named 'name'
macargv.c:49: error: 'FSSpec' has no member named 'name'
macargv.c:83: error: 'typeFSS' undeclared
mk: 9c -DOSX_VERSION=100608 macargv.c  : exit status=exit(1)
>>> mk: no recipe to make 'osx-cocoa.o'
>>> cd /usr/local/plan9/src/cmd/snarfer; mk install
9l -o o.snarfer osx-cocoa-snarfer.o
ld: warning: directory not found for option '-L/usr/X11R6/lib64'
* Cleaning up...
* Renaming hard-coded /usr/local/plan9 paths...
* Building web manual...
* Done.
	
* Add these to your profile environment.
	PLAN9=/usr/local/plan9 export PLAN9
	PATH=$PATH:$PLAN9/bin export PATH



  reply	other threads:[~2011-10-01  0:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 16:34 Russ Cox
2011-09-26 19:23 ` [9fans] " Anthony Sorace
2011-09-26 19:47   ` Russ Cox
2011-09-26 19:58     ` Jeff Sickel
2011-09-26 21:36     ` Anthony Sorace
2011-09-26 20:10 ` David Leimbach
2011-09-26 22:14   ` Russ Cox
2011-09-29 17:39     ` [9fans] " Michaelian Ennis
2011-10-01  0:26       ` Micah Stetson [this message]
2011-10-12  7:22 ` Skip Tavakkolian

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='CAA1s_+mDX=Sanena94SMpL0fCdHx+8uqOKf4asXkGYuiBLzVRg@mail.gmail.com' \
    --to=micah@cnm-vra.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).