groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] groff on Intel platform


From: joerg van den hoff
Subject: Re: [Groff] groff on Intel platform
Date: Sat, 16 Jan 2010 15:38:50 +0100
User-agent: Opera Mail/10.10 (MacIntel)

On Sat, 16 Jan 2010 04:22:27 +0100, Miklos Somogyi <address@hidden> wrote:


On 15/01/2010, at 09:21 PM, joerg van den hoff wrote:

On Thu, 14 Jan 2010 11:48:48 +0100, Miklos Somogyi <address@hidden> wrote:


On 14/01/2010, at 08:31 PM, Patrik Schindler wrote:

Hello Miklos,

Am 14.01.2010 um 07:57 schrieb Miklos Somogyi:

My questions are: 1) Is there an intel version of groff at all?


Groff has been with OS X at least since I use it (10.2) and it's still with 10.6, 1.19.2.


Good to hear that if I go the distance, I will not be disappointed with PPC versions.



2) Anyone who went through of getting unix stuff and X under Snow any advice please?

as already noted by patrik schindler, groff should be there (in /usr/bin) anyway
in a fresh 10.6 install. what makes you believe it's not there?


I did a few "file" there and all of them were ppc, so next I did "file * | grep -L" and it showed nothing. Now that you mentinoned groff as not ppc, I found that I used the wrong option, "-L" instead of "-v". That showed up a lot of non-ppc program. I've found groff but unfortunately gs was not there.
I hope that unlike its ppc cousin eqn will work here.

one remote possibility: if you came from 10.4 to 10.6: I believe upt to and including 10.4 `tcsh' was the default shell in the macos `Terminal'. nowadays its `bash'. if you've had configured your `tcsh' path to find your own `groff' executable (whereever that is on your machine) it might be
that this location no longer is on the `bash' search path.

concerning migration from ppc to intel: there's a compatibility mode allowing to use your ppc binaries with the intel machine but it's better to recompile/re-install native binaries
(which execute faster significantly).

concerning 'unix stuff': I'm usually (not always) quite content using the Macports package management
system (e.g. for installing `gs' and `gv', as you mentioned them.)


I havent heard of Macports, I'l google for it 'cause I need gs badly.

it's here:

http://www.macports.org/

it's essentially a command line tool (i.e. to be run from the `Terminal' app if you
don't have X11 running.
install it as described on that page.

than open Terminal and type

sudo port -v install ghostscript


`port' compiles everything from source, pre-compiled binaries are usually not available. so installation takes potentially quite some time. this is especially true if you start to use it since then many dependencies (libraries) have to be compiled and installed which then are available already the
next time you install something. so after the above, e.g.

sudo port -v install gv

will install much quicker.


concerning X: as used to be the case in the past, it's on the macos install DVD under 'additional software' (or
a similar title). I believe it's still not installed by default.

joerg



I haven't used the install DVD, Migration Assistant did the job on ethernet. I downloaded Xcode32 developer stuff from Apple, but I haven't looked at it yet. I am a bit confused when people talk about X, do they mean
Xcode or something much less.

Xcode is the developer stuff for macos, so the `X' is a roman numeral 10.
for unix, `X' is shorthand for `X11' which is the standard below all unix window managers
and desktop environment.

you can (or must) install X11 (it might be somewhere in the Xcode stuff, not sure right now) in order to use standard unix tools like `gv' which need X11 for their graphics output. on the mac,

X11 is also the name of the macos app which starts the X11 environment.


I also downloaded gfortran but it complain about the lack of "as", perhaps an assembler?

yes, that's the assembler which also is part of the Xcode developer tools. (install first)

I don't know the best way to get gfortran running. I also don't know the differences if any to
`g95' provided by macports. maybe you try to install+use that one.


good luck
joerg

Well, tonight I try to put my groff house in order.

Thank you for your post,

Miklos


What exactly do you need/miss? There's groff, there's GNU textutils and there's vim. What else do you need? :-)



e.g. g77, gs, gv, and some supporting X needed too.

:wq! PoC














reply via email to

[Prev in Thread] Current Thread [Next in Thread]