You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2005/11/07 09:44:53 UTC

Re: help building rivet on panther

jake wrote:

Hi, I've crossposted your email to rivet-dev, which is a slightly better
place for Rivet questions (I'm not sure everyone here reads the newsgroup).

> Hello.  I'm trying to build rivet on Panther, using the current cvs
> repository download, and the following command issues the following
> error message.  Anyone know what this means and how I can fix it?  I've
> already tried rebuilding and reinstalling tcl/tk 8.4.
> 
>>>From the src directory:
> 
> sudo ./configure.tcl -with-apxs /usr/sbin/apxs -with-tclconfig
> /Library/Frameworks/Tcl.framework/Versions/8.4/tclConfig.sh

As an aside, you probably don't want to use 'sudo' until the 'make
install' step as a general rule.

> Configuring
> .error: can't read "LDFLAGS": no such variable
>   line was: TCL_SHLIB_LD='cc -dynamiclib ${LDFLAGS} -Wl,-single_module'
>   emitting empty variable for: TCL_SHLIB_LD
>   please make it right in configs.tcl or figure out the bug

> error: can't read "AR": no such variable
>   line was: TCL_STLIB_LD='${AR} cr'
>   emitting empty variable for: TCL_STLIB_LD
>   please make it right in configs.tcl or figure out the bug
> 
> error: can't read "LIBS": no such variable
>   line was: TCL_SHLIB_LD_LIBS='${LIBS}'
>   emitting empty variable for: TCL_SHLIB_LD_LIBS
>   please make it right in configs.tcl or figure out the bug
> 
> error: can't read "VERSION": no such variable
>   line was: TCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.dylib'
>   emitting empty variable for: TCL_SHARED_LIB_SUFFIX
>   please make it right in configs.tcl or figure out the bug
> 
> error: can't read "VERSION": no such variable
>   line was: TCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a'
>   emitting empty variable for: TCL_UNSHARED_LIB_SUFFIX
>   please make it right in configs.tcl or figure out the bug
> 
> .........done.

Can you post a copy of your tclConfig.sh to the mailing list?

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: help building rivet on panther

Posted by "David N. Welton" <da...@dedasys.com>.
David N. Welton wrote:
> Jake Miles wrote:
> 
>>I'm not sure if this is how to post to the mailing list, but this is
>>my tclConfig.sh.  Thank you for any help.  - Jake
> 
> 
> I'm going to try compiling it on the ASF MacOS X machine, and see if
> there are any problems that I can see locally.  Otherwise, perhaps Karl
> H has some insight into what might be malfunctioning.

Hrmph!  I am not able to compile Apache on MacOS X:

/usr/bin/ld: -undefined: unknown argument: -lbundle1.o

This is 1.3.34.

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: help building rivet on panther

Posted by "David N. Welton" <da...@dedasys.com>.
Jake Miles wrote:
> I'm not sure if this is how to post to the mailing list, but this is
> my tclConfig.sh.  Thank you for any help.  - Jake

I'm going to try compiling it on the ASF MacOS X machine, and see if
there are any problems that I can see locally.  Otherwise, perhaps Karl
H has some insight into what might be malfunctioning.

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: help building rivet on panther

Posted by Jake Miles <ja...@gmail.com>.
I'm not sure if this is how to post to the mailing list, but this is
my tclConfig.sh.  Thank you for any help.  - Jake

# tclConfig.sh --
#
# This shell script (for sh) is generated automatically by Tcl's
# configure script.  It will create shell variables for most of
# the configuration options discovered by the configure script.
# This script is intended to be included by the configure scripts
# for Tcl extensions so that they don't have to figure this all
# out for themselves.
#
# The information in this file is specific to a single platform.
#
# RCS: @(#) $Id: tclConfig.sh.in,v 1.17.2.1 2004/07/20 11:13:10 das Exp $

# Tcl's version number.
TCL_VERSION='8.4'
TCL_MAJOR_VERSION='8'
TCL_MINOR_VERSION='4'
TCL_PATCH_LEVEL='.11'

# C compiler to use for compilation.
TCL_CC='gcc -pipe'

# -D flags for use with the C compiler.
TCL_DEFS=' -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1
-DHAVE_THREE_ARG_READDIR_R=1 -DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1
-DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\"
-DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_INT_TYPE=long\ long
-DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1
-DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1
-DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
-DTCL_FRAMEWORK=1 '

# If TCL was built with debugging symbols, generated libraries contain
# this string at the end of the library name (before the extension).
TCL_DBGX=

# Default flags used in an optimized and debuggable build, respectively.
TCL_CFLAGS_DEBUG='-g'
TCL_CFLAGS_OPTIMIZE='-Os'

# Default linker flags used in an optimized and debuggable build, respectively.
TCL_LDFLAGS_DEBUG=''
TCL_LDFLAGS_OPTIMIZE=''

# Flag, 1: we built a shared lib, 0 we didn't
TCL_SHARED_BUILD=1

# The name of the Tcl library (may be either a .a file or a shared library):
TCL_LIB_FILE='Tcl'

# Flag to indicate whether shared libraries need export files.
TCL_NEEDS_EXP_FILE=0

# String that can be evaluated to generate the part of the export file
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed).  May depend on the variables
# VERSION.  On most UNIX systems this is ${VERSION}.exp.
TCL_EXPORT_FILE_SUFFIX=''

# Additional libraries to use when linking Tcl.
TCL_LIBS='  -lpthread -framework CoreFoundation '

# Top-level directory in which Tcl's platform-independent files are
# installed.
TCL_PREFIX='/usr/local'

# Top-level directory in which Tcl's platform-specific files (e.g.
# executables) are installed.
TCL_EXEC_PREFIX='/usr/local'

# Flags to pass to cc when compiling the components of a shared library:
TCL_SHLIB_CFLAGS='-fno-common'

# Flags to pass to cc to get warning messages
TCL_CFLAGS_WARNING='-Wall -Wno-implicit-int -fno-strict-aliasing'

# Extra flags to pass to cc:
TCL_EXTRA_CFLAGS=''

# Base command to use for combining object files into a shared library:
TCL_SHLIB_LD='cc -dynamiclib ${LDFLAGS} -Wl,-single_module'

# Base command to use for combining object files into a static library:
TCL_STLIB_LD='${AR} cr'

# Either '$LIBS' (if dependent libraries should be included when linking
# shared libraries) or an empty string.  See Tcl's configure.in for more
# explanation.
TCL_SHLIB_LD_LIBS='${LIBS}'

# Suffix to use for the name of a shared library.
TCL_SHLIB_SUFFIX='.dylib'

# Library file(s) to include in tclsh and other base applications
# in order to provide facilities needed by DLOBJ above.
TCL_DL_LIBS=''

# Flags to pass to the compiler when linking object files into
# an executable tclsh or tcltest binary.
TCL_LD_FLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first'

# Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
# run-time dynamic linker where to look for shared libraries such as
# libtcl.so.  Used when linking applications.  Only works if there
# is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
TCL_CC_SEARCH_FLAGS=''
TCL_LD_SEARCH_FLAGS=''

# Additional object files linked with Tcl to provide compatibility
# with standard facilities from ANSI C or POSIX.
TCL_COMPAT_OBJS=''

# Name of the ranlib program to use.
TCL_RANLIB='ranlib'

# -l flag to pass to the linker to pick up the Tcl library
TCL_LIB_FLAG='-framework Tcl'

# String to pass to linker to pick up the Tcl library from its
# build directory.
TCL_BUILD_LIB_SPEC='-F/Users/jake/Desktop/build/tcl/Deployment -framework Tcl'

# String to pass to linker to pick up the Tcl library from its
# installed directory.
TCL_LIB_SPEC='-F/Library/Frameworks -framework Tcl'

# String to pass to the compiler so that an extension can
# find installed Tcl headers.
TCL_INCLUDE_SPEC='-I/Library/Frameworks/Tcl.framework/Versions/8.4/Headers'

# Indicates whether a version numbers should be used in -l switches
# ("ok" means it's safe to use switches like -ltcl7.5;  "nodots" means
# use switches like -ltcl75).  SunOS and FreeBSD require "nodots", for
# example.
TCL_LIB_VERSIONS_OK='ok'

# String that can be evaluated to generate the part of a shared library
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed).  May depend on the variables
# VERSION and SHLIB_SUFFIX.  On most UNIX systems this is
# ${VERSION}${SHLIB_SUFFIX}.
TCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.dylib'

# String that can be evaluated to generate the part of an unshared library
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed).  May depend on the variable
# VERSION.  On most UNIX systems this is ${VERSION}.a.
TCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a'

# Location of the top-level source directory from which Tcl was built.
# This is the directory that contains a README file as well as
# subdirectories such as generic, unix, etc.  If Tcl was compiled in a
# different place than the directory containing the source files, this
# points to the location of the sources, not the location where Tcl was
# compiled.
TCL_SRC_DIR='/Users/jake/Desktop/tcl8.4.11'

# List of standard directories in which to look for packages during
# "package require" commands.  Contains the "prefix" directory plus also
# the "exec_prefix" directory, if it is different.
TCL_PACKAGE_PATH='~/Library/Tcl /Library/Tcl /Network/Library/Tcl
/System/Library/Tcl ~/Library/Frameworks /Library/Frameworks
/Network/Library/Frameworks /System/Library/Frameworks'

# Tcl supports stub.
TCL_SUPPORTS_STUBS=1

# The name of the Tcl stub library (.a):
TCL_STUB_LIB_FILE='libtclstub8.4${TCL_DBGX}.a'

# -l flag to pass to the linker to pick up the Tcl stub library
TCL_STUB_LIB_FLAG='-ltclstub8.4${TCL_DBGX}'

# String to pass to linker to pick up the Tcl stub library from its
# build directory.
TCL_BUILD_STUB_LIB_SPEC='-L/Users/jake/Desktop/build/tcl/Deployment
-ltclstub8.4${TCL_DBGX}'

# String to pass to linker to pick up the Tcl stub library from its
# installed directory.
TCL_STUB_LIB_SPEC='-L/Library/Frameworks/Tcl.framework/Versions/8.4
-ltclstub8.4${TCL_DBGX}'

# Path to the Tcl stub library in the build directory.
TCL_BUILD_STUB_LIB_PATH='/Users/jake/Desktop/build/tcl/Deployment/libtclstub8.4${TCL_DBGX}.a'

# Path to the Tcl stub library in the install directory.
TCL_STUB_LIB_PATH='/Library/Frameworks/Tcl.framework/Versions/8.4/libtclstub8.4${TCL_DBGX}.a'

# Flag, 1: we built Tcl with threads enables, 0 we didn't
TCL_THREADS=1


On 11/7/05, David N. Welton <da...@dedasys.com> wrote:
> jake wrote:
>
> Hi, I've crossposted your email to rivet-dev, which is a slightly better
> place for Rivet questions (I'm not sure everyone here reads the newsgroup).
>
> > Hello.  I'm trying to build rivet on Panther, using the current cvs
> > repository download, and the following command issues the following
> > error message.  Anyone know what this means and how I can fix it?  I've
> > already tried rebuilding and reinstalling tcl/tk 8.4.
> >
> >>From the src directory:
> >
> > sudo ./configure.tcl -with-apxs /usr/sbin/apxs -with-tclconfig
> > /Library/Frameworks/Tcl.framework/Versions/8.4/tclConfig.sh
>
> As an aside, you probably don't want to use 'sudo' until the 'make
> install' step as a general rule.
>
> > Configuring
> > .error: can't read "LDFLAGS": no such variable
> >   line was: TCL_SHLIB_LD='cc -dynamiclib ${LDFLAGS} -Wl,-single_module'
> >   emitting empty variable for: TCL_SHLIB_LD
> >   please make it right in configs.tcl or figure out the bug
>
> > error: can't read "AR": no such variable
> >   line was: TCL_STLIB_LD='${AR} cr'
> >   emitting empty variable for: TCL_STLIB_LD
> >   please make it right in configs.tcl or figure out the bug
> >
> > error: can't read "LIBS": no such variable
> >   line was: TCL_SHLIB_LD_LIBS='${LIBS}'
> >   emitting empty variable for: TCL_SHLIB_LD_LIBS
> >   please make it right in configs.tcl or figure out the bug
> >
> > error: can't read "VERSION": no such variable
> >   line was: TCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.dylib'
> >   emitting empty variable for: TCL_SHARED_LIB_SUFFIX
> >   please make it right in configs.tcl or figure out the bug
> >
> > error: can't read "VERSION": no such variable
> >   line was: TCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a'
> >   emitting empty variable for: TCL_UNSHARED_LIB_SUFFIX
> >   please make it right in configs.tcl or figure out the bug
> >
> > .........done.
>
> Can you post a copy of your tclConfig.sh to the mailing list?
>
> --
> David N. Welton
> - http://www.dedasys.com/davidw/
>
> Linux, Open Source Consulting
> - http://www.dedasys.com/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org