Check-in [8204a54bd9]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Corrected librivetparser "build" and "install" scripts to look harder for tclConfig.sh
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8204a54bd9a060082e7b84911c16ebaa4e5ccf71
User & Date: rkeene 2012-10-06 15:15:41
Context
2012-10-08
13:49
Updated instructions on installing for Apache 2.x Fixed to link rivet.cgi with libtcl8.5 check-in: 4445007818 user: rkeene tags: trunk
2012-10-06
15:15
Corrected librivetparser "build" and "install" scripts to look harder for tclConfig.sh check-in: 8204a54bd9 user: rkeene tags: trunk
15:07
Fixed issue with errors always being reported as lacking Tclx check-in: ba7953c7c1 user: rkeene tags: trunk
Changes

Changes to lib/src/build.

1
2
3
4
5
6
7
8
9
10
#! /bin/bash

source "$(find "${TCLCONFIGPATH}" /usr/lib /usr/local/lib -name 'tclConfig.sh' 2>/dev/null | head -1)"

OUTFILE="librivetparser${TCL_SHLIB_SUFFIX}"

if [ "$1" = "clean" -o "$1" = "distclean" ]; then
	rm -f "${OUTFILE}"

	exit 0


|







1
2
3
4
5
6
7
8
9
10
#! /bin/bash

source "$(find "${TCLCONFIGPATH}" /usr/lib{64,} /usr/local/lib{64,} -name 'tclConfig.sh' 2>/dev/null | head -1)"

OUTFILE="librivetparser${TCL_SHLIB_SUFFIX}"

if [ "$1" = "clean" -o "$1" = "distclean" ]; then
	rm -f "${OUTFILE}"

	exit 0

Changes to lib/src/install.

1
2
3
4
5
6
7
8
9
10
#! /bin/bash

source "$(find "${TCLCONFIGPATH}" /usr/lib /usr/local/lib -name 'tclConfig.sh' 2>/dev/null | head -1)"

TCLSH="${TCLSH:-tclsh}"
LIBFILE="librivetparser${TCL_SHLIB_SUFFIX}"

if [ -z "${INSTALL_PLATFORM}" ]; then
	INSTALL_PLATFORM="$(echo 'package require platform; puts [::platform::generic]' | "${TCLSH}")"
fi


|







1
2
3
4
5
6
7
8
9
10
#! /bin/bash

source "$(find "${TCLCONFIGPATH}" /usr/lib{64,} /usr/local/lib{64,} -name 'tclConfig.sh' 2>/dev/null | head -1)"

TCLSH="${TCLSH:-tclsh}"
LIBFILE="librivetparser${TCL_SHLIB_SUFFIX}"

if [ -z "${INSTALL_PLATFORM}" ]; then
	INSTALL_PLATFORM="$(echo 'package require platform; puts [::platform::generic]' | "${TCLSH}")"
fi