Here's a shar archive:
__BEGIN__
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2006-12-12 16:57 GMT by <[EMAIL PROTECTED]>.
# Source directory was `/home/pyramid/r015530/bin'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode name
# ------ ---------- ------------------------------------------
# 1095 -rw-r--r-- README.qpid.build
# 748 -rw-r--r-- qpid.env
# 450 -rw-r--r-- qpid.rhel4.env
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
if test "$gettext_dir" = FAILED && test -f $dir/gettext \
&& ($dir/gettext --version >/dev/null 2>&1)
then
set `$dir/gettext --version 2>&1`
if test "$3" = GNU
then
gettext_dir=$dir
fi
fi
if test "$locale_dir" = FAILED && test -f $dir/shar \
&& ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
then
locale_dir=`$dir/shar --print-text-domain-dir`
fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
echo=echo
else
TEXTDOMAINDIR=$locale_dir
export TEXTDOMAINDIR
TEXTDOMAIN=sharutils
export TEXTDOMAIN
echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f
200112312359.59 -a -f $$.touch; then
shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f
123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f
1231235901 -a -f $$.touch; then
shar_touch='touch -am $3$4$5$6$2 "$8"'
else
shar_touch=:
echo
$echo 'WARNING: not restoring timestamps. Consider getting and'
$echo "installing GNU \`touch', distributed in GNU File Utilities..."
echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh27177; then
$echo 'x -' 'creating lock directory'
else
$echo 'failed to create lock directory'
exit 1
fi
# ============= README.qpid.build ==============
if test -f 'README.qpid.build' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'README.qpid.build' '(file already exists)'
else
$echo 'x -' extracting 'README.qpid.build' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'README.qpid.build' &&
Building Qpid C++
=================
X
Information
-----------
The RHEL3 box is eqd-lxcc01 (32 bit Linux).
The RHEL4 box is eqd-lxamq01 (64 bit Linux).
X
Prepare your environment variables
----------------------------------
Source the appropriate environment file (don't miss the dot).
X
RHEL3: $ . ~/bin/qpid.env
X
RHEL4: $ . ~/bin/qpid.rhel4.env
X
Building
--------
X
X $ cd ~/build
X $ svn co
https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid qpid-trunk
X $ cd qpid-trunk
X $ ./bootstrap
X $ cd qpid-trunk
RHEL3: $ ./configure --prefix ~/local/qpid-1.0M3
RHEL4: $ ./configure --prefix ~/local/rhel4/qpid-1.0M3
X $ make
X $ make check
X $ make install # optional
X $ make-dist # OR
X $ make-dist 1.0M3
X
The make-dist command generates a tarball in a release directory.
Something like:
X
X release/qpid-cpp-dev-r483463-Linux-i686.tar.bz2 OR
X release/qpid-cpp-dev-1.0M3-Linux-i686.tar.bz2
X
You should be able to:
X
X $ cd release/qpid-cpp-dev-r48363-Linux-i686/examples
X $ make
X $ ./client_test
X
YMMV
SHAR_EOF
(set 20 06 12 12 15 00 31 'README.qpid.build'; eval "$shar_touch") &&
chmod 0644 'README.qpid.build' ||
$echo 'restore of' 'README.qpid.build' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'README.qpid.build:' 'MD5 check failed'
59c1a6877dd7303617186e30b4ff8075 README.qpid.build
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'README.qpid.build'`"
test 1095 -eq "$shar_count" ||
$echo 'README.qpid.build:' 'original size' '1095,' 'current size'
"$shar_count!"
fi
fi
# ============= qpid.env ==============
if test -f 'qpid.env' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'qpid.env' '(file already exists)'
else
$echo 'x -' extracting 'qpid.env' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'qpid.env' &&
#
# source this before doing a Qpid build
#
X
PATH=/home/release/pyrsyrel/opt/svn/1.3.2.0/linux/bin:$PATH
LD_LIBRARY_PATH=/home/release/pyrsyrel/opt/svn/1.3.2.0/linux/lib:$LD_LIBRARY_PATH
X
# Autotools
PATH=$HOME/local/m4-1.4.8/bin:$PATH
PATH=$HOME/local/autoconf-2.61/bin:$PATH
PATH=$HOME/local/automake-1.10/bin:$PATH
PATH=$HOME/local/libtool-1.5.22/bin:$PATH
X
# JDK1.5 javac required for gentool.
PATH=$HOME/local/jdk1.5/bin:$PATH
X
# Libraries.
PATH=$HOME/local/cppunit-1.11.6/bin:$PATH
export PKG_CONFIG_PATH=$HOME/local/apr-1.2.7/lib/pkgconfig:$PKG_CONFIG_PATH
export CXXFLAGS=-I$HOME/local/boost-1.33.1/include/boost-1_33_1
X
# For running examples.
LD_LIBRARY_PATH=~/local/apr-1.2.7/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH
SHAR_EOF
(set 20 06 12 08 11 04 15 'qpid.env'; eval "$shar_touch") &&
chmod 0644 'qpid.env' ||
$echo 'restore of' 'qpid.env' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'qpid.env:' 'MD5 check failed'
b8a20cf5b83681bd404d918f0f7c34aa qpid.env
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'qpid.env'`"
test 748 -eq "$shar_count" ||
$echo 'qpid.env:' 'original size' '748,' 'current size' "$shar_count!"
fi
fi
# ============= qpid.rhel4.env ==============
if test -f 'qpid.rhel4.env' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'qpid.rhel4.env' '(file already exists)'
else
$echo 'x -' extracting 'qpid.rhel4.env' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'qpid.rhel4.env' &&
#
# source this before doing a Qpid build
#
X
# JDK1.5 javac required for gentool.
PATH=$HOME/local/jdk1.5/bin:$PATH
X
# Libraries.
PATH=$HOME/local/rhel4/cppunit-1.11.6/bin:$PATH
export
PKG_CONFIG_PATH=$HOME/local/rhel4/apr-1.2.7/lib/pkgconfig:$PKG_CONFIG_PATH
export CXXFLAGS=-I$HOME/local/boost-1.33.1/include/boost-1_33_1
X
# For running examples.
LD_LIBRARY_PATH=~/local/rhel4/apr-1.2.7/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH
SHAR_EOF
(set 20 06 12 08 11 02 23 'qpid.rhel4.env'; eval "$shar_touch") &&
chmod 0644 'qpid.rhel4.env' ||
$echo 'restore of' 'qpid.rhel4.env' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'qpid.rhel4.env:' 'MD5 check failed'
78501fd8b51944b0bd0179c3b899bbff qpid.rhel4.env
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'qpid.rhel4.env'`"
test 450 -eq "$shar_count" ||
$echo 'qpid.rhel4.env:' 'original size' '450,' 'current size' "$shar_count!"
fi
fi
rm -fr _sh27177
exit 0
__END__