🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.tcl
Article #232

Install problem about tcl/tk 8.0 on Solaris2.6

#232
From: Norihiko Kimura[06086]
Date: Wed, 14 Jan 1998 00:00
88 lines
3680 bytes
$BLZB<HOI'!wBgJ,Bg3X(B $B9)3XIt$H$b$&$7$^$9!#(B

tcl8.0p2 ( with tcl8.0p2jp_beta1-patch.gz )
tk8.0p2 ( with tk8.0p2jp_beta1-patch.gz )

$B$r(B

OS : Solaris2.6
Compiler : gcc-2.7.2.2 

$B$G%3%s%Q%$%k$7$h$&$H$7$F$$$^$9!#(B

$BF|K\8l%Q%C%A$r$"$F$F(B

% ./$(tcl_directory)/unix/configure --enable-gcc \
           --prefix /usr/local/hoge --exec_prefix /usr/local/heso
$B$H$7$F(Bconfigure$B$r<B9T$7!"(B

% make $B$H$9$k$H(B

kimura(kisaragi) > make
gcc -c -g -O2 -I./../generic -I.  -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_SGTTY=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1      -DTCL_COMPILE_DEBUG -DTCL_COMPILE_STATS  -DTCL_SHLIB_EXT=\".so\" -DKANJI ./../generic/regexp.c
In file included from ../generic/../unix/tclUnixPort.h:38,
                 from ../generic/tclPort.h:25,
                 from ./../generic/regexp.c:48:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/param.h:187: warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous definition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from ../generic/../unix/tclUnixPort.h:97,
                 from ../generic/tclPort.h:25,
                 from ./../generic/regexp.c:48:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `regexp.o'

$B$H$J$j!"%(%i!<$,5/$-$F$7$^$$$^$9!#(B
$B$3$3$G!"(B/usr/include/sys/model.h $B$r8+$F$_$k$H(B

$B2<$N$[$&$G!"(B

#ifdef  __cplusplus
extern "C" {
#endif

/*
 *      These bits are used in various places to specify the data model
 *      of the originator (and/or consumer) of data items.  See <sys/conf.h>
 *      <sys/file.h>, <sys/stream.h> and <sys/sunddi.h>.
 */
#define DATAMODEL_MASK  0x0FF00000

#define DATAMODEL_ILP32 0x00100000
#define DATAMODEL_LP64  0x00200000

#define DATAMODEL_NONE  0

#if     defined(_LP64)
#define DATAMODEL_NATIVE        DATAMODEL_LP64
#elif   defined(_ILP32)
#define DATAMODEL_NATIVE        DATAMODEL_ILP32
#else
#error  "No DATAMODEL_NATIVE specified"
#endif  /* _LP64 || _ILP32 */

#ifdef  __cplusplus
}
#endif

$B$3$&Dj5A$5$l$F$$$k$N$G$9$,!"(BSolaris2.5.1 $B$J$I$G$O(B model.h $B$,(B
$BDj5A$5$l$F$$$J$$$N$G!"$3$N$h$&$J%(%i!<$O5/$-$^$;$s!#(B
$B=i?4<T$J<ALd$+$b$7$l$^$;$s$,!"$I$&$+$h$m$7$/$*4j$$$$$?$7$^$9!#(B

Name	   : $BLZB<(B $BHOI'(B ( Norihiko Kimura )
             $BBgJ,Bg3X(B $B9)3XIt(B $B7W;;5!%7%9%F%`Bh#28&5f<<(B
IRC-Name   : noa
E-mail	   : kimura@csis.oita-u.ac.jp
           : http://www.csis.oita-u.ac.jp/~kimura/
--
Name	   : $BLZB<(B $BHOI'(B ( Norihiko Kimura )
             $BBgJ,Bg3X(B $B9)3XIt(B $B7W;;5!%7%9%F%`Bh#28&5f<<(B
IRC-Name   : noa
E-mail	   : kimura@csis.oita-u.ac.jp
           : http://www.csis.oita-u.ac.jp/~kimura/

$B:#F|$N6+$S(B : $B%8%*%sDk9q$K1I8w$"$l$'$'!A(B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <KIMURA.98Jan14211611@kisaragi.csis.oita-u.ac.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 15a83d,c63ce17fa5badd01,start
X-Google-Attributes: gid15a83d,public
From: kimura@kisaragi.csis.oita-u.ac.jp (Norihiko Kimura[06086])
Subject: Install problem about tcl/tk 8.0 on Solaris2.6
Date: 1998/01/14
Message-ID: <KIMURA.98Jan14211611@kisaragi.csis.oita-u.ac.jp>
X-Deja-AN: 315834518
Organization: Dept. of Comp. Sci. & Intel. Sys., Oita Univ., Oita, Japan.
Newsgroups: fj.lang.tcl