From owner-FreeBSD-users-jp@jp.freebsd.org  Mon Dec  4 17:06:10 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA03943;
	Mon, 4 Dec 2000 17:06:10 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from shark.math.cst.nihon-u.ac.jp (shark.math.cst.nihon-u.ac.jp [133.43.100.138])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA03930;
	Mon, 4 Dec 2000 17:06:09 +0900 (JST)
	(envelope-from shimura@math.cst.nihon-u.ac.jp)
Received: from shark.math.cst.nihon-u.ac.jp (localhost [127.0.0.1])
	by shark.math.cst.nihon-u.ac.jp (8.9.3/8.9.3) with ESMTP id RAA05062;
	Mon, 4 Dec 2000 17:04:33 +0900 (JST)
	(envelope-from shimura@math.cst.nihon-u.ac.jp)
Message-Id: <200012040804.RAA05062@shark.math.cst.nihon-u.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
cc: ports-jp@jp.freebsd.org
Date: Mon, 04 Dec 2000 17:04:33 +0900
From: SHIMURA Tatsuya <shimura@math.cst.nihon-u.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 57269
Subject: [FreeBSD-users-jp 57269] tgif-nls does not work with -print -ps option
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: shimura@math.cst.nihon-u.ac.jp


FreeBSD 4.2R ports $B$N(B graphics/tgif-nls $B$O!"(Btgif -print -ps xxxx.obj $B$J$I$H$9$k$H!"(B
$B4V0c$C$?(B directory $B$K:n6HMQ$N%U%!%$%k$r:n$j$K9T$C$F$$$k$h$&$G$9!#(B

==============================================================================
% pkg_info -aI | grep tgif-nls
tgif-nls-4.1.39     A two-dimensional drawing tool with NLS message catalogs sup

% pwd
/usr/home/shimura
% ls sample2.obj
sample2.obj

% tgif -print -ps sample2.obj
Tgif Version 4.1 (patchlevel 39)

Copyright (C) 1990-2000, William Chia-Wei Cheng

Reading 'sample2.obj'...
Race condition detected in creating the '/Tgifsu3829' temporary file.  Possible causes are network problems, security problems, etc.  This file will be removed before proceeding.
Cannot open '/Tgifsu3829' for writing.  Printing aborted.
==============================================================================

$B$H$3$m$,!"(Broot $B$GF1$8$3$H$r$9$k$H<!$N$h$&$K$J$j$^$9!#(B

==============================================================================
% su
Password:

# tgif -print -ps sample2.obj
Tgif Version 4.1 (patchlevel 39)

Copyright (C) 1990-2000, William Chia-Wei Cheng

Reading 'sample2.obj'...
Writing to '/TgifJJ3832'...
Writing to '/TgifJu3832'...
PostScript file printed into 'sample2.ps'.
note-pc# exit
==============================================================================

$B0J>e$O(B packages, ports $B6&$K3NG'$7$^$7$?!#(B-ps $B$NB>$K$O(B -eps -pdf -text $B$J$I$G$b(B
$BF1MM$G$9!#0lJ}(B -png -jpeg -xbm $B$J$I$G$OBg>fIW$G$7$?!#(B

$B<!$K(B graphics/tgif-nls $B$r(B pkg_delete $B$7!"(Bports $B$G(B make configure $B$r$7(B
$B$?8e$K!"(Bgraphics/tgif-nls/work/tgif-4.1.39/Makefile $B$r=q49$((B
-D_DONT_USE_MKTEMP $B$r%3%a%s%H%"%&%H$7$?$b$N$r(B compile $B$7$^$7$?!#(B

$B$=$N7k2L$O<!$NDL$j$G$9!#(B

==============================================================================
% tgif -print -ps sample2.obj 
Tgif Version 4.1 (patchlevel 39)

Copyright (C) 1990-2000, William Chia-Wei Cheng

Reading 'sample2.obj'...
Writing to 'TgiftB1253'...
Writing to 'TgifZC1253'...
PostScript file printed into 'sample2.ps'.
==============================================================================

4.1R $B$N(B tgif-nls-4.1.37 $B$+$i(B 4.2R $B$N(B tgif-nls-4.1.39 $B$K$J$C$?:]$K(B
mktemp $B$r;H$&$"$?$j$,=q49$($i$l$F$$$k$h$&$J$N$G$9$,!">e$N7k2L$+$iA[A|(B
$B$9$k$K$3$N$"$?$j$,$*$+$7$$$h$&$J5$$,$7$^$9!#(B

-D_DONT_USE_MKTEMP $B$K$D$$$F$N%3%a%s%H$d!"%3%s%Q%$%k;~$N(B warning $B$+$i9M(B
$B$($k$H!"(B-D_DONT_USE_MKTEMP $B$r%3%a%s%H%"%&%H$9$k$H$$$&$N$O@5$7$$BP=hK!(B
$B$G$O$J$$$H;W$&$N$G$9$,!"%W%m%0%i%`$,FI$a$J$$$N$G@5$7$$2r7hJ}K!$O$o$+$j(B
$B$^$;$s!#(B

-- 
$BF|K\Bg3XM}9)3XIt?t3X2J(B
	$B;VB<(B $BN)Lp(B
