Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: REL_4_6_0_B
Fetching contributors…

Cannot retrieve contributors at this time

executable file 106 lines (92 sloc) 1.859 kb
#!/bin/sh
cat <<EOF
Akopia Interchange Version 4.6.x Configuration
Copyright 1996-2000 Akopia, Inc, <support@akopia.com>
Interchange was originally based on Vend 0.2
Copyright 1995 Andrew M. Wilcox <awilcox@maine.com>
Portions from Vend 0.3
Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com>
Distributed under the GNU General Public License, see
the file Copying for license information.
EOF
for i in $*
do
case $i in
-[dD]) DEBUG=-D ;;
-[iI]) INSTALL=-I ;;
*)
esac
done
if test `echo -n test | wc -c` -eq 4
then F='-n'
E=
else F=
E='\c'
fi
TESTPERL=perl
while true
do
PERL=""
IFS="${IFS= }"
SAVEIFS="$IFS"
IFS="${IFS}:"
for TESTDIR in $PATH
do
test -z "$TESTDIR" && TESTDIR=.
if test -f $TESTDIR/$TESTPERL
then
PERL="$TESTDIR/$TESTPERL"
break
fi
done
IFS="$SAVEIFS"
while true
do
if test -n "$PERL"
then VER=`$PERL -e '((print $]), exit 1) if $] !~ /^5\.\d+/; print $]'`
else false
fi
if [ $? -eq 0 ]
then
echo "Found Perl $VER as $PERL"
break 2
else
if test "$TESTPERL" = perl
then
TESTPERL=perl5
break
else
echo $VER
VER=""
echo "Perl version not high enough or Perl not found."
fi
fi
echo
echo "I need to know where the Perl 5 interpreter resides."
echo "It was not 'perl' or 'perl5', or it was not in your"
echo "path. Please enter a fully-qualified path name,"
echo "or just press ENTER to exit.. (what did I say?)"
echo
echo $F "Where is your Perl 5, please? $E"
read PERL
if test -z "$PERL"
then exit 1
else
TESTPERL=$PERL
case $PERL in
[/]*) continue;;
*) break ;;
esac
fi
done
done
if test ! -f .cpan.tried
then
echo
echo "If you get a CPAN error, rerun the configuration and it"
echo "should go away."
echo
fi
$PERL Makefile.PL
make
make test && make install
Jump to Line
Something went wrong with that request. Please try again.