Page 1 sur 2
Mac OS X.14, alpha version
Publié : lun. mai 06, 2024 11:29 am
par parisse
===== FRANCAIS ======= (english below)
Mode d'emploi:
Etapes a effectuer une seule fois
1/ Installer brew depuis
https://brew.sh/
2/ Ouvrir un terminal depuis le launchpad et copier-coller la commande
Code : Tout sélectionner
brew install fltk mpfi readline libxft jpeg gsl ntl glpk libsamplerate autoconf automake pari libao libusb wget dfu-util hevea
Etape pour installer/mettre a jour Xcas
Ouvrir un terminal depuis le launchpad
Méthode A: utiliser des binaires précompilés (fonctionne pour processeur M3, pour M1 et M2 je ne sais pas, ne fonctionne pas pour processeur Intel)
Code : Tout sélectionner
cd ~/Downloads
/bin/rm xcas_osx14.tgz ; wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/xcas_osx14.tgz
cd /
tar xvfz ~/Download/xcas_osx14.tgz
/Applications/usr/bin/xcas
Méthode B: compiler soi-meme à partir du source
Code : Tout sélectionner
cd ~/Downloads
/bin/rm -f giac-1.9.0.tar.bz2; wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/giac-1.9.0.tar.bz2
cd
tar xfj ~/Downloads/giac-1.9.0.tar.bz2
cd giac-1.9.0
sh mkosx
/Applications/usr/bin/xcas
Ensuite xcas devrait pouvoir se lancer depuis le Dock.
Merci de me dire si ca marche ou s'il manque quelque chose.
===== ENGLISGH =====
Steps that must be done once:
1/ Install brew from
https://brew.sh/
2/ Open a terminal from launchpad and run the following command
Code : Tout sélectionner
brew install fltk mpfi readline libxft jpeg gsl ntl glpk libsamplerate autoconf automake pari libao libusb wget dfu-util hevea
Step for installing/updating Xcas
Open a terminal from launchpad and run the following commands
Variant A: get a precompiled version for M3 processors (may work for M1/M2 I don't know), does not work for Intel Mac:
Code : Tout sélectionner
cd ~/Downloads
/bin/rm xcas_osx14.tgz ; wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/xcas_osx14.tgz
cd /
tar xvfz ~/Download/xcas_osx14.tgz
/Applications/usr/bin/xcas
Variant B: compile yourself
Code : Tout sélectionner
cd ~/Downloads
/bin/rm -f giac-1.9.0.tar.bz2; wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/giac-1.9.0.tar.bz2
cd
tar xfj ~/Downloads/giac-1.9.0.tar.bz2
cd giac-1.9.0
sh mkosx
/Applications/usr/bin/xcas
Please let me know if it works or if something is missing.
Re: Mac OS X.14, alpha version
Publié : dim. juin 09, 2024 5:31 pm
par ftneek
I just compiled xcas for M1 MacBook Air by following these instructions.
When done compiling/installing and launched for the first time I clicked yes to the pop up that asked if I wanted to open web tutorial but nothing happened. The Physics and Highschool menu drop downs are completely empty, and clicking the manuals/references in the Help menu drop down does nothing. The terminal mentioned being unable to open/find a number of files including help file, keyword file, 2 menu files, and 3 config files, I could send the terminal output somewhere if you'd like.
Clicking onto a new cell causes the typing indicator to appear in both cells at the same time, although the old one doesn't update anymore and disappears the next time the mouse crosses the cell of the typing indicator. Multiple typing indicators can be created by clicking multiple cells. Additionally, sometimes cells are being distorted/redrawn/stacked on top of each other when the mouse crosses the cell.
GF(4)
K(0) returns '0%2' but it is displayed with too much space between the '%' and the '2'. same for K(1) etc.
Also XcasWeb has a display bug in safari
GF(4) displays GF(2k^2+k+1k,K,gundef) instead of GF(2,k^2+k+1,[k,K,g],undef)
Re: Mac OS X.14, alpha version
Publié : lun. juin 10, 2024 1:46 pm
par parisse
Probably some files were not installed. Can you check that /Applications has a usr/share/giac/doc directory?
Re: Mac OS X.14, alpha version
Publié : lun. juin 10, 2024 7:04 pm
par ftneek
It is not there, only a single 'locale' folder exists under usr/share.
Re: Mac OS X.14, alpha version
Publié : mar. juin 11, 2024 6:20 am
par parisse
That's strange, because mkosx does a make install in the toplevel directory giac-1.9.0, it should install doc. Make sure you have configured with --prefix=/Applications/usr and you ran make install from toplevel directory.
Re: Mac OS X.14, alpha version
Publié : lun. juin 24, 2024 7:14 pm
par ftneek
Can you try to give a little more instruction please? I am not sure where to put the prefix or what to do with the make command.
Re: Mac OS X.14, alpha version
Publié : mar. juin 25, 2024 5:13 pm
par parisse
Look at the shell script: there is a configure command that looks like
then copy paste this command in the shell, with your current directory being the top level giac directory (you have to issue a cd path_to/giac-1.9.0 command). Once configure is done, make should be run from the same directory.
Re: Mac OS X.14, alpha version
Publié : mer. sept. 04, 2024 11:50 am
par parisse
Improvement (arm64): recompile fltk after modifying the clipping stack size of FLTK.
Code : Tout sélectionner
wget https://www.fltk.org/pub/fltk/1.3.9/fltk-1.3.9-source.tar.bz2
tar xfj fltk-1.3.9-source.tar.bz2
Edit FL/Fl_Device.H and change #define FL_REGION_STACK_SIZE from 10 to 100
Then compile
Code : Tout sélectionner
./configure --enable-shared --prefix=/opt/homebrew
make
make install
Shared FLTK libraries in lib can be copied in /Applications/xcas.app/Contents/libs_arm64/
Alternatively, you can replace the shared FLTK libraries in an installed Xcas by running
Code : Tout sélectionner
cd /Applications/xcas.app/Contents/libs_arm64/
wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/fltkarm64.tgz
tar xvf fltkarm64.tgz
This will clear messages like
Code : Tout sélectionner
fl_push_clip: clip stack overflow!
fl_pop_clip: clip stack underflow!
when you move the viewpoint in a 3d plot.
Re: Mac OS X.14, alpha version
Publié : lun. sept. 09, 2024 8:36 am
par parisse
x86_64 FLTK modified libraries:
Build with
Code : Tout sélectionner
arch -x86_64 ./configure --enable-shared --with-archflags="-arch x86_64"
arch -x86_64 make
make install
Compiled libraries:
Code : Tout sélectionner
cd /Applications/xcas.app/Contents/libs_x86_64/
wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/fltkx86_64.tgz
tar xvf fltkx86_64.tgz
Re: Mac OS X.14, alpha version
Publié : mer. sept. 11, 2024 1:10 pm
par nbenm
ftneek a écrit : ↑lun. juin 24, 2024 7:14 pm
Can you try to give a little more instruction please? I am not sure where to put the prefix or what to do with the make command.
You need to do a "brew install hevea"
I had the same issue. In fact "make install" was ending with error messages.
Can you please @parisse add it to prerequisite modules.
Re: Mac OS X.14, alpha version
Publié : jeu. sept. 12, 2024 7:48 am
par parisse
nbenm a écrit : ↑mer. sept. 11, 2024 1:10 pm
Can you please @parisse add it to prerequisite modules.
Done!
Re: Mac OS X.14, alpha version
Publié : ven. sept. 13, 2024 3:35 pm
par nbenm
Bonjour,
Nouveau petit souci avec la version Mac.
Ça concerne les saisies de chiffres dans le tableur.
Je n'arrive pas à saisir des valeurs numériques dans les cellules du tableur à partir du clavier du Mac.
Je peux saisir des caractères alphabétiques.
Pour les chiffres, je peux les saisir avec le clavier de l'interface, mais pas depuis le clavier physique du Mac.
Je peux par contre "coller" des chiffres.
Est-ce qu'il y a une manipulation à effectuer ?
Merci
Re: Mac OS X.14, alpha version
Publié : lun. sept. 16, 2024 11:43 am
par parisse
Bizarre, ici sur mac (arm64) le clavier hardware fonctionne.
Re: Mac OS X.14, alpha version
Publié : mer. sept. 18, 2024 8:00 pm
par nbenm
Bonsoir,
Dans le doute j'ai voulu essayer sur un autre poste.
Malheureusement la config n'est plus la même.
Je viens d'essayer d'installer la version prévue pour un Mac OSX 11.6 maintenue par Leonel Hernandez sur un macbook air avec Catalina (v10.15.7). L'installation se passe bien.
Avec le tableur j'ai le même problème. Je peux saisir des données avec le clavier de Xcas, mais pas du tout avec le clavier physique du Mac.
Nous ne sommes pas avec la même appli, ni le même Mac, ni même encore la même version de MacOS.
Une seule chose commune, c'est un processeur Intel.
Re: Mac OS X.14, alpha version
Publié : jeu. sept. 19, 2024 10:30 am
par nbenm
Bonjour,
Je ne sais pas si ça peut faire avancer les choses, mais voici ce que j'ai observé.
Quand je presse la touche CAPS LOCK, j'ai une info-bulle bleue qui s'affiche au niveau de la zone de saisie du tableur.
Si ensuite, je presse la touche shift, les chiffres apparaissent bien dans la zone de saisie. Si à ce moment-là je presse la touche entrée, la cellule est bien alimentée. Mais c'est du "one shot".
Si juste après je fais shift + chiffres, rien n'entre dans la zone de saisie.
Pour pouvoir saisir de nouveau des chiffres, je dois recommencer l'ensemble du processus (CAPS LOCK off, CAPS LOCK on, SHIFT, chiffre).
Dernière info, sur un Macbook Air sous Linux (Elementary OS), le paquet xcas de la distribution fonctionne normalement.
Ça ne semble pas lié au matériel.
Sur mon Macbook, je suis sous Sonoma 14.6.1 (23G93).