Re: kitgen report

Tom Poindexter <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
On Thu, Jan 25, 2007 at 01:48:15PM -0500, Virden, Larry W. wrote:
> I'm on SPARC Solaris 9. I tried out kitgen, per the equi4.com instructions,
> and encountered this:

> mkdir -p build/tcl && cd build/tcl && export CFLAGS="" && \
>   sh ../../../tcl/unix/configure --disable-shared --enable-threads --with-tzdata \
>     --prefix=/vol/tclsrcsol/cvs/kitgen/8.5/kit-large/build --exec-prefix=/vol/tclsrcsol/cvs/kitgen/8.5/kit-large/build && \
>   gmake install-binaries install-libraries install-private-headers
> /bin/sh: CFLAGS=: is not an identifier
> gmake[1]: *** [build/tcl] Error 1
> gmake[1]: Leaving directory `/vol/tclsrcsol/cvs/kitgen/8.5/kit-large'
> gmake: *** [large] Error 2
> 
> The kitgen page says to report errors here, so I am doing that.
> Anyone know what the CFLAGS=: error is about?

Just guessing, is your /bin/sh a Bourne shell?  Ksh and Bash
should have no problem dealing with

	export CFLAGS=""

but Bourne usually needs those on two lines:

	CFLAGS=""
	export CFLAGS

-- 
Tom Poindexter
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.