Juan Luis Varona Malumbres on Wed, 27 Feb 2002 01:25:15 +0100


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

Re: Mac OS X


Dear Jeffrey,

OK, so I'm using GP 2.0.12 alpha PowerPC version on the Macintosh with OS X version 10.0.3. This solves the pre-emptive multitasking problem nicely. Two new questions arise:

OS X insists on running GP in 'Classic' mode.  Is this really necessary?

NO!!!!!!
You have gotten the old GP for classic mac os. It is an already compiled program
for classic mac os.
Instead, you must take the standard unix distribution of GP and compile it under mac os x. For that, you must also take AND INSTALL the developer tools from apple
that, in particular, includes a standard gcc compiler.
It is free (perhaps you alredy have a CD with it; in other case, take
it from https://connect.apple.com/ or http://www.apple.com/developer/,
http://developer.apple.com/membership/online.html,
http://developer.apple.com/tools/
.....
for instance.).

Then, in the Terminal, do something like that
(I have the distribution in a directory named "gp"):
----------------------------
Welcome to Darwin!
[pc4043:~] jvarona% cd gp
[pc4043:~/gp] jvarona% ll
total 3008
drwxr-xr-x   4 jvarona  staff       92 Jan 18 00:17 .
drwxr-xr-x  28 jvarona  staff      908 Jan 18 00:17 ..
-rw-rw-rw-   1 jvarona  staff     6148 Jan 18 00:17 .DS_Store
-rw-r--r--   1 jvarona  staff  1530823 Jan 18 00:14 pari-2.1.1.tar.gz
[pc4043:~/gp] jvarona% sudo gnutar -zxf pari-2.1.1.tar.gz
Password:
[pc4043:~/gp] jvarona% ll
total 3008
drwxr-xr-x   5 jvarona  staff      126 Jan 18 00:18 .
drwxr-xr-x  28 jvarona  staff      908 Jan 18 00:17 ..
-rw-rw-rw-   1 jvarona  staff     6148 Jan 18 00:17 .DS_Store
drwxr-xr-x  25 1005     101        806 Apr 30  2001 pari-2.1.1
-rw-r--r--   1 jvarona  staff  1530823 Jan 18 00:14 pari-2.1.1.tar.gz
[pc4043:~/gp] jvarona% cd pari-2.1.1
[pc4043:~/gp/pari-2.1.1] jvarona% sudo ./Configure
[pc4043:~/gp/pari-2.1.1] jvarona% sudo make install
[pc4043:~/gp/pari-2.1.1] jvarona%
----------------------------

NOTE: After "./Configure", pari expend a while installing a lot of things
and finally notices that we have unknown system. But, don't worry,
continue with "sudo make install".

Finally, use pari in the terminal by using "gp". For instance:
----------------------------
Welcome to Darwin!
[pc4043:~] jvarona% gp
                  GP/PARI CALCULATOR Version 2.1.1 (released)
                             unknown 32-bit version
                  (readline disabled, extended help available)

                       Copyright (C) 2000 The PARI Group

PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

   realprecision = 28 significant digits
   seriesprecision = 16 significant terms
   format = g0.28

parisize = 4000000, primelimit = 500000
? #
   timer = 1 (on)
? factor(1234567890123456789012345678901234567890)
............
----------------------------

And GP is now spectacularly unstable, worse than under OS 9. For example, it will cause the mouse icon to disappear off the screen. And OS X has disabled the hard restart button! You must click the mouse on 'Force quit', which requires a lot of patience when the mouse is invisible. GP will also make all the pull down menus vanish. Any advice?


The same. Install pari under mac os x. Not the classic version.

Yours,

Juan Luis

--

Juan L. Varona
Dept. Mathematics and Computation
University of La Rioja
26004 Logroño, Spain

jvarona@dmc.unirioja.es
http://www.unirioja.es/dptos/dmc/jvarona/welcome.html