RH 7.2 (clean)
Først : rpm i php-4.1.2-7.2.6.src.rpm
after that vi php.spec.... to :
%configure \
--prefix=%{_prefix} \
--with-config-file-path=%{_sysconfdir} \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db3 \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=%{_prefix} \
--with-mm \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-debugger \
--enable-exif \
--enable-ftp \
--with-pear=/usr/share/pear \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
# --with-imap=shared \
# --with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,%{_prefix} \
--with-interbase=/opt/interbase \ added
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
///////////////////////////////////////////////////////
Alt ser fint ud indtil :
creating main/internal_functions.c
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line. |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
+ --with-kerberos=/usr/kerberos --with-ldap=shared
--with-mysql=shared,/usr --with-interbase=/opt/interbase
--with-pgsql=shared --with-snmp=shared,/usr --with-snmp=shared
--enable-ucd-snmp-hack --with-unixODBC=shared --enable-memory-limit
--enable-bcmath --enable-shmop --enable-versioning --enable-calendar
--enable-dbx --enable-dio --enable-mbstring --enable-mbstr-enc-trans
--enable-force-cgi-redirect
/var/tmp/rpm-tmp.97631: --with-kerberos=/usr/kerberos: No such file or
directory
error: Bad exit status from /var/tmp/rpm-tmp.97631 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.97631 (%build)
///////////////////////////////////////////////////////////////////////
//
ls -l /usr/kerberos
total 24
drwxr-xr-x 2 root root 4096 Nov 25 18:56 bin
drwxr-xr-x 8 root root 4096 Nov 25 18:56 include
drwxr-xr-x 2 root root 4096 Nov 25 18:56 lib
drwxr-xr-x 4 root root 4096 Nov 25 18:56 man
drwxr-xr-x 2 root root 4096 Nov 25 18:56 sbin
drwxr-xr-x 3 root root 4096 Nov 25 18:33 share
Can anybody tell me the problem ?
Any help would be great !
RGDS
Lars Bjaerris
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
- Re: RH 7.2 SRPM build problem ! Lars
- Re: RH 7.2 SRPM build problem ! Emmanuel Seyman