ID:               16351
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         *Configuration Issues
 Operating System: Solaris 8
 PHP Version:      4.1.2
 New Comment:

Did you do 'make clean' and reconfigure after you upgraded
gcc ? Or try './cvsclean ; ./buildconf' as this seems more like a
problem in your system than in PHP.



Previous Comments:
------------------------------------------------------------------------

[2002-04-01 13:32:19] [EMAIL PROTECTED]

After a re-install of flex and gcc 2.95.3 on SUN-SOLARIS I have now the
following failures.

During the CONFIGURE I've the follwing warning 

configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: proceeding with the preprocessor's
result

checking unix.h usability... no
checking unix.h presence... no

checking whether to enable mailparse support... no
checking whether to enable multibyte string support... no
checking whether to enable japanese encoding translation... no
checking whether to enable multibyte regex support... no

checking for limits.h... (cached) no

Fail message from MAKE =>

make[1]: Entering directory `/opt/xtra_targz/php420/Zend'
/bin/bash ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../main   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -I../TSRM  -g
-O2 -prefer-pic -c zend_qsort.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/limits.h:117,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/syslimits.h:7,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/limits.h:11,
                 from zend_qsort.c:21:
/usr/include/limits.h:112: No include path in which to find limits.h
make[1]: *** [zend_qsort.lo] Error 1
make[1]: Leaving directory `/opt/xtra_targz/php420/Zend'
make: *** [all-recursive] Error 1

About the limits.h it is an include_next which fails... More I'm a
little bit surprised about the include path
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/ , because I
have installed gcc-2.95.3 with pakgadd... not 2.95.2

Now I'm lost, have somebody an idea ! 

Thanks for your help

------------------------------------------------------------------------

[2002-03-29 20:03:31] [EMAIL PROTECTED]

I don't think the warnings by configure have anything
to do with this..your lex just needs updating. 
Try flex instead. 

Check this url for some instructions:

http://www.kempston.net/solaris/utilitysoftware.html

--Jani


------------------------------------------------------------------------

[2002-03-29 15:25:26] [EMAIL PROTECTED]

Here the followin step in the make

cyclopedia:</opt/xtra_targz/php420>make                                
                                                     Making all in Zend
                                                                       
                                   make[1]: Entering directory
`/opt/xtra_targz/php420/Zend'                                          
                          bison -y -p zend -v -d
./zend_language_parser.y -o zend_language_parser.c                     
                               /bin/bash ../libtool --silent
--mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main  
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -I../TSRM  -g -O2 -prefer-pic
-c zend_language_parser.c                                              
                       lex -Pzend -S./flex.skl
-ozend_language_scanner.c -i ./zend_language_scanner.l
lex: illegal option -- P
Usage: lex [-ewctvnVY] [-Q(y/n)] [file]
make[1]: *** [zend_language_scanner.c] Error 1
make[1]: Leaving directory `/opt/xtra_targz/php420/Zend'
make: *** [all-recursive] Error 1

Thanks for your help

Marcel

------------------------------------------------------------------------

[2002-03-29 15:19:57] [EMAIL PROTECTED]

>From the CVS branch I use the PHP 4.2.0, it works smartly on Red hat
7.2 but give the following Warning on Solaris 8

Warning message from ./buildconf

WARNING: using auxiliary files such as 'aconfig.h' 'config.h;bot' and
'config.h.top', to define template for 'config.h.in' is deprecated and
iscouraged

Using the third argument of 'AC_DEFINE' and 'AC_DEFINE_UNQUOTED' allows
to define a template with 'acconfig.h' ......


Warning message from configure
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: proceeding with the preprocessor's
result

Here the configure command line
 
./configure --prefix=/usr/local/apache
--with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/php --with-gettext=shared
--with-dom=/usr --with-iconv=/usr/local --enable-socket=shared
--with-ttf --enable-inline-optimization --enable-magic-quotes
--enable-trans-id --enable-bcmath --enable-memory-limit --enable-wddx
--enable-sysvsem=shared --enable-sysvshm=shared --with-png-dir=/usr
--with-jpeg-dir=/usr --with-freetype-dir=/usr/local
--with-tiff-dir=/usr/local -with-zlib-dir=/usr --with-gd=/usr/local
--enable-gd-native-ttf --with-mysql=/usr/local/mysql --enable-ftp
--with-pdflib=/usr/local --with-xpm-dir=/usr/X11R6 --enable-xslt
--with-xslt-sablot --with-expat-dir=/usr/local --with-zlib=/usr
--with-xml-rpc --enable-libgcc

On Solaris gcc include, autoconf, m4 have been adjusted nd installed
according to the requirement

Thanks for an idea


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16351&edit=1

Reply via email to