axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Mac OS X 10.4.8 PowerPC success!


From: Raymond Manzoni
Subject: Re: [Axiom-developer] Mac OS X 10.4.8 PowerPC success!
Date: Sun, 5 Nov 2006 20:53:46 +0100

        

        Hi,

This is a resume of the methods given here by Humberto Ortiz-Zuazaga as I used them to get a working gcl and AXIOMsys (for people like me in a hurry to get gcl and axiom working on OSX 10.4.8 PPC) both installed in /usr/local and using bash.

        Building gcl :

        remove  -lintl from the LIBS line of ./h/powerpc-macosx.defs
isolate Fink (/sw/... by default) and DarwinPorts (/opt/local/...) from gcl's path :

        PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin
        ./configure --enable-locbfd --disable-statsysbfd --disable-nls

(I added two symbolic links in /usr/local/bin : the first since pdflatex was needed for completion of the make and the second (optional) for .dvi generation of the make install (the location of your pdflatex and tex may vary...) :
          cd /usr/local/bin             
          sudo ln -s /sw/bin/pdflatex pdflatex
          sudo ln -s /sw/bin/tex tex
        )

        make     (*)
        sudo make install
        

        Building axiom (very long...) :

I used exactly Humberto's method here (I got darcs 1.0.7 here : http://el-tramo.be/software/darcs-ppc-static/ since Fink's darcs wouldn't install) :

        darcs get http://page.axiom-developer.org/repository/axiom-darcs/

        chmod +x configure
        ./configure --prefix=/usr/local --with-gcl
        (verify that the right gcl is chosen!)
        chmod +x config/mkinstalldirs
        make

If you get the SIGCLD errors then, in the files sselect.c.pamphlet and viewman.c.pamphlet, replace :
        #if defined(BSDplatform)
        by
        #if defined(BSDplatform) || defined(MACOSXplatform)

Should you get errors in hyper apply the patch to src/hyper/ hthits.pamphlet as proposed by Waldek Hebisch a day earlier in the 'viewman and hyper on Mac OS X' thread. (here some .pamphlet files were missing in my hyper directory and I had to restore them first...)

        make
        sudo make install
        
        In your .profile file (for bash) add the path :
        /usr/local/axiom/target/powerpc-apple-darwin8.8.0/bin

        And you should have a working AXIOMsys...

        axiom itself fails with the lines :

        ptyopen: Failed to open /dev/ptmx: No such file or directory
        start_the_Axiom: ptyopen failed: No such file or directory
        
        Humberto got an additional error :
        (HyperDoc) Cannot connect to the X11 server!

        Of course all this it is far from the ideal
        ./configure
        make
he suggested but it worked for me so if you need to build it from source now...
        

        With my sincere thanks to Humberto and all of you,
                                Raymond


(*) you may get an error in gcl_readline.d:221 (readline completion) I (hope temporarily...) just returned NULL;




reply via email to

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