Re: [Flightgear-devel] (Newbee) Problems compiling MetaKit

2002-02-26 Thread Erik Hofman

Hoyt A. Fleming wrote:
   I am attempting to compile (version 2.4.2-32) MetaKit, which is
 included in (version 0.0.17) Simgear.  (I am utilizing cygwin to create
 binaries on a PC.)  The ../unix/configure command appears to work fine.
 However, the make command creates the following error message:
 
 g++ -c -O2 -I../unix/../include -I/usr/include ../unix/../tcl/mk4tcl.cpp
 -DDLL_

I have to be carefull abot what I'm saying about metakit here but (;-)) 
do you realy wan't the metakit tcl bindings? If not, the easies way is 
to configure it with the following option: --without-tcl

I know it's not a fix, but it could get you going.

Erik



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] (Newbee) Problems compiling MetaKit

2002-02-26 Thread Hoyt A. Fleming

Erik,

Thanks for the help!  I configured MetaKit with the --without-tcl option
and received the following error:

Hoyt A. Fleming@HOYT'S_DESKTOP /usr/local/source/simgear/metakit/builds
$ ../unix/configure --without-tcl
checking for Python configuration... not enabled
checking for Tcl headers... configure: error: no directory doesn't contain
tcl.h


Hoyt A. Fleming@HOYT'S_DESKTOP /usr/local/source/simgear/metakit/builds
$

Any ideas?

Hoyt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Erik Hofman
Sent: Tuesday, February 26, 2002 3:00 AM
To: [EMAIL PROTECTED]
Subject: Re: [Flightgear-devel] (Newbee) Problems compiling MetaKit


Hoyt A. Fleming wrote:
   I am attempting to compile (version 2.4.2-32) MetaKit, which is
 included in (version 0.0.17) Simgear.  (I am utilizing cygwin to create
 binaries on a PC.)  The ../unix/configure command appears to work fine.
 However, the make command creates the following error message:

 g++ -c -O2 -I../unix/../include -I/usr/include ../unix/../tcl/mk4tcl.cpp
 -DDLL_

I have to be carefull abot what I'm saying about metakit here but (;-))
do you realy wan't the metakit tcl bindings? If not, the easies way is
to configure it with the following option: --without-tcl

I know it's not a fix, but it could get you going.

Erik



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



[Flightgear-devel] (Newbee) Problems compiling MetaKit

2002-02-25 Thread Hoyt A. Fleming

I am attempting to compile (version 2.4.2-32) MetaKit, which is
included in (version 0.0.17) Simgear.  (I am utilizing cygwin to create
binaries on a PC.)  The ../unix/configure command appears to work fine.
However, the make command creates the following error message:

g++ -c -O2 -I../unix/../include -I/usr/include ../unix/../tcl/mk4tcl.cpp
-DDLL_
EXPORT -DPIC
In file included from ../unix/../tcl/mk4tcl.cpp:22:
../unix/../tcl/stubtcl.h:3: syntax error before `*'
../unix/../tcl/stubtcl.h:4: syntax error before `*'
../unix/../tcl/stubtcl.h: In function `int MyInitStubs(Tcl_Interp *)':
../unix/../tcl/stubtcl.h:15: syntax error before `*'
../unix/../tcl/stubtcl.h:20: `struct MyInitStubs(Tcl_Interp
*)::HeadOfInterp' ha
s no member named `stubTable'
../unix/../tcl/stubtcl.h:20: `struct MyInitStubs(Tcl_Interp
*)::HeadOfInterp' ha
s no member named `stubTable'
../unix/../tcl/stubtcl.h:20: `TCL_STUB_MAGIC' undeclared (first use this
functio
n)
../unix/../tcl/stubtcl.h:20: (Each undeclared identifier is reported only
once
../unix/../tcl/stubtcl.h:20: for each function it appears in.)
../unix/../tcl/stubtcl.h:26: `tclStubsPtr' undeclared (first use this
function)
../unix/../tcl/stubtcl.h:26: `struct MyInitStubs(Tcl_Interp
*)::HeadOfInterp' ha
s no member named `stubTable'
../unix/../tcl/stubtcl.h:34: `tclPlatStubsPtr' undeclared (first use this
functi
on)
../unix/../tcl/mk4tcl.cpp: In function `struct Tcl_Obj * GetAsObj(const
c4_RowRe
f , const c4_Property , Tcl_Obj * = 0)':
../unix/../tcl/mk4tcl.cpp:347: implicit declaration of function `int
Tcl_SetByte
ArrayObj(...)'
../unix/../tcl/mk4tcl.cpp: In function `int SetAsObj(Tcl_Interp *, const
c4_RowR
ef , const c4_Property , Tcl_Obj *)':
../unix/../tcl/mk4tcl.cpp:401: implicit declaration of function `int
Tcl_GetByte
ArrayFromObj(...)'
../unix/../tcl/mk4tcl.cpp:401: initialization to `const t4_byte *' from
`int' la
cks a cast
../unix/../tcl/mk4tcl.cpp: In method `bool TclSelector::MatchOneString(int,
cons
t char *, const c4_String )':
../unix/../tcl/mk4tcl.cpp:1261: implicit declaration of function `int
Tcl_String
CaseMatch(...)'
../unix/../tcl/mk4tcl.cpp:1261: warning: cannot pass objects of type `const
c4_S
tring' through `...'
../unix/../tcl/mk4tcl.cpp: In method `void TclSelector::ExactKeyProps(const
c4_R
owRef )':
../unix/../tcl/mk4tcl.cpp:1324: conversion to `char *' from `const char *'
disca
rds qualifiers
make: *** [mk4tcl.o] Error 1

Hoyt A. Fleming@HOYT'S_DESKTOP /usr/local/source/simgear/metakit/builds
$

Does anyone know what I need to do to avoid the TCL errors?  Thank you in
advance (from a FlightGear newbee) for your help.  

Hoyt Fleming


attachment: winmail.dat