Mailinglisten-Archive |
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------82F630E0D23CA5A319AD5785
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hallo Johann,
bei mir funktionierts mit diesem RPM.
Gruß
Stephan
Johann Schneidhofer schrieb:
>
> hallöchen,
>
> kann es sein, daß php-3.0.12 nix mit apxs vom apache anfangen kann ? dieses
> schweinsauge bringt mir sämtliche möglichen und unmöglichen Fehler beim
> compilieren.
>
> OS=RH 6.0 (Linux, was auch sonst)
> Intel K6
> Speicher : mehr als genug (256, nicht k, M)
> apache 1.3.9
> mod_perl-1.21
>
> Derzeit aktuellster Fehler :
> apxs:Break: Command fails with rc=16711680
> make:***[libphp3.so] Error 1
>
> Oder deutet das auf einen anderen, kapitalen (Denk-)Fehler hin ?
>
> Für das Auffüllen etwaiger (und manchmal auch offensichtlicher) Wissenslücken
> wäre ich sehr dankbar.
>
> Tschüß, bis denn
>
> hans schneidhofer
> email:<technik_(at)_business-conzept.de>
>
> --
> ** Durchgehend geöffnet: http://www.php-center.de **
> Die PHP-Liste: mailto:php_(at)_infosoc.uni-koeln.de
> http://infosoc.uni-koeln.de/mailman/listinfo/php
--------------82F630E0D23CA5A319AD5785
Content-Type: text/plain; charset=us-ascii;
name="mod_php3-3.0.12.spec"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="mod_php3-3.0.12.spec"
Summary: The PHP3 HTML-embedded scripting language for use with Apache.
Name: mod_php3
Version: 3.0.12
Release: 2
%define imapversion 4.6.BETA
%define apacheversion 1.3.6
Group: System Environment/Daemons
Source0: http://www.php.net/distributions/php-%{version}.tar.gz
Source1: imap-%{imapversion}.c-client.tar.gz
Source2: php3.ini.kb
Source3: FAQ.php3
Icon: php3.gif
Patch: php3-%{version}.postgres.patch
Patch1: php-%{version}.ucwords.patch
Copyright: GPL
BuildRoot: /var/tmp/%{name}-root
Requires: webserver gd t1lib zlib openldap
%description
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated web pages. PHP
also offers built-in database integration for several commercial
and non-commercial database management systems, so writing a
database-enabled web page with PHP is fairly simple. The most
common use of PHP coding is probably as a replacement for CGI
scripts. The mod_php module enables the Apache web server to
understand and process the embedded PHP language in web pages.
%prep
%setup -q -n php-%{version}
# IMAP Support for php3
cd ..
rm -rf imap-%{imapversion}.c-client
tar xzf $RPM_SOURCE_DIR/imap-%{imapversion}.c-client.tar.gz
cd $RPM_BUILD_DIR
%patch -p0
%patch1 -p0
%build
OPTIM="$RPM_OPT_FLAGS" \
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-exec-dir=/usr/bin \
--with-config-file-path=/etc/httpd/conf \
--with-pgsql=/usr/include/pgsql \
--with-imap=$RPM_BUILD_DIR/imap-%{imapversion}.c-client \
--with-gd \
--with-ttf \
--enable-t1lib \
--with-mod-dav=$RPM_BUILD_DIR/mod_dav-%{davversion}-%{apacheversion} \
--with-config-file-path=/etc/httpd/conf \
--with-zlib \
--with-xml \
--with-ldap=/usr \
--disable-display-source \
--disable-debug \
--enable-track-vars \
--enable-magic-quotes \
--enable-track-vars \
--enable-sysvsem \
--enable-sysvshm
# --without-pcre-regex \
# --without-system-regex \
# --with-mcrypt=/usr \
# --enable-safe-mode \
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/lib/apache
mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf
install -m 755 -s libphp3.so $RPM_BUILD_ROOT/usr/lib/apache
install -m 644 php3.ini-dist $RPM_BUILD_ROOT/etc/httpd/conf/php3.ini
#mkdir -p $RPM_BUILD_ROOT/home/httpd/icons
#install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/home/httpd/icons
# manual
#mkdir -p $RPM_BUILD_ROOT/home/httpd/html/manual/mod/mod_php3
#cd $RPM_BUILD_ROOT/home/httpd/html/manual/mod/mod_php3
#tar xzf %{SOURCE1}
#ln -sf manual.html index.html
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/lib/apache/libphp3.so
%config /etc/httpd/conf/php3.ini
#/home/httpd/icons/*
%doc CODING_STANDARDS CREDITS ChangeLog LICENSE BUGS examples INSTALL*
#%doc /home/httpd/html/manual/mod/mod_php3
%changelog
--------------82F630E0D23CA5A319AD5785--
php::bar PHP Wiki - Listenarchive