Problems and solutions for building Xconq
Erik Sigra
sigra@home.se
Sat Jul 6 17:10:00 GMT 2002
torsdagen den 4 juli 2002 20.16 skrev laurent.duperval@masq.ca:
> From the tclConfig.sh file distributed with later versions of Tcl:
>
> # 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='-O -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.3${TCL_DBGX}.so'
>
> This could be a start.
Thanks! I triet do execute
. /usr/local/lib/tclConfig.sh
echo $TCL_LIB_FLAG
but the output is "-ltcl8.3${TCL_DBGX}". So it is apparently not correctly
substituted. How can that be solved?
And how should xconq's configure script find the file tclConfig.sh? Should the
lib directories be searched for it in the same order as they are listed in
/etc/ld.so.conf?
More information about the Xconq7
mailing list