trying to install frontpage extensions

This is a discussion on trying to install frontpage extensions within the Linux Web Servers forums, part of the Web Server and Related Forums category; While trying to install the frontpage extensions on Apache I got: Hunk #7 FAILED at 1251. When I issued the ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-29-2003
Vince Laurent
 
Posts: n/a
Default trying to install frontpage extensions

While trying to install the frontpage extensions on Apache I
got:

Hunk #7 FAILED at 1251.

When I issued the command:

patch -p0 < ../mod_frontpage-1.5.1-1.3.17/patch-1.5.1-1.3.17

Here is the detail of the file:

basis:/usr/src/apache_1.3.29 # more configure.rej
***************
*** 1112,1118 ****
for var in prefix exec_prefix bindir sbindir libexecdir mandir \
sysconfdir datadir iconsdir htdocsdir cgidir includedir \
localstatedir runtimedir logfiledir proxycachedir \
- suexec_docroot suexec_logexec ; do
eval "val=\"\$$var\"";
val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
eval "$var=\"$val\""
--- 1251,1258 ----
for var in prefix exec_prefix bindir sbindir libexecdir mandir \
sysconfdir datadir iconsdir htdocsdir cgidir includedir \
localstatedir runtimedir logfiledir proxycachedir \
+ suexec_docroot suexec_logexec fpexec_docroot \
+ fpexec_logexec fpexec_fpdir ; do
eval "val=\"\$$var\"";
val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
eval "$var=\"$val\""

My patch program is up to date:

# patch --version
patch 2.5.4

This is what I am running:
Welcome to SuSE Linux 8.0 (i386) - Kernel 2.4.18-4GB (0).

Ideas? Thanks!
Vince

--------------------------------------
Come race with us!
www.mgpmrc.org
  #2 (permalink)  
Old 12-30-2003
Joachim Ring
 
Posts: n/a
Default Re: trying to install frontpage extensions

> Hunk #7 FAILED at 1251.
>
> When I issued the command:
>
> patch -p0 < ../mod_frontpage-1.5.1-1.3.17/patch-1.5.1-1.3.17
>
> Here is the detail of the file:
>
> basis:/usr/src/apache_1.3.29 # more configure.rej
> ***************
> *** 1112,1118 ****
> for var in prefix exec_prefix bindir sbindir libexecdir mandir \
> sysconfdir datadir iconsdir htdocsdir cgidir includedir \
> localstatedir runtimedir logfiledir proxycachedir \
> - suexec_docroot suexec_logexec ; do
> eval "val=\"\$$var\"";
> val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
> eval "$var=\"$val\""
> --- 1251,1258 ----
> for var in prefix exec_prefix bindir sbindir libexecdir mandir \
> sysconfdir datadir iconsdir htdocsdir cgidir includedir \
> localstatedir runtimedir logfiledir proxycachedir \
> + suexec_docroot suexec_logexec fpexec_docroot \
> + fpexec_logexec fpexec_fpdir ; do
> eval "val=\"\$$var\"";
> val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
> eval "$var=\"$val\""
>
> My patch program is up to date:
>
> # patch --version
> patch 2.5.4
>
> This is what I am running:
> Welcome to SuSE Linux 8.0 (i386) - Kernel 2.4.18-4GB (0).
>
> Ideas? Thanks!


the patch is probably for an older version of apache and doesn't fit
out of the box for 1.3.29. it needs to be adapted slightly. ask
whoever supplied the patch to update it or try yourself.

hint: lines 1112-1118 in the configure script now read as follows:

for var in prefix exec_prefix bindir sbindir libexecdir mandir \
sysconfdir datadir iconsdir htdocsdir manualdir cgidir \
includedir localstatedir runtimedir logfiledir \
proxycachedir suexec_docroot suexec_logexec ; do
eval "val=\"\$$var\"";
val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
eval "$var=\"$val\""

so you probably want

- proxycachedir suexec_docroot suexec_logexec ; do
+ proxycachedir suexec_docroot suexec_logexec \
+ fpexec_docroot fpexec_logexec fpexec_fpdir ; do

or so...

also the fp-patch for apache is quite a problem from a security point
of view (who would have thought sth else about software designed by
mickeysoft?). read

http://www.itma.lu/howto/apache/

for some info on the security impact.

joachim
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0