[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Therion] Problem with Therion on MacOSX solved
From: |
Martin Sluka |
Subject: |
[Therion] Problem with Therion on MacOSX solved |
Date: |
Tue, 18 Oct 2005 20:48:39 +0200 |
1. there is the new developers snapshot .10, please download it
2. edit the file makeinstall.pl:
$platform = $ARGV[0];
if ($platform eq 'WIN32') {
$cdir = `cd`;
$cdir =~ s/\s*$//;
@paths = split(/\;/,$ENV{PATH});
$tpth = "C:\\WINDOWS";
foreach $pth (@paths) {
if (($pth =~ /WINDOWS\s*$/) || ($pth =~ /WINNT\s*$/)) {
$tpth = $pth;
$tpth =~ s/\s*$//;
}
}
open OUTPT, ">$tpth/therion.bat";
print OUTPT "address@hidden"$cdir\\therion.exe\" %1 %2 %3 %4 %5 %6 %7 %8 %9";
close OUTPT;
open OUTPT, ">./xtherion/xtherion.tcl";
$xthsrc = "source \"$cdir\\xtherion\\xtherion\"\n";
$xthsrc =~ s/\\/\\\\/g;
print OUTPT $xthsrc;
close OUTPT;
} else {
$cdir = `pwd`;
$cdir =~ s/\s*$//;
`rm -f /usr/bin/therion`;
`rm -f /usr/bin/xtherion`;
`rm -f /etc/therion.ini.new`;
`rm -f /etc/xtherion.ini.new`;
`cp -f $cdir/therion /usr/bin/therion`;
`cp -f $cdir/xtherion/xtherion /usr/bin/xtherion`;
`cp -f $cdir/therion.ini /etc/therion.ini.new`;
`cp -f $cdir/xtherion/xtherion.ini /etc/xtherion.ini.new`;
if ((-s "/etc/therion.ini") <= 0) {
`cp -f $cdir/therion.ini /etc/therion.ini`;
}
if ((-s "/etc/xtherion.ini") <= 0) {
`cp -f $cdir/xtherion/xtherion.ini /etc/xtherion.ini`;
}
}
3. compile therion
4. edit file therion.ini in /private/etc
### Output character encodings ###
# encoding-default ASCII
# encoding-sql ASCII
### Default output language ###
# language en_UK
### Paths to called executable files ###
cavern-path "/Applications/Survex/cavern"
# mpost-path "mpost"
# pdftex-path "pdfetex"
### Search paths for source and configuration files ###
# source-path ""
### Tex fonts initialization ###
# tex-fonts <encoding> <roman> <italic> <bold> <sansserif> <sansserifoblique>
# tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
# tex-fonts xl2 csr10 csti10 csbx10 csss10 csssi10
### Path to temporary directory ###
tmp-path "/Users/**your_user_name_here**/temp"
### Command to remove temporary directory ###
# tmp-remove ""
### Prefered loop closure method
loop-closure survex
5. run xtherion
--
_______________________________________________
Therion mailing list
address@hidden
http://www.speleo.cz/mailman/listinfo/therion
- [Therion] Problems with therion, Thierry Gonon, 2005/10/04
- Re: [Therion] Problems with therion, Martin Sluka, 2005/10/04
- Re: [Therion] Problems with therion, Thierry Gonon, 2005/10/05
- Re: [Therion] Problems with therion, Martin Sluka, 2005/10/06
- Re: [Therion] Problems with therion, Stacho Mudrak, 2005/10/06
- Re: [Therion] Problems with therion, Thierry Gonon, 2005/10/08
- Re: [Therion] Problems with therion, Martin Sluka, 2005/10/08
- Re: [Therion] Problems with therion, Martin Sluka, 2005/10/09
- Re: [Therion] Problems with therion, Martin Sluka, 2005/10/10
- Re: [Therion] Problems with therion, Martin Sluka, 2005/10/06
- [Therion] Problem with Therion on MacOSX solved,
Martin Sluka <=