LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-11-2005, 11:21 AM   #1
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Rep: Reputation: 30
fp_install.sh error


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?

Thanks
 
Old 05-11-2005, 11:52 AM   #2
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
Re: fp_install.sh error

Quote:
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?
 
Old 05-11-2005, 12:11 PM   #3
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Error message

The fp_install.sh creates the /usr/local/frontpage/ directory.

Then it comes back with the following statement:

"Cannot find the FrontPage Server Extensions tar file in /home/*/*/frontpage/version5.0/.
Which directory is the file located in (X to cancel)?"

I wish it would tell me a filename then I would be able to search for it.

The Install/Readme file only talks about the different mod installation requirements for the different versions of Apache.

Thanks
 
Old 05-12-2005, 02:15 AM   #4
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
open the fp_install in a text editor and look a line with /home/*/*/frontpage/version5.0/ to find out what it's looking for.
 
Old 05-12-2005, 08:04 AM   #5
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Not sure about the programming

Here is the closest I can find to that:

# 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
}
 
Old 05-12-2005, 10:50 AM   #6
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Default tar location

I found it, the fp_install.sh is just looking for the location of the fp50.linux.tar.gz file.
 
Old 05-12-2005, 03:39 PM   #7
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
Code:
 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?

so have you got it working?
 
Old 05-13-2005, 07:21 AM   #8
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
FPSE not installed yet

Not yet.

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

}
 
Old 05-13-2005, 03:21 PM   #9
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
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.

hope that works.
 
Old 05-14-2005, 11:09 AM   #10
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Thumbs up Alternative to FPSE

Thanks for the help.

I found out there was an alternative to FrontPage Server Extensions called mod_dav.

I installed the mod_dav and the wesite is working great.

Again, Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-16-2005 12:22 AM
fp_install.sh EHCanadian Mandriva 1 06-27-2005 06:31 PM
kudzu error loading libraries & respawning too fast error CatherineBennet Linux - Newbie 0 01-05-2005 06:04 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 01:53 PM
firewall error? couldn't load target "accept ...ipt_accept? error piratebiter Linux - Security 1 09-19-2003 06:37 PM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration