RedHat 8.0 Compilation Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good evening everyone,


I have a server with RH 8.0 and all the latest (official) patches installed.
However, no matter what I try, php (4.2.3 and 4.3.0), apache and many more fail
to compile.

they all complain about the following:

cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory


does anyone know how to fix it? or has anyone successfully compiled php 4.3.0 +
apache 1.3.27 on a rh8 based system? i tried all day, different (older)
versions, but it always comes up with the above problems.

e.g. the php 4.2.3 compilation ends real quickly with the following lines:

Making all in Zend
make[1]: Entering directory `/home/Install/Apachetoolbox-1.5.63/src/php-4.2.3/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
  -I/usr/local/include -I../TSRM  -g -O2 -prefer-non-pic -static -c
zend_language_parser.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from zend.h:180,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
zend_hash.h:119: parse error before "va_list"
In file included from zend.h:181,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
zend_llist.h:34: parse error before "va_list"
In file included from zend_compile.h:24,
                 from zend_language_parser.c:148:
zend.h:263: parse error before "va_list"
zend.h:394: parse error before "va_list"
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/home/Install/Apachetoolbox-1.5.63/src/php-4.2.3/Zend'
make: *** [all-recursive] Error 1




the complete configure string looks like this: 

CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
  --with-apache=/home/Install/Apachetoolbox-1.5.63/apache_1.3.27 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--enable-inline-optimization \
--enable-memory-limit \
--with-gd="/usr/local" \
--with-zlib \
--enable-gd-native-tt \
--with-t1lib="/usr" \
--with-jpeg-dir="/usr" \
--with-png-dir="/usr" \
--with-zlib-dir="/usr" \
--with-ttf \
--with-freetype-dir="/usr" \
 --with-imap=/usr/local \
 --with-mcrypt=/usr/local \
 --with-openssl="/usr/local/ssl" \
 --with-curl=/usr \
 --with-gettext="/usr" \
 --with-mysql=/usr \
 --with-pgsql \
 --with-ldap \



any ideas / suggestions?


thanks a bunch,
-joerg



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux