-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I finally take time to install a good Tcl/Tk version, and now, Xtherion can run on my Mac... But... When I try to compile the demo file (demo-padavka in that case), Xtherion answer : ####################### metapost log file ######################## therion: warning -- can't open data.log file for input can't open data.log file for input#################### end of metapost log file #################### therion: error -- metapost exit code -- 32512 It seem that I have a problem with metapost... Do you know this problem, and how I can solve it ?? Thank you very much ! Thierry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCJwqz1Au96VwreaARAhrEAJ9Bc8X/JIKE2cCgFVKvGwzen67hNwCggAYX CDOep/6evb3CAmnhiAKRCSQ= =qJr7 -----END PGP SIGNATURE-----
It seem that I have a problem with metapost... Do you know this problem, and how I can solve it ??
Which TeX distribution do you have installed? It looks, that therion is not able to run metapost. Are you able to run "mpost" from command line? S.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I use the following version of TeX , in fact a teTex version : TeX (Web2C 7.5.2) 3.141592 kpathsea version 3.5.2 Copyright (C) 1997-2003 D.E. Knuth. Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc. when I run mpost from command line, everything seem OK : it ask me for a file, indicating : This is MetaPost, Version 0.641 (Web2C 7.5.2) (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx) ** Thierry Le 3 mars 05, à 14:05, Stacho Mudrak a écrit :
It seem that I have a problem with metapost... Do you know this problem, and how I can solve it ??
Which TeX distribution do you have installed?
It looks, that therion is not able to run metapost. Are you able to run "mpost" from command line?
S.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCJ1Pu1Au96VwreaARAuqvAKDN55qhRrQ/uve7f9ZKT7w3bTDc4QCfT0dN 8NHTcVBeCnhZZ+Kfyow0Fp0= =5wLP -----END PGP SIGNATURE-----
I use the following version of TeX , in fact a teTex version : TeX (Web2C 7.5.2) 3.141592 kpathsea version 3.5.2 Copyright (C) 1997-2003 D.E. Knuth. Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc.
when I run mpost from command line, everything seem OK : it ask me for a file, indicating : This is MetaPost, Version 0.641 (Web2C 7.5.2) (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
So it looks to me - that tcl is calling different shell to execute system calls than your command console is. This different shell has probably not correct environment settings. In that case, you will probably need to set up exact path to mpost and pdfetex executables. You can do it via therion.ini. Copy therion.ini file to /etc. Edit following lines: # mpost-path "mpost" # pdftex-path "pdfetex" to mpost-path "/your/path/to/mpost" pdftex-path "/your/path/to/pdfetex" where /your/path/to is usually /usr/bin or /usr/local/bin. But I am not sure, how it is on Mac OS X. Another question: do you have same problems with demo files, when running therion from command line? Do following commands work? cd demo-padavka therion Hope this helps. Regards, S. P.S. MartinS has sent me something about his installation of teTeX that works. It is here: Last login: Fri Mar 4 08:41:14 on ttyp1 Welcome to Darwin! bash-2.05a$ mpost This is MetaPost, Version 0.641 (Web2C 7.3.8) **^C bash-2.05a$ tex This is TeX, Version 3.14159 (Web2C 7.3.8) **^C xxxxxxxxxxxxxxxxxxxxxxxx installed via: i-installer - http://www.rna.nl/ii.html xxxxxxxxxxxxxxxxxxxxxxxx Logiciels sur micros-ordinateurs freeBSD (linux, macOSX) Serveur d'applications libres pour l'unix d'Apple : Mac OSX Menu Aller > se connecter au serveur ... dans la zone SIO sélectionnez la machine : macosxserveur , et choisissez (à nouveau) macosxserveur : * Tout se trouve dans le réperrtoire OSX mais il marche encore : MacServeur-SIO : Vous trouverez sur le vieux Macintosh 6100 : MacServeur-SIO, qui se trouve dasn la zone AppleTalk SIO, un ensemble de logiciels du monde Open Source pour les utilisateurs scientifiques de MacOSX : Dans le répertoire MACOSX Offre spéciale : MacOS X (système unix-freeBSD- d'Apple) Attention sortie prochiane de PANTHER (MacOSX 10.3) Pour l'Observatoire, vous pouvez acquérir le système unix d'Apple chez MacWareHouse * Obtenir un devis : o Monsieur Roger TRUONG (roger.truong @ eu.mwhse.com) + tél : 01 41 84 44 57 + fax : 01 48 17 83 02 La configuration minimum requise pour le fonctionnement de MacOS X : * PowerMac G3, G4 Cube, G4 * iMac * PowerBook G3, G4 * iBook o et un minimum de 128 Mo de RAM SCISOFT pour Mac OS X : SciSoft = a collection of astronomical software for ESO users. L'ESO propose une collection de logiciels pour l'astronomie : iraf, midas, stsdas, pour le système d'exploitation unix d'Apple Mac OS X, téléchargeable à l'url : http://www.stecf.org/macosxscisoft/. Ou sur le site de versiontracker (SciSoft version 2003.2.3): http://www.versiontracker.com/dyn/moreinfo/macosx/20126 et pour toutes les plateformes: http://www.eso.org/science/scisoft/. Iraf et MacOSX NOAO a porté Iraf pour MacOSX dans sa version IRAF 2.12, voir à l'adresse http://iraf.noao.edu/iraf/web/macport.html Le site de Marcos, pour vous aider à installer le logiciel iraf sur l'unix d'apple, voir "The Macintosh IRAF web Page" à l'url http://www.owlnet.rice.edu/~marcosh/iraf/ LaTeX pour MacOSX Pour installer l'environnement LateX sur votre machine il vous faut l'ensemble teTex et sur MacOSX, le freeware TeXShop, ou iteXMac (previewer for teTeX - Open Source) pour pouvoir mettre en forme facilement vos textes : Ces freewares vous offrent : Une fenêtre d'édition, traitement de texte, et balises de mise en forme colorées. Une fenêtre de prévisualisation pour voir le résultat, d'un coup de clic. * teTeX : deux solutions o Il vous faut donc teTeX pour MaxOSX (distribution standard de teX pour les machines unix) + pour plus de facilité, uitliser i-Installer (trés facile), à l'adresse http://www.rna.nl/ + ou pour ceux qui préfère fink à l'adresse http://www.apple.com/downloads/macosx/unix_open_source/ # vous trouverez FinkCommander (GUI pour Fink) et Fink o Vous trouverez i-Installer et teTeX for Mac OSX à l'adresse http://www.rna.nl/ + i-Installer v2. i-Installer est une interface conviviale d'installation et de configuration d'applications unix pour Mac OSX, à partir d'internet. + http://www.rna.nl/tex.html distribution TeX pour Mac OS X: * Installer l'interface conviviale à l'ensemble logiciel teTeX o TeXShop : http://www.apple.com/downloads/macosx/ o iTeXMac : http://itexmac.sourceforge.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Stacho, Thank you for your help I tried the command line, and everything goes well... in the command line and it generates a good pdf atlas and a godd pdf map. In the therion.ini file, I've made the changes you indicate... but xtherion still don't work and give the same answer ! So, now, I don't have real problems to use therion, except that I must compile within the command line !! Thank you very much ! Thierry Le 4 mars 05, à 09:32, Stacho Mudrak a écrit :
I use the following version of TeX , in fact a teTex version : TeX (Web2C 7.5.2) 3.141592 kpathsea version 3.5.2 Copyright (C) 1997-2003 D.E. Knuth. Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc. when I run mpost from command line, everything seem OK : it ask me for a file, indicating : This is MetaPost, Version 0.641 (Web2C 7.5.2) (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
So it looks to me - that tcl is calling different shell to execute system calls than your command console is. This different shell has probably not correct environment settings.
In that case, you will probably need to set up exact path to mpost and pdfetex executables. You can do it via therion.ini. Copy therion.ini file to /etc. Edit following lines:
# mpost-path "mpost" # pdftex-path "pdfetex"
to
mpost-path "/your/path/to/mpost" pdftex-path "/your/path/to/pdfetex"
where /your/path/to is usually /usr/bin or /usr/local/bin. But I am not sure, how it is on Mac OS X.
Another question: do you have same problems with demo files, when running therion from command line? Do following commands work?
cd demo-padavka therion
Hope this helps.
Regards, S.
P.S. MartinS has sent me something about his installation of teTeX that works. It is here:
Last login: Fri Mar 4 08:41:14 on ttyp1 Welcome to Darwin! bash-2.05a$ mpost This is MetaPost, Version 0.641 (Web2C 7.3.8) **^C bash-2.05a$ tex This is TeX, Version 3.14159 (Web2C 7.3.8) **^C
xxxxxxxxxxxxxxxxxxxxxxxx
installed via: i-installer - http://www.rna.nl/ii.html
xxxxxxxxxxxxxxxxxxxxxxxx
Logiciels sur micros-ordinateurs freeBSD (linux, macOSX)
Serveur d'applications libres pour l'unix d'Apple : Mac OSX
Menu Aller > se connecter au serveur ... dans la zone SIO sélectionnez la machine : macosxserveur , et choisissez (à nouveau) macosxserveur :
* Tout se trouve dans le réperrtoire OSX
mais il marche encore :
MacServeur-SIO :
Vous trouverez sur le vieux Macintosh 6100 : MacServeur-SIO, qui se trouve dasn la zone AppleTalk SIO, un ensemble de logiciels du monde Open Source pour les utilisateurs scientifiques de MacOSX :
Dans le répertoire MACOSX
Offre spéciale : MacOS X (système unix-freeBSD- d'Apple)
Attention sortie prochiane de PANTHER (MacOSX 10.3)
Pour l'Observatoire, vous pouvez acquérir le système unix d'Apple chez MacWareHouse
* Obtenir un devis : o Monsieur Roger TRUONG (roger.truong @ eu.mwhse.com) + tél : 01 41 84 44 57 + fax : 01 48 17 83 02
La configuration minimum requise pour le fonctionnement de MacOS X :
* PowerMac G3, G4 Cube, G4 * iMac * PowerBook G3, G4 * iBook o et un minimum de 128 Mo de RAM
SCISOFT pour Mac OS X :
SciSoft = a collection of astronomical software for ESO users.
L'ESO propose une collection de logiciels pour l'astronomie : iraf, midas, stsdas, pour le système d'exploitation unix d'Apple Mac OS X, téléchargeable à l'url : http://www.stecf.org/macosxscisoft/.
Ou sur le site de versiontracker (SciSoft version 2003.2.3): http://www.versiontracker.com/dyn/moreinfo/macosx/20126
et pour toutes les plateformes: http://www.eso.org/science/scisoft/.
Iraf et MacOSX
NOAO a porté Iraf pour MacOSX dans sa version IRAF 2.12, voir à l'adresse
http://iraf.noao.edu/iraf/web/macport.html
Le site de Marcos, pour vous aider à installer le logiciel iraf sur l'unix d'apple, voir "The Macintosh IRAF web Page" à l'url http://www.owlnet.rice.edu/~marcosh/iraf/
LaTeX pour MacOSX
Pour installer l'environnement LateX sur votre machine il vous faut l'ensemble teTex et sur MacOSX, le freeware TeXShop, ou iteXMac (previewer for teTeX - Open Source) pour pouvoir mettre en forme facilement vos textes :
Ces freewares vous offrent :
Une fenêtre d'édition, traitement de texte, et balises de mise en forme colorées. Une fenêtre de prévisualisation pour voir le résultat, d'un coup de clic.
* teTeX : deux solutions o Il vous faut donc teTeX pour MaxOSX (distribution standard de teX pour les machines unix) + pour plus de facilité, uitliser i-Installer (trés facile), à l'adresse http://www.rna.nl/ + ou pour ceux qui préfère fink à l'adresse http://www.apple.com/downloads/macosx/unix_open_source/ # vous trouverez FinkCommander (GUI pour Fink) et Fink o Vous trouverez i-Installer et teTeX for Mac OSX à l'adresse http://www.rna.nl/ + i-Installer v2. i-Installer est une interface conviviale d'installation et de configuration d'applications unix pour Mac OSX, à partir d'internet. + http://www.rna.nl/tex.html distribution TeX pour Mac OS X: * Installer l'interface conviviale à l'ensemble logiciel teTeX
o TeXShop : http://www.apple.com/downloads/macosx/ o iTeXMac : http://itexmac.sourceforge.net
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCKD371Au96VwreaARAvlAAJ9plAuarLKsaPyR9SzpPkS6b02BbwCgux5T selK4XEZ6CtAWRMafiAvqzY= =TWOr -----END PGP SIGNATURE-----
Thierry GONON wrote:
In the therion.ini file, I've made the changes you indicate... but xtherion still don't work and give the same answer !
The problem is probably missing environment variables, when tcl executes some system calls. You may try to enter "--print-environment" into "Command line options" in therion compiler. Therion will print something like that: therion 0.3.7 configuration file: thconfig reading ... done INIT=/home/stacho/.therion:/etc:/usr/etc:/usr/local/etc SOURCE=/home/stacho/.therion:/usr/share/therion:/usr/local/share/therion METAPOST=mpost PDFTEX=pdfetex Here you can check, where it is searching for therion.ini file (INIT directories) and also whether METAPOST and PDFTEX are corretly set (with full path). If not - try to put therion.ini into some of the INIT directories. There is another dirty :) possibility. Modify following lines in thexpmap.cxx: this->path_mpost = "mpost"; this->path_pdftex = "pdfetex"; to this->path_mpost = "/path/to/mpost"; this->path_pdftex = "/path/to/pdfetex"; and recompile. May be it will help. If not - we have to change the way how therion is called by wish in MacOSX. S.
So, now, I don't have real problems to use therion, except that I must compile within the command line !!
Thank you very much !
Thierry
Le 4 mars 05, à 09:32, Stacho Mudrak a écrit :
I use the following version of TeX , in fact a teTex version : TeX (Web2C 7.5.2) 3.141592 kpathsea version 3.5.2 Copyright (C) 1997-2003 D.E. Knuth. Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc. when I run mpost from command line, everything seem OK : it ask me for a file, indicating : This is MetaPost, Version 0.641 (Web2C 7.5.2) (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
So it looks to me - that tcl is calling different shell to execute system calls than your command console is. This different shell has probably not correct environment settings.
In that case, you will probably need to set up exact path to mpost and pdfetex executables. You can do it via therion.ini. Copy therion.ini file to /etc. Edit following lines:
# mpost-path "mpost" # pdftex-path "pdfetex"
to
mpost-path "/your/path/to/mpost" pdftex-path "/your/path/to/pdfetex"
where /your/path/to is usually /usr/bin or /usr/local/bin. But I am not sure, how it is on Mac OS X.
Another question: do you have same problems with demo files, when running therion from command line? Do following commands work?
cd demo-padavka therion
Hope this helps.
Regards, S.
P.S. MartinS has sent me something about his installation of teTeX that works. It is here:
Last login: Fri Mar 4 08:41:14 on ttyp1 Welcome to Darwin! bash-2.05a$ mpost This is MetaPost, Version 0.641 (Web2C 7.3.8) **^C bash-2.05a$ tex This is TeX, Version 3.14159 (Web2C 7.3.8) **^C
xxxxxxxxxxxxxxxxxxxxxxxx
installed via: i-installer - http://www.rna.nl/ii.html
xxxxxxxxxxxxxxxxxxxxxxxx
Logiciels sur micros-ordinateurs freeBSD (linux, macOSX)
Serveur d'applications libres pour l'unix d'Apple : Mac OSX
Menu Aller > se connecter au serveur ... dans la zone SIO sélectionnez la machine : macosxserveur , et choisissez (à nouveau) macosxserveur :
* Tout se trouve dans le réperrtoire OSX
mais il marche encore :
MacServeur-SIO :
Vous trouverez sur le vieux Macintosh 6100 : MacServeur-SIO, qui se trouve dasn la zone AppleTalk SIO, un ensemble de logiciels du monde Open Source pour les utilisateurs scientifiques de MacOSX :
Dans le répertoire MACOSX
Offre spéciale : MacOS X (système unix-freeBSD- d'Apple)
Attention sortie prochiane de PANTHER (MacOSX 10.3)
Pour l'Observatoire, vous pouvez acquérir le système unix d'Apple chez MacWareHouse
* Obtenir un devis : o Monsieur Roger TRUONG (roger.truong @ eu.mwhse.com) + tél : 01 41 84 44 57 + fax : 01 48 17 83 02
La configuration minimum requise pour le fonctionnement de MacOS X :
* PowerMac G3, G4 Cube, G4 * iMac * PowerBook G3, G4 * iBook o et un minimum de 128 Mo de RAM
SCISOFT pour Mac OS X :
SciSoft = a collection of astronomical software for ESO users.
L'ESO propose une collection de logiciels pour l'astronomie : iraf, midas, stsdas, pour le système d'exploitation unix d'Apple Mac OS X, téléchargeable à l'url : http://www.stecf.org/macosxscisoft/.
Ou sur le site de versiontracker (SciSoft version 2003.2.3): http://www.versiontracker.com/dyn/moreinfo/macosx/20126
et pour toutes les plateformes: http://www.eso.org/science/scisoft/.
Iraf et MacOSX
NOAO a porté Iraf pour MacOSX dans sa version IRAF 2.12, voir à l'adresse
http://iraf.noao.edu/iraf/web/macport.html
Le site de Marcos, pour vous aider à installer le logiciel iraf sur l'unix d'apple, voir "The Macintosh IRAF web Page" à l'url http://www.owlnet.rice.edu/~marcosh/iraf/
LaTeX pour MacOSX
Pour installer l'environnement LateX sur votre machine il vous faut l'ensemble teTex et sur MacOSX, le freeware TeXShop, ou iteXMac (previewer for teTeX - Open Source) pour pouvoir mettre en forme facilement vos textes :
Ces freewares vous offrent :
Une fenêtre d'édition, traitement de texte, et balises de mise en forme colorées. Une fenêtre de prévisualisation pour voir le résultat, d'un coup de clic.
* teTeX : deux solutions o Il vous faut donc teTeX pour MaxOSX (distribution standard de teX pour les machines unix) + pour plus de facilité, uitliser i-Installer (trés facile), à l'adresse http://www.rna.nl/ + ou pour ceux qui préfère fink à l'adresse http://www.apple.com/downloads/macosx/unix_open_source/ # vous trouverez FinkCommander (GUI pour Fink) et Fink o Vous trouverez i-Installer et teTeX for Mac OSX à l'adresse http://www.rna.nl/ + i-Installer v2. i-Installer est une interface conviviale d'installation et de configuration d'applications unix pour Mac OSX, à partir d'internet. + http://www.rna.nl/tex.html distribution TeX pour Mac OS X: * Installer l'interface conviviale à l'ensemble logiciel teTeX
o TeXShop : http://www.apple.com/downloads/macosx/ o iTeXMac : http://itexmac.sourceforge.net
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCKD371Au96VwreaARAvlAAJ9plAuarLKsaPyR9SzpPkS6b02BbwCgux5T selK4XEZ6CtAWRMafiAvqzY= =TWOr -----END PGP SIGNATURE-----
At 11:52 +0100 4.3.2005, Thierry GONON wrote: *******************************************
except that I must compile within the command line !!
There is realy something strange. I use therion under MacOSX several years, without any important problem. And I made standard instalations, nothing else. MartinS. --
participants (3)
-
Martin Sluka -
Stacho Mudrak -
Thierry GONON