From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31107 invoked by alias); 6 Dec 2003 05:34:13 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 31100 invoked from network); 6 Dec 2003 05:34:11 -0000 Received: from unknown (HELO smtp802.mail.sc5.yahoo.com) (66.163.168.181) by sources.redhat.com with SMTP; 6 Dec 2003 05:34:11 -0000 Received: from adsl-64-175-248-254.dsl.sntc01.pacbell.net (HELO 6-allhosts) (sampln@sbcglobal.net@64.175.248.254 with plain) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 6 Dec 2003 05:34:10 -0000 Subject: Re: Cannot build Xconq on Debian Linux From: Lincoln Peters To: Eric McDonald Cc: Xconq list In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-Xt9iB4ZUt+1QOcuQEiQI" Message-Id: <1070688957.21645.174.camel@odysseus> Mime-Version: 1.0 Date: Sat, 06 Dec 2003 16:24:00 -0000 X-SW-Source: 2003/txt/msg00977.txt.bz2 --=-Xt9iB4ZUt+1QOcuQEiQI Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 912 On Fri, 2003-12-05 at 20:54, Eric McDonald wrote: > On Fri, 5 Dec 2003, Lincoln Peters wrote: > > > > TCL_CFLAGS = -I/usr/include/tcl8.2 > > > TK_CFLAGS = -I/usr/include/tk8.2 > > Sure. But these should have been picked up from your tclConfig.sh > and tkConfig.sh files. Since they weren't, I would be quite > interested to see where your particular Debian version hides them > in these files. On Debian unstable, the files tclConfig.sh and tkConfig.sh in /usr/lib/tcl8.2 and /usr/lib/tk8.2 respectively. > > This, of course, may not work on non-Debian systems. > > Yeah, and hacking an autogenerated makefile by hand is not really > a fix, _in the configury sense of the word. I would like to get my > hands on your tclConfig.sh and tkConfig.sh files, so that we can > autogenerate the correct thing. I've attached them to this e-mail (they aren't very big). Lincoln Peters --=-Xt9iB4ZUt+1QOcuQEiQI Content-Disposition: attachment; filename=tclConfig.sh Content-Type: text/x-sh; name=tclConfig.sh; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 7235 # 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.13 1999/07/29 19:21:32 wart Exp $ # Tcl's version number. TCL_VERSION='8.2' TCL_MAJOR_VERSION='8' TCL_MINOR_VERSION='2' TCL_PATCH_LEVEL='.3' # C compiler to use for compilation. TCL_CC='cc' # C++ compiler to use for compilation. TCL_CXX='@CXX@' # C flags to use for compilation. TCL_CFLAGS='${CFLAGS_OPTIMIZE}' # C++ flags to use for compilation. TCL_CXXFLAGS='' # -D flags for use with the C compiler. TCL_DEFS=' -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=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_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=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='-O2 -D__NO_STRING_INLINES -D__NO_MATH_INLINES' # Default linker flags used in an optimized and debuggable build, respectively. TCL_LDFLAGS_DEBUG='@LDFLAGS_DEBUG@' TCL_LDFLAGS_OPTIMIZE='@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='libtcl8.2${TCL_DBGX}.so.1' # 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='' # 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='-ldl -lieee -lm' # Top-level directory in which Tcl's platform-independent files are # installed. TCL_PREFIX='/usr' # Top-level directory in which Tcl's platform-specific files (e.g. # executables) are installed. TCL_EXEC_PREFIX='/usr' # Flags to pass to cc when compiling the components of a shared library: TCL_SHLIB_CFLAGS='-fPIC' # Flags to pass to cc when compiling the components of a shared library: TCL_SHLIB_CXXFLAGS='@SHLIB_CXXFLAGS@' # Flags to pass to cc to get warning messages TCL_CFLAGS_WARNING='' # 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 -shared' # Base command to use for combining object files into a shared 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='.so' # Library file(s) to include in tclsh and other base applications # in order to provide facilities needed by DLOBJ above. TCL_DL_LIBS='-ldl' # Flags to pass to the compiler when linking object files into # an executable tclsh or tcltest binary. TCL_LD_FLAGS='-rdynamic' # 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_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=':' # -l flag to pass to the linker to pick up the Tcl library TCL_LIB_FLAG='-ltcl8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl library from its # build directory. TCL_BUILD_LIB_SPEC='-L/usr/lib -ltcl8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl library from its # installed directory. TCL_LIB_SPEC='-L/usr/lib -ltcl8.2${TCL_DBGX}' # 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}.so.1' # 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='/usr/include/tcl8.2/tcl-private' # 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='/usr/local/lib /usr/lib' # Tcl supports stub. TCL_SUPPORTS_STUBS=1 # The name of the Tcl stub library (.a): TCL_STUB_LIB_FILE='libtclstub8.2${TCL_DBGX}.a' # -l flag to pass to the linker to pick up the Tcl stub library TCL_STUB_LIB_FLAG='-ltclstub8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl stub library from its # build directory. TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl stub library from its # installed directory. TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.2${TCL_DBGX}' # Path to the Tcl stub library in the build directory. TCL_BUILD_STUB_LIB_PATH='/usr/lib/libtclstub8.2${TCL_DBGX}.a' # Path to the Tcl stub library in the install directory. TCL_STUB_LIB_PATH='/usr/lib/libtclstub8.2${TCL_DBGX}.a' --=-Xt9iB4ZUt+1QOcuQEiQI Content-Disposition: attachment; filename=tkConfig.sh Content-Type: text/x-sh; name=tkConfig.sh; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 3182 # tkConfig.sh -- # # This shell script (for sh) is generated automatically by Tk'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 Tk extensions so that they don't have to figure this all # out for themselves. This file does not duplicate information # already provided by tclConfig.sh, so you may need to use that # file in addition to this one. # # The information in this file is specific to a single platform. # # RCS: @(#) $Id: tkConfig.sh.in,v 1.7 1999/03/10 07:04:45 stanton Exp $ # Tk's version number. TK_VERSION='8.2' TK_MAJOR_VERSION='8' TK_MINOR_VERSION='2' TK_PATCH_LEVEL='.3' # -D flags for use with the C compiler. TK_DEFS=' -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DNO_XIDPROC -DI18N_IMPROVE' # Flag, 1: we built a shared lib, 0 we didn't TK_SHARED_BUILD=1 # This indicates if Tk was build with debugging symbols TK_DBGX= # The name of the Tk library (may be either a .a file or a shared library): TK_LIB_FILE='libtk8.2.so.1' # Additional libraries to use when linking Tk. TK_LIBS='-L/usr/X11R6/lib -lX11 -ldl -lm' # Top-level directory in which Tcl's platform-independent files are # installed. TK_PREFIX='/usr' # Top-level directory in which Tcl's platform-specific files (e.g. # executables) are installed. TK_EXEC_PREFIX='/usr' # -I switch(es) to use to make all of the X11 include files accessible: TK_XINCLUDES='-I/usr/X11R6/include' # Linker switch(es) to use to link with the X11 library archive. TK_XLIBSW='-L/usr/X11R6/lib -lX11' # -l flag to pass to the linker to pick up the Tcl library TK_LIB_FLAG='-ltk8.2' # String to pass to linker to pick up the Tk library from its # build directory. TK_BUILD_LIB_SPEC='-L/usr/lib -ltk8.2' # String to pass to linker to pick up the Tk library from its # installed directory. TK_LIB_SPEC='-L/usr/lib -ltk8.2' # Location of the top-level source directory from which Tk was built. # This is the directory that contains a README file as well as # subdirectories such as generic, unix, etc. If Tk 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 Tk was # compiled. TK_SRC_DIR='/usr/include/tcl8.2/tk-private' # Needed if you want to make a 'fat' shared library library # containing tk objects or link a different wish. TK_CC_SEARCH_FLAGS='' TK_LD_SEARCH_FLAGS='' # The name of the Tk stub library (.a): TK_STUB_LIB_FILE='libtkstub8.2.a' # -l flag to pass to the linker to pick up the Tk stub library TK_STUB_LIB_FLAG='-ltkstub8.2' # String to pass to linker to pick up the Tk stub library from its # build directory. TK_BUILD_STUB_LIB_SPEC='-L/usr/lib -ltkstub8.2' # String to pass to linker to pick up the Tk stub library from its # installed directory. TK_STUB_LIB_SPEC='-L/usr/lib -ltkstub8.2' # Path to the Tk stub library in the build directory. TK_BUILD_STUB_LIB_PATH='/usr/lib/libtkstub8.2.a' # Path to the Tk stub library in the install directory. TK_STUB_LIB_PATH='/usr/lib/libtkstub8.2.a' --=-Xt9iB4ZUt+1QOcuQEiQI--