Re: Problem mit der Installation von mod_php4

From: Marcus Franke <Marcus.Franke(at)viebranz.de>
Date: Thu, 05 Jun 2003 22:18:22 +0200

Bernd Walter wrote:

>>Kann ich dem make irgendwie mehr verbosity mitgeben, dass
>>er mir mehr Infos zu der Aktion ausspuckt, bei der er dort
>>gerade zusammenbricht?
>
>
> Mit -d kannst du diverse debugging Optionen aktivieren.
> -dA ist der Extremfall.
> Ich meine an dieser Stelle wird ein frisch compiliertes Programm
> für die Installation gestartet.
>

Whow, das nenn ich mal verbosity :)

Ich hatte zuerst versucht -v zu setzen, aber das hatte keine
Veränderungen erbracht. Hier nun mal der eigentliche Fehler:

Examining /usr/ports/www/mod_php4/work/php-4.3.1/sapi/cli/php...Using
cached time 19:15:06 Jun 05, 2003 for
/usr/ports/www/mod_php4/work/php-4.3.1/sapi/cli/php
modified 19:15:06 Jun 05, 2003...up-to-date.
Examining install-pear-installer...non-existent...modified before
source...out-of-date.
install-pear-installer:> =
/usr/ports/www/mod_php4/work/php-4.3.1/sapi/cli/php
install-pear-installer:? =
/usr/ports/www/mod_php4/work/php-4.3.1/sapi/cli/php
/usr/ports/www/mod_php4/work/php-4.3.1/sapi/cli/php -n -dsafe_mode=0
/usr/ports/www/mod_php4/work/php-4.3.1/pear/install-pear.php
/usr/ports/www/mod_php4/work/php-4.3.1/pear/package-*.xml
Segmentation fault (core dumped)

Es scheint also das php binary selbst zu sein, das hier core-dumped.

Ich habe inzwischen versucht die patches einzuspielen, die Jens
für mich erstellt hat, aber hier steigt patch leider mit einem Hinweis
aus, dass die Files irgendwie nicht passen.

fax# patch Makefile < patch-Makefile
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- www/mod_php4/Makefile.orig Sat May 24 09:57:00 2003
|+++ www/mod_php4/Makefile Thu May 29 19:51:36 2003
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 6.
Hunk #2 failed at 55.
2 out of 2 hunks failed--saving rejects to Makefile.rej
done

Bedeutet, Makefile.orig, dass ich mein Makefile in Makefile.orig
umbenennen muss, damit er den Patch einspielen kann? Oder muss ich
patch mit einer anderen Option füttern?

Ich habe vorsichtshalber das rej File mal angehängt..

Marcus


***************
*** 6,14 ****
  #
  
  PORTNAME= mod_php4
- PORTVERSION= 4.3.1
  PORTREVISION= 0
- PORTEPOCH= 1
  CATEGORIES= www
  MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
                  http://php.he.net/${PHP_DISTDIR}/ \
--- 6,13 ----
  #
  
  PORTNAME= mod_php4
+ PORTVERSION= 4.3.2
  PORTREVISION= 0
  CATEGORIES= www
  MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
                  http://php.he.net/${PHP_DISTDIR}/ \
***************
*** 56,62 ****
  .endif
  CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \
                  --enable-versioning \
- --with-regex=system \
                  --without-gd \
                  --without-mysql
  
--- 55,61 ----
  .endif
  CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \
                  --enable-versioning \
+ --with-regex \
                  --without-gd \
                  --without-mysql
  

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 05 Jun 2003 - 22:22:01 CEST

search this site