Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I figured out that "tar" is a program for unzipping files, right?
I ran tar for the Front Page Server Extensions, filename fp50.linux.tar.gz, with no real problem.
But, when I run the fp_install.sh file I keep getting asked where the Front Page Sever Extensions "tar" file is.
I can not find any tar files on my system using mc. What would be the filename and location for this elusive FPSE tar file? Or, is it the original tar file?
Originally posted by AndeAnderson I figured out that "tar" is a program for unzipping files, right?
that's one use
Quote:
I ran tar for the Front Page Server Extensions, filename fp50.linux.tar.gz, with no real problem.
But, when I run the fp_install.sh file I keep getting asked where the Front Page Sever Extensions "tar" file is.
I can not find any tar files on my system using mc. What would be the filename and location for this elusive FPSE tar file? Or, is it the original tar file?
is that the full error message? what file does it ask for, FPSE.tar.*?
what does the install/readme file say?
# get the name of the tarball file
# used by untarext
getextfilename()
{
vtfilelocation=$1
vtfile=$2
fullvtfile="${vtfilelocation}${vtfile}"
if [ ! -f "$fullvtfile" ]
then
if [ -f "${fullvtfile}.Z" ]
then
fullvtfile="${fullvtfile}.Z"
else
if [ -f "${fullvtfile}.gz" ]
then
fullvtfile="${fullvtfile}.gz"
else
if [ -f "${fullvtfile}.z" ]
then
echo "Renaming ${vtfile}.z to ${vtfile}.Z"
mv "${fullvtfile}.z" "${fullvtfile}.Z"
fullvtfile="${fullvtfile}.Z"
else
echo "Cannot find the FrontPage Server Extensions tar file in ${vtfilelocation}."
$echo "Which directory is the file located in (X to cancel)? ${nnl}"
read vtfilelocation
if [ "$vtfilelocation" = "X" ] || [ "$vtfilelocation" = "x" ]
then
return 1
else
vtfilelocation=`echo $vtfilelocation |sed -e 's/\/$//'`
if [ ! -d "$vtfilelocation" ]
then
vtfilelocation=`dirname $vtfilelocation`
fi
getextfilename $vtfilelocation/ $vtfile
fi
fi
fi
fi
fi
}
echo "Cannot find the FrontPage Server Extensions tar file in ${vtfilelocation}."
$echo "Which directory is the file located in (X to cancel)? ${nnl}"
read vtfilelocation
i see it asks for the location of the file after the error msg, but it would help if they printed the filename they were after in the msg
but i don't get why they need the tar ball if everything was extracted. hmmm?
The next snag is that the fp_install.sh looks for /usr/local/apache/bin/apxs even though I am using Apache 2.
I looked in the script and found that the Apache 1.3 and Apache 2.0 lines ask for the exact same file, apxs. Even though Apache 2 uses a different directory and a different file named apxs2.
I tried changing the script, but no luck so far. I'll take another stab at it this morning. How did the person who wrote this installation script miss such an obvious thing? Oh well. Here's the Apache 2 portion of the fp_install.sh.
installfpdso2()
{
httpdir=`dirname $HttpdFile`
while ( [ ! -d "$httpdir" ] )
do
httpdir="/usr/local/apache/bin"
$echo "Where is the current Apache 2.0 bin directory: [$httpdir] ${nnl}"
read location
if [ "$location" != "" ]
then
httpdir=$location
fi
done
if [ ! -x "$httpdir/apxs" ]
then
echo "Cannot find Apache apxs at $httpdir/apxs"
return 1
fi
echo "Using the Apache apxs utility to build mod_frontpage.so"
CURPATH=$PATH
PATH=$OLDPATH
case "$machine" in
freebsd) opts=-Wc,-DFREEBSD ;;
bsdi) opts=-Wc,-Dbsdi ;;
linux) opts=-Wc,-Dlinux ;;
*) opts= ;;
esac
$httpdir/apxs -c $opts $FPDIR/apache2/mod_frontpage.c $FPDIR/apache2/mod_fpcgid.c
res=$?
PATH=$CURPATH
if [ $res -ne 0 ]
then
return $res
fi
echo "Using the Apache apxs utility to install mod_frontpage.so"
PATH=$OLDPATH
$httpdir/apxs -i -a -n frontpage $FPDIR/apache2/mod_frontpage.la
res=$?
PATH=$CURPATH
echo "Finished running the Apache apxs utility."
return $res
you're probably using a newer version of apache to what the script was expecting or vice versa.
what can try is create the /usr/local/apache/bin/ dir then run:
Code:
ln -s /path/to/apxs2 /usr/local/apache/bin/apxs
and hope that apxs doesn't differ too much from apxs2
'cos all that's doing is creating a symlik(shortcut). you'll more than likely need to do the same for other file too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.