9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Where can I find Plan9port binaries running on OS X Lion?
@ 2011-08-06 17:57 David Jeannot
  2011-08-07  8:07 ` david jeannot
  2011-08-07 21:23 ` Aram Hăvărneanu
  0 siblings, 2 replies; 16+ messages in thread
From: David Jeannot @ 2011-08-06 17:57 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]

Hello,

I would like to use Plan9port (including Acme) on OS X Lion. But building the current Plan9port tree (1ddb9b093c12) with Xcode 4.1 gives me multiple errors.*

Is there a place where I could find Plan9port binaries from an older OS X? I miss Acme terribly.


I wish you a lovely weekend.



* The "multiple errors" are:

1) Devdraw fails to build (http://9fans.net/archive/?q=plan9port%3A+cocoa+programmer+needed).

2) The linker gives "malformed archive TOC entry for" errors with libraries such as lib9, libbio, libmap, libplumb, or libthread (https://bitbucket.org/rsc/plan9port/issue/81/devdraw-does-not-build-on-os-x-lion-latest#comment-585887). Running "for(i in $PLAN9/lib/*.a) ranlib $i" at the right time seems to solve the issue.

3) There seems to be an issue with 9pserve too; launching Plumber gives for example:

	9pserve <nil>: Aug  6 19:20:04.214 note: sys: bus error
	plumber: post9pservice plumb: 9pserve failed


"uname -a" gives:
Darwin djmac.lan 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64

"gcc -v" gives:
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)


[-- Attachment #2: Type: text/html, Size: 7197 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-06 17:57 [9fans] Where can I find Plan9port binaries running on OS X Lion? David Jeannot
@ 2011-08-07  8:07 ` david jeannot
  2011-08-08  9:10   ` Charles Forsyth
  2011-08-07 21:23 ` Aram Hăvărneanu
  1 sibling, 1 reply; 16+ messages in thread
From: david jeannot @ 2011-08-07  8:07 UTC (permalink / raw)
  To: 9fans

> 3) There seems to be an issue with 9pserve too;
> launching Plumber gives for example:
>        9pserve <nil>: Aug  6 19:20:04.214 note: sys: bus error
>        plumber: post9pservice plumb: 9pserve failed

(The "bus error" line doesn't appear if I remove /tmp/ns.*
before I run Plumber, but the "9pserve failed" line always do.)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-06 17:57 [9fans] Where can I find Plan9port binaries running on OS X Lion? David Jeannot
  2011-08-07  8:07 ` david jeannot
@ 2011-08-07 21:23 ` Aram Hăvărneanu
  2011-08-08  0:09   ` andrey mirtchovski
  1 sibling, 1 reply; 16+ messages in thread
From: Aram Hăvărneanu @ 2011-08-07 21:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Is there a place where I could find Plan9port binaries from an older OS X? I
> miss Acme terribly.

Sorry, even an old build doesn't work. Some dynamic libraries bits
have disappeared. Maybe one can force a static build?

-- 
Aram Hăvărneanu



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-07 21:23 ` Aram Hăvărneanu
@ 2011-08-08  0:09   ` andrey mirtchovski
  2011-08-08  9:40     ` david jeannot
  0 siblings, 1 reply; 16+ messages in thread
From: andrey mirtchovski @ 2011-08-08  0:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

sorry, i posted the binaries in the wrong thread. take a look at
"cocoa programmer wanted" to get the three binaries that work on my
lion installation.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-07  8:07 ` david jeannot
@ 2011-08-08  9:10   ` Charles Forsyth
  0 siblings, 0 replies; 16+ messages in thread
From: Charles Forsyth @ 2011-08-08  9:10 UTC (permalink / raw)
  To: 9fans

>The "bus error" line doesn't appear if I remove /tmp/ns.*

it's remarkable that the pdp-11 lives on in long-outdated error numbering schemes.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-08  0:09   ` andrey mirtchovski
@ 2011-08-08  9:40     ` david jeannot
  2011-08-08 11:39       ` david jeannot
  0 siblings, 1 reply; 16+ messages in thread
From: david jeannot @ 2011-08-08  9:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Thank you so much Andrey!

On 8 August 2011 02:09, andrey mirtchovski <mirtchovski@gmail.com> wrote:
> sorry, i posted the binaries in the wrong thread. take a look at
> "cocoa programmer wanted" to get the three binaries that work on my
> lion installation.
>
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-08  9:40     ` david jeannot
@ 2011-08-08 11:39       ` david jeannot
  2011-08-08 20:29         ` Aram Hăvărneanu
  0 siblings, 1 reply; 16+ messages in thread
From: david jeannot @ 2011-08-08 11:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

If anyone ever had /bin/9p too, it would be great.

(If someone is interested, I have most of the
other binaries, including bin/plumber, or even
bin/acme with 2-3 chording instead of 2-1
chording, so one can use the Alt key, the Cmd key,
and the trackpad instead of the mouse.  I don't
have bin/acmeevent.)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-08 11:39       ` david jeannot
@ 2011-08-08 20:29         ` Aram Hăvărneanu
  2011-08-08 20:36           ` andrey mirtchovski
  0 siblings, 1 reply; 16+ messages in thread
From: Aram Hăvărneanu @ 2011-08-08 20:29 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> (If someone is interested, I have most of the
> other binaries, including bin/plumber [...]

I don't understand what binaries are this? How do they work in Lion?

-- 
Aram Hăvărneanu



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-08 20:29         ` Aram Hăvărneanu
@ 2011-08-08 20:36           ` andrey mirtchovski
  2011-08-08 23:00             ` Aram Hăvărneanu
  0 siblings, 1 reply; 16+ messages in thread
From: andrey mirtchovski @ 2011-08-08 20:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

they're i386 binaries compiled with an older toolchain (Snow Leopard)
before Lion was installed.

$ file /tmp/9p
/tmp/9p: Mach-O executable i386
$ /tmp/9p -na sources.cs.bell-labs.com ls -l
d-rwxrwxr-x M 0 9grid  9grid        0 Oct 20  2005 9grid
...



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-08 20:36           ` andrey mirtchovski
@ 2011-08-08 23:00             ` Aram Hăvărneanu
  2011-08-09  1:03               ` andrey mirtchovski
                                 ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Aram Hăvărneanu @ 2011-08-08 23:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> they're i386 binaries compiled with an older toolchain (Snow Leopard)
> before Lion was installed.

Yes. How to these work in Lion? My old p9p build simply didn't display
anything devdraw related.

-- 
Aram Hăvărneanu



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-08 23:00             ` Aram Hăvărneanu
@ 2011-08-09  1:03               ` andrey mirtchovski
  2011-08-09 14:02                 ` Eric Van Hensbergen
       [not found]               ` <CAK4xykXMCxzK5mh_+KxRJyLp0fbUnVq00Mc3Sinac2nCYo4=dA@mail.gmail.c>
       [not found]               ` <CAK4xykXMCxzK5mh_+KxRJyLp0fbUnVq00Mc3Sinac2nCYo4=dA@mail.gm>
  2 siblings, 1 reply; 16+ messages in thread
From: andrey mirtchovski @ 2011-08-09  1:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Yes. How to these work in Lion? My old p9p build simply didn't display
> anything devdraw related.

i got the 9pserve fail once (no bus error, just '9pserve failed'), but
it went away when i copied a binary from a different machine. upon
inspection the two binaries were identical. i haven't gotten any
devdraw failures. my p9p tree does not seem to contain any changes
that may be relevant, so I suspect I just got lucky to compile p9p
with a toolchain that works.

acme works for me both on my personal machine, and on my wife's imac
which can be considered a 'pristine' Lion upgrade with no xcode.

i'm unable to compile anything. the cc1-output asm can't be compiled.
i'm useless in diagnosing that.

andrey



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
       [not found]               ` <CAK4xykXMCxzK5mh_+KxRJyLp0fbUnVq00Mc3Sinac2nCYo4=dA@mail.gmail.c>
@ 2011-08-09  1:35                 ` erik quanstrom
  2011-08-09  1:44                   ` ron minnich
  2011-08-09  2:01                   ` andrey mirtchovski
  0 siblings, 2 replies; 16+ messages in thread
From: erik quanstrom @ 2011-08-09  1:35 UTC (permalink / raw)
  To: 9fans

> i got the 9pserve fail once (no bus error, just '9pserve failed'), but
> it went away when i copied a binary from a different machine. upon
> inspection the two binaries were identical.

!?  how do you explain that?

- erik



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-09  1:35                 ` erik quanstrom
@ 2011-08-09  1:44                   ` ron minnich
  2011-08-09  2:01                   ` andrey mirtchovski
  1 sibling, 0 replies; 16+ messages in thread
From: ron minnich @ 2011-08-09  1:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, Aug 8, 2011 at 6:35 PM, erik quanstrom <quanstro@quanstro.net> wrote:
>> i got the 9pserve fail once (no bus error, just '9pserve failed'), but
>> it went away when i copied a binary from a different machine. upon
>> inspection the two binaries were identical.
>
> !?  how do you explain that?

well I just hope it's not extended attributes, but I've had weird
problems with them lately on osx.

ron



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-09  1:35                 ` erik quanstrom
  2011-08-09  1:44                   ` ron minnich
@ 2011-08-09  2:01                   ` andrey mirtchovski
  1 sibling, 0 replies; 16+ messages in thread
From: andrey mirtchovski @ 2011-08-09  2:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>> i got the 9pserve fail once (no bus error, just '9pserve failed'), but
>> it went away when i copied a binary from a different machine. upon
>> inspection the two binaries were identical.
>
> !?  how do you explain that?

i can't. the failing 9pserve was from time machine. i re-copied it
from the same place again and it wasn't failing anymore. there may
have been something broken with /tmp/ns.* that got cleared, but apart
from that i'm at a loss to explain it.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
       [not found]                 ` <CAK4xykUUAE5D01r+WLp3cDsNMVHK7UxUQzzwKq__4suWSx973A@mail.gmail.c>
@ 2011-08-09  2:04                   ` erik quanstrom
  0 siblings, 0 replies; 16+ messages in thread
From: erik quanstrom @ 2011-08-09  2:04 UTC (permalink / raw)
  To: 9fans

On Mon Aug  8 22:02:00 EDT 2011, mirtchovski@gmail.com wrote:
> >> i got the 9pserve fail once (no bus error, just '9pserve failed'), but
> >> it went away when i copied a binary from a different machine. upon
> >> inspection the two binaries were identical.
> >
> > !?  how do you explain that?
>
> i can't. the failing 9pserve was from time machine. i re-copied it
> from the same place again and it wasn't failing anymore. there may
> have been something broken with /tmp/ns.* that got cleared, but apart
> from that i'm at a loss to explain it.

why does this remind of of sinkholes in ancient cities.
they're just a fun way of finding you built your house on
a 2d century bce cistern.

- erik



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] Where can I find Plan9port binaries running on OS X Lion?
  2011-08-09  1:03               ` andrey mirtchovski
@ 2011-08-09 14:02                 ` Eric Van Hensbergen
  0 siblings, 0 replies; 16+ messages in thread
From: Eric Van Hensbergen @ 2011-08-09 14:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, Aug 8, 2011 at 8:03 PM, andrey mirtchovski
<mirtchovski@gmail.com> wrote:
>> Yes. How to these work in Lion? My old p9p build simply didn't display
>> anything devdraw related.
>
> i got the 9pserve fail once (no bus error, just '9pserve failed'), but
> it went away when i copied a binary from a different machine. upon
> inspection the two binaries were identical. i haven't gotten any
> devdraw failures. my p9p tree does not seem to contain any changes
> that may be relevant, so I suspect I just got lucky to compile p9p
> with a toolchain that works.
>
> acme works for me both on my personal machine, and on my wife's imac
> which can be considered a 'pristine' Lion upgrade with no xcode.
>

Just to add to the confusion...

Everything worked fine on mine until I downloaded the new Xcode and
then even without recompiling, the mouse stopped working in everything
Plan 9 related.

     -eric



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-08-09 14:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-06 17:57 [9fans] Where can I find Plan9port binaries running on OS X Lion? David Jeannot
2011-08-07  8:07 ` david jeannot
2011-08-08  9:10   ` Charles Forsyth
2011-08-07 21:23 ` Aram Hăvărneanu
2011-08-08  0:09   ` andrey mirtchovski
2011-08-08  9:40     ` david jeannot
2011-08-08 11:39       ` david jeannot
2011-08-08 20:29         ` Aram Hăvărneanu
2011-08-08 20:36           ` andrey mirtchovski
2011-08-08 23:00             ` Aram Hăvărneanu
2011-08-09  1:03               ` andrey mirtchovski
2011-08-09 14:02                 ` Eric Van Hensbergen
     [not found]               ` <CAK4xykXMCxzK5mh_+KxRJyLp0fbUnVq00Mc3Sinac2nCYo4=dA@mail.gmail.c>
2011-08-09  1:35                 ` erik quanstrom
2011-08-09  1:44                   ` ron minnich
2011-08-09  2:01                   ` andrey mirtchovski
     [not found]               ` <CAK4xykXMCxzK5mh_+KxRJyLp0fbUnVq00Mc3Sinac2nCYo4=dA@mail.gm>
     [not found]                 ` <CAK4xykUUAE5D01r+WLp3cDsNMVHK7UxUQzzwKq__4suWSx973A@mail.gmail.c>
2011-08-09  2:04                   ` erik quanstrom

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).