Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!etlnews.etl.go.jp!etlinn.etl.go.jp!etl.go.jp!trc.rwcp!rwc-tyo!news.iij.ad.jp!rim.or.jp!news.kddnet.ad.jp!imicom.or.jp!kise
From: kise@imicom.or.jp (Hiroshi KISE)
Newsgroups: fj.sys.sun
Subject: How to write site.def for Solaris2.4 (Re: troble install kterm)
Date: 05 Apr 1996 07:42:31 GMT
Organization: Imicom Internet Service, within Imicom Inc.
Lines: 79
Message-ID: <KISE.96Apr5164231@ns.imicom.or.jp>
References: <4iqqhn$rhf@pretty.coara.or.jp> <4jsnq1$hio@pretty.coara.or.jp>
	<DpA04B.AvH@ics.tj.chiba-u.ac.jp>
NNTP-Posting-Host: ns.imicom.or.jp
In-reply-to: asada@icsd6.tj.chiba-u.ac.jp's message of 3 Apr 96 07:43:22 GMT
Xref: galaxy.trc.rwcp.or.jp fj.sys.sun:7173
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.sys.sun&nb=7173&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In article <DpA04B.AvH@ics.tj.chiba-u.ac.jp>
asada@icsd6.tj.chiba-u.ac.jp (Takuya Asada) writes:

> Date: 3 Apr 96 07:43:22 GMT

> /usr/sbin/install $B$,<B9T$5$l$F$$$^$9$G$9$M!#(B/usr/ucb/install $B$N(B
> $BJ}$r;H$($P$*$C$1!<$J$N$G$9!#(B
> PATH $B$NCf$G(B /usr/ucb $B$r@h$K$9$k$+!"(BMakefile $BCf$NJQ?t(B INSTALL $B$r(B
> /usr/ucb/install $B$KJQ99$7$^$;$&!#(B

$B$;$C$+$/$N(Bxmkmf$B$J$N$G!":,$C$3$+$iD>$9$C$F$N$O$I$&$G$7$g$&!#(B
$B$G!"K\Ev$O(B/usr/openwin/config/site.def$B$rD>$9$N$G$9$,!"(B
$B:,@-$,$J$$$N$G!"F1$8%G%#%l%/%H%j$N(BImake.tmpl$B$r$$$8$j$^$7$?!#(B
($B$A$J$_$K!"(BGNU$B$N(Binstall$B$r;H$&$h$&$K$7$F$$$^$9(B)

--- Imake.tmpl.original   Fri Jun 24 13:07:55 1994
+++ Imake.tmpl  Sat Jan 27 17:24:46 1996
@@ -595,7 +595,7 @@
 #define InstallCmd $(SHELL) $(SCRIPTSRC)/bsdinst.sh
 #endif
 #else
-#define InstallCmd install
+#define InstallCmd /usr/local/bin/install
 #endif
 #endif
 #ifndef LdCmd

$B$G!"<ALd$G$9!#$3$N=$@5$HF1$8$3$H$r(Bsite.def$B$G$d$j$?$$$N$G$9$,!"(B
$B$I$&=q$$$?$i$$$$$N$G$7$g$&!#$5$i$K!"(B

In article <SANO.96Apr3213634@hegemony.csce.kyushu-u.ac.jp>
sano@csce.kyushu-u.ac.jp (SANO Fumihiko) writes:

> Date: 03 Apr 1996 12:36:34 GMT

> 3.Makefile$BCf$G:G8e$K(Bkterm$B$r%j%s%/$9$k$H$3$m$K!"(B-R/usr/openwin/lib
>   $B$r%*%W%7%g%s$H$7$FIU$1$F$d$C$F!"%j%s%/$9$k%i%$%V%i%j$r;XDj$9$k!#(B

$B$3$N!"(B-R/usr/openwin/lib$B$r(Bxmkmf$B$r$7$?$H$-$K!"<+F0E*$K(BMakefile$B$K(B
$B4^$a$k$K$O!"(Bsite.def$B$N$I$3$i$X$s$r$$$8$l$P$$$$$N$G$7$g$&$+!)(B

$B$*$^$1$H$7$F!"KM$,;H$C$F$$$k4D6-$G$N!"(B/usr/openwin/config/site.def
($B:9J,(B)$B$r:\$;$^$9!#$D$C$3$s$G$d$C$F$/$@$5$$!#(B

--- site.def.original     Sat Nov 25 16:23:57 1995
+++ site.def    Sat Jan 13 13:09:44 1996
@@ -25,8 +25,9 @@
 
 #ifdef BeforeVendorCF
 
-/* #define HasGcc YES */
-
+#define HasGcc YES
+#define HasGcc2 YES
+#define LibDir /usr/openwin/lib
 #define UseInstalled YES
 #endif /* BeforeVendorCF */
 
@@ -41,7 +42,9 @@
  */
 
 #ifdef SVR4
-#define CcCmd cc
+#define CcCmd gcc
+#define CppCmd /usr/ccs/lib/cpp
+#define PositionIndependentCFlags -fPIC
 #else
 #define CcCmd acc
 #define IncRoot /usr/dist/local/sun4/lang/SC1.0/include/CC
@@ -55,6 +58,6 @@
 #define ProjectRoot /usr/X11R5
 #define ProjectRoot /usr/openwin
 */
-#define ProjectRoot $(OPENWINHOME)
+#define ProjectRoot /usr/openwin
 
 #endif /* AfterVendorCF */
-- 
kise@imicom.or.jp
