From owner-freebsd-questions@FreeBSD.ORG Thu Jun 16 12:34:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF3516A41C for ; Thu, 16 Jun 2005 12:34:02 +0000 (GMT) (envelope-from mefystofel@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 238A943D1D for ; Thu, 16 Jun 2005 12:34:02 +0000 (GMT) (envelope-from mefystofel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so269836wri for ; Thu, 16 Jun 2005 05:34:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R+R1ODU2znV/snATHLNMXr8BMonugYdXiG8hSq6bXfeo0ocDipvIsCHVRqM/WYYEAlLcAfbRsYhD0aDUJa6VqZCVy4UaN14r85CQEQgCUT0GUKys9YQNhk0Iy9DiwY+xQHU9RdF1ICVs97KFDN80Ihg1cuEmOwIOSwsu2ffVCzM= Received: by 10.54.54.18 with SMTP id c18mr440826wra; Thu, 16 Jun 2005 05:34:00 -0700 (PDT) Received: by 10.54.57.51 with HTTP; Thu, 16 Jun 2005 05:34:00 -0700 (PDT) Message-ID: Date: Thu, 16 Jun 2005 18:34:00 +0600 From: Roman Serbski To: freebsd-questions@freebsd.org In-Reply-To: <20050616144519.GC18206@skivay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050616144519.GC18206@skivay.com> Subject: Re: Problem with PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roman Serbski List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 12:34:02 -0000 On 6/16/05, Alexandr Kosarev wrote: > On Thu, Jun 16, 2005 at 03:07:21PM +0600, Roman Serbski wrote: > > Hello, > > > > Please help with the installation of PHP 4.3.11 under FreeBSD 5.4-STABL= E. > > > > pkg_info | grep apache > > apache-2.0.54 Version 2 of Apache web server with prefork MPM. > > > > pkg_info | grep libtool > > libtool-1.5.10_1 Generic shared library support script (version 1.5) > > > > Apache has been compiled from ports with the following options: > > > > make WITH_STATIC_MODULES=3D"include rewrite auth vhost_alias ssl" > > WITH_LDAP=3Dyes WITH_SUEXEC=3Dyes SUEXEC_DOCROOT=3D/home install clean > > > > I'm trying to build PHP 4.3.11 from sources: > > > > ./configure \ > > --prefix=3D/usr/local/php4 \ > > --with-apxs2=3D/usr/local/sbin/apxs \ > > --with-zlib=3D/usr \ > > --with-mysql=3D/usr/local \ > > --with-gettext=3D/usr/local \ > > --enable-ftp \ > > --with-gd=3D/usr/local \ > > --with-expat=3D/usr/local \ > > --with-dom=3D/usr/local \ > > --with-iconv=3D/usr/local \ > > --enable-mime-magic \ > > --with-xml=3D/usr/local \ > > --enable-mbstring \ > > --with-jpeg-dir=3D/usr/local \ > > --with-png-dir=3D/usr/local \ > > --with-freetype-dir=3D/usr/local > > > > `./configure` and `make` do not show any errors, but when I try to > > `make install` the following error appears: > > > > Installing PHP SAPI module: apache2handler > > /usr/local/share/apache2/build/instdso.sh > > SH_LIBTOOL=3D'/usr/local/share/apache2/build/libtool' libphp4.la > > /usr/local/libexec/apache2 > > /usr/local/share/apache2/build/libtool --mode=3Dinstall cp libphp4.la > > /usr/local/libexec/apache2/ > > libtool: install: `libphp4.la' is not a valid libtool archive > > Try `libtool --help --mode=3Dinstall' for more information. > > apxs:Error: Command failed with rc=3D65536 > > . > > *** Error code 1 > > > > Any hints would be greatly appreciated! > > > > Thank you. > > Roman > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" >=20 > Hello, Roman. > Can your try to install php4 with ports collection? > Modules for PHP4 your cat install with port /usr/ports/lang/php4-extensio= ns/ > (make config) and your can install modules by other ports. >=20 > So why your try install php4 from source??? Hello, I was always thinking that building PHP from sources gives more flexibility rather than from ports. For example, I want to build gd support for PHP. If I compile PHP from sources all I have to do is to install ports/graphics/gd and define --with-gd for PHP configure. As for php4-extensions, I don't know why, but it tries to fetch X11R sources: =3D=3D=3D> php4-gd-4.3.11_1 depends on executable: phpize - found =3D=3D=3D> php4-gd-4.3.11_1 depends on file: /usr/local/bin/automake15 - = found =3D=3D=3D> php4-gd-4.3.11_1 depends on file: /usr/local/bin/autoconf253 -= found =3D=3D=3D> php4-gd-4.3.11_1 depends on shared library: freetype.9 - found =3D=3D=3D> php4-gd-4.3.11_1 depends on shared library: png.5 - found =3D=3D=3D> php4-gd-4.3.11_1 depends on shared library: jpeg.9 - found =3D=3D=3D> php4-gd-4.3.11_1 depends on shared library: X11.6 - not found =3D=3D=3D> Verifying install for X11.6 in /usr/ports/x11/xorg-libraries =3D=3D=3D> Vulnerability check disabled, database not found =3D> X11R6.8.2-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xo= rg. =3D> Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2= /src/. Why do I need to download 32MB to have gd support enabled? I was not able to find any way to disable this behavior. Thank you.