How to obtain complete version information for giac?
Modérateur : xcasadmin
How to obtain complete version information for giac?
Is there a command to find the full version of giac, including minor version?
I installed giac giac_1.9.0-37.tar.gz from https://www-fourier.ujf-grenoble.fr/~pa ... in/source/ but the command version only returns 1.9.0
0>> version()
"giac 1.9.0, (c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I"
// Time 0
This makes it hard to find what version of giac is installed and being used.
Is there a way to obtain the complete 1.9.0.37 string?
--Nasser
I installed giac giac_1.9.0-37.tar.gz from https://www-fourier.ujf-grenoble.fr/~pa ... in/source/ but the command version only returns 1.9.0
0>> version()
"giac 1.9.0, (c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I"
// Time 0
This makes it hard to find what version of giac is installed and being used.
Is there a way to obtain the complete 1.9.0.37 string?
--Nasser
Re: How to obtain complete version information for giac?
This is not supported, unless you modify config.h yourself (after configure) and change VERSION by hand. The reason is that the only way I know to upgrade from 1.9.0 to say 1.9.1 requires too many changes by hand. Therefore I do that at most once per year...
-
- Messages : 146
- Inscription : mer. janv. 13, 2010 3:20 pm
Re: How to obtain complete version information for giac?
When I run this on my giac.dll:
grep -a Parisse giac.dll | sed -e 's/^.*(c)/(c)/' -e 's/, B. Parisse.*$//' -e 's/giac/\ngiac/' -e 's/Power/\nPower/'
I get:
(c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I
giac 1.9.0-35
Powered by Giac 1.1.3
I this what you want?
Matt
grep -a Parisse giac.dll | sed -e 's/^.*(c)/(c)/' -e 's/, B. Parisse.*$//' -e 's/giac/\ngiac/' -e 's/Power/\nPower/'
I get:
(c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I
giac 1.9.0-35
Powered by Giac 1.1.3
I this what you want?
Matt
Re: How to obtain complete version information for giac?
This did not work for me. I am on Linux (so no .DLL) but tried your command on the libgiac.so I found in /usr/local/lib, but it does not give the version string.
>locate giac.so
/usr/lib/libgiac.so
/usr/lib/libgiac.so.0
/usr/lib/libgiac.so.0.0.0
/usr/local/lib/libgiac.so
/usr/local/lib/libgiac.so.0
/usr/local/lib/libgiac.so.0.0.0
ANd now
grep -a Parisse /usr/lib/libgiac.so.0.0.0 | sed -e 's/^.*(c)/(c)/' -e 's/, B. Parisse.*$//' -e 's/giac/\ngiac/' -e 's/Power/\nPower/'
=G����?�'X�M!@-��������?:ڸ�vtd�,������@e�z�r���:�\��@��BYɔ����t�qr����?6vw�y����?5��%C�?��?���������?%�`
�`
��?��� �� ����@Euclide algorithm for %gen and %����å�y O�
Thanks
--Nasser
>locate giac.so
/usr/lib/libgiac.so
/usr/lib/libgiac.so.0
/usr/lib/libgiac.so.0.0.0
/usr/local/lib/libgiac.so
/usr/local/lib/libgiac.so.0
/usr/local/lib/libgiac.so.0.0.0
ANd now
grep -a Parisse /usr/lib/libgiac.so.0.0.0 | sed -e 's/^.*(c)/(c)/' -e 's/, B. Parisse.*$//' -e 's/giac/\ngiac/' -e 's/Power/\nPower/'
=G����?�'X�M!@-��������?:ڸ�vtd�,������@e�z�r���:�\��@��BYɔ����t�qr����?6vw�y����?5��%C�?��?���������?%�`
�`
��?��� �� ����@Euclide algorithm for %gen and %����å�y O�
Thanks
--Nasser
Re: How to obtain complete version information for giac?
OK, no problem, I can do that.parisse a écrit : ↑sam. févr. 18, 2023 1:23 pmThis is not supported, unless you modify config.h yourself (after configure) and change VERSION by hand. The reason is that the only way I know to upgrade from 1.9.0 to say 1.9.1 requires too many changes by hand. Therefore I do that at most once per year...
I see two these config.h files
Code : Tout sélectionner
>pwd
/home/me/TMP/giac-1.9.0
>find . -name config.h
./micropython-1.12/extmod/axtls-include/config.h
./config.h
./src/config.h
>
--Nasser
Re: How to obtain complete version information for giac?
./config.h and ./src/config.h. One of them should suffice, depending on the order of -I. and -I.. while compiling in src. This should be done after configure and before make, make install, etc.
Re: How to obtain complete version information for giac?
Thanks. That worked. I found I had to edit both config.h files.
For those who want to do this, here are the steps again
1) extract tar file
1A) edited as root the file /etc/ld.so.conf and added this new line at the top /usr/local/lib of the file and saved it.
2) ./configure
3) edit config.h file in src/ and in same folder as the configure script and change these 3 lines
4) make
5) sudo make install
6) sudo ldconfig
Now
For those who want to do this, here are the steps again
1) extract tar file
1A) edited as root the file /etc/ld.so.conf and added this new line at the top /usr/local/lib of the file and saved it.
2) ./configure
3) edit config.h file in src/ and in same folder as the configure script and change these 3 lines
Code : Tout sélectionner
>grep -i 1.9 config.h
#define PACKAGE_STRING "giac 1.9.0.37"
#define PACKAGE_VERSION "1.9.0.37"
#define VERSION "1.9.0.37"
>
5) sudo make install
6) sudo ldconfig
Now
Code : Tout sélectionner
>giac
// Using locale /usr/local/share/locale/
// en_US.UTF-8
// /usr/local/share/locale/
// giac
// UTF-8
// Maximum number of parallel threads 4
Added 26 synonyms
// Read 1243 entries from cache /usr/share/giac/doc/en/html_mtt
// Read 1528 entries from cache /usr/share/giac/doc/en/html_mall
// Read 1057 entries from cache /usr/share/giac/doc/en/html_vall
Welcome to giac readline interface, version 1.9.0.37
(c) 2002,2022 B. Parisse & others
Homepage http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
Released under the GPL license 3.0 or above
See http://www.gnu.org for license details
May contain BSD licensed software parts (lapack, atlas, tinymt)
-------------------------------------------------
Press CTRL and D simultaneously to finish session
Type ?commandname for help
*** Type xcas to launch a light version of Xcas ***
0>> version()
"giac 1.9.0.37, (c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I"
// Time 0
1>>