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

 ID:                 37651
 Comment by:         mike at harschsystems dot com
 Reported by:        ktrinczek at bfs dot de
 Summary:            buildconf fails with error code 1
 Status:             Bogus
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Solaris 10
 PHP Version:        5CVS-2006-05-31 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

buildconf expects the gnu version of the 'find' command - which accepts
the -not 

flag.  The root user on solaris (by default) doesn't have gfind in it's
PATH:



# which find

/usr/bin/find



whereas (at least on modern solaris distributions), regular users have
gfind in 

their path by default:



$ which find

/usr/gnu/bin/find


Previous Comments:
------------------------------------------------------------------------
[2006-06-01 10:48:41] ktrinczek at bfs dot de

That was it. BUILDCONF runs through.

But what's doing make here?



/bin/sh /tmp/php5.2-200605311030/libtool --silent --preserve-dup-deps
--mode=compile gcc -I"/usr/local/include" -Iext/iconv/
-I/tmp/php5.2-200605311030/ext/iconv/ -DPHP_ATOM_INC
-I/tmp/php5.2-200605311030/include -I/tmp/php5.2-200605311030/main
-I/tmp/php5.2-200605311030 -I/usr/local/include/libxml2
-I/opt/csw/include -I/usr/local/include
-I/tmp/php5.2-200605311030/ext/date/lib
-I/tmp/php5.2-200605311030/ext/mbstring/oniguruma
-I/tmp/php5.2-200605311030/ext/mbstring/libmbfl
-I/tmp/php5.2-200605311030/ext/mbstring/libmbfl/mbfl
-I/usr/sfw/include/mysql -I/tmp/php5.2-200605311030/TSRM
-I/tmp/php5.2-200605311030/Zend  -D_POSIX_PTHREAD_SEMANTICS 
-I/usr/local/include -g -O2   -c
/tmp/php5.2-200605311030/ext/iconv/iconv.c -o ext/iconv/iconv.lo

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`_php_iconv_appendl':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:254: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`php_iconv_string':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:414: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`_php_iconv_strlen':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:528: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`_php_iconv_substr':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:641: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`_php_iconv_strpos':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:772: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`_php_iconv_mime_encode':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:1021: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c:1121: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c: In function
`php_iconv_stream_filter_append_bucket':

/tmp/php5.2-200605311030/ext/iconv/iconv.c:2379: warning: passing arg 2
of `libiconv' from incompatible pointer type

/tmp/php5.2-200605311030/ext/iconv/iconv.c:2458: warning: passing arg 2
of `libiconv' from incompatible pointer type

/bin/sh /tmp/php5.2-200605311030/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/ldap/ -I/tmp/php5.2-200605311030/ext/ldap/
-DPHP_ATOM_INC -I/tmp/php5.2-200605311030/include
-I/tmp/php5.2-200605311030/main -I/tmp/php5.2-200605311030
-I/usr/local/include/libxml2 -I/opt/csw/include -I/usr/local/include
-I/tmp/php5.2-200605311030/ext/date/lib
-I/tmp/php5.2-200605311030/ext/mbstring/oniguruma
-I/tmp/php5.2-200605311030/ext/mbstring/libmbfl
-I/tmp/php5.2-200605311030/ext/mbstring/libmbfl/mbfl
-I/usr/sfw/include/mysql -I/tmp/php5.2-200605311030/TSRM
-I/tmp/php5.2-200605311030/Zend  -D_POSIX_PTHREAD_SEMANTICS 
-I/usr/local/include -g -O2   -c
/tmp/php5.2-200605311030/ext/ldap/ldap.c -o ext/ldap/ldap.lo

/tmp/php5.2-200605311030/ext/ldap/ldap.c: In function
`_php_sasl_setdefs':

/tmp/php5.2-200605311030/ext/ldap/ldap.c:506: warning: assignment makes
pointer from integer without a cast

/tmp/php5.2-200605311030/ext/ldap/ldap.c:507: warning: pointer/integer
type mismatch in conditional expression

/tmp/php5.2-200605311030/ext/ldap/ldap.c:508: warning: pointer/integer
type mismatch in conditional expression

/tmp/php5.2-200605311030/ext/ldap/ldap.c:509: warning: pointer/integer
type mismatch in conditional expression

/tmp/php5.2-200605311030/ext/ldap/ldap.c:510: warning: pointer/integer
type mismatch in conditional expression

/tmp/php5.2-200605311030/ext/ldap/ldap.c:511: warning: pointer/integer
type mismatch in conditional expression

/tmp/php5.2-200605311030/ext/ldap/ldap.c: In function
`zif_ldap_sasl_bind':

/tmp/php5.2-200605311030/ext/ldap/ldap.c:603: error: `LDAP_SASL_QUIET'
undeclared (first use in this function)

/tmp/php5.2-200605311030/ext/ldap/ldap.c:603: error: (Each undeclared
identifier is reported only once

/tmp/php5.2-200605311030/ext/ldap/ldap.c:603: error: for each function
it appears in.)

make: *** [ext/ldap/ldap.lo] Error 1



Following configure was running through.



r...@server003 # ./configure --with-apxs2=/usr/apache2/bin/apxs
--enable-fastcgi --with-openssl=/opt/csw --enable-bcmath
--enable-calendar --with-curl=/usr/local/bin/curl --with-curlwrappers
--enable-dba --with-db4=/opt/csw/bdb4 --with-inifile --with-flatfile
--enable-dio --enable-filepro --enable-ftp --with-ldap=/opt/csw
--enable-mbstring --with-mysql=/usr/sfw --with-xsl=/usr/lib
--enable-wddx --enable-sysvmsg --enable-sysvsem --enable-sysvshm
--enable-sockets --with-zlib --with-bz2=/usr/bin --enable-exif --with-gd
--with-gettext --with-ldap-sasl=/opt/csw --with-mime-magic
--with-libxml-dir=/usr/include/libxml2
--with-pdflib=/tmp/PDFlib-6.0.3-SunOS-sparc64/bind/c

------------------------------------------------------------------------
[2006-06-01 08:53:37] der...@php.net

PHP requires gnu make.

------------------------------------------------------------------------
[2006-06-01 08:48:36] ktrinczek at bfs dot de

I'm not sure. But I can't controll.



r...@server003 # /usr/xpg4/bin/make --version

make: Warning: Ignoring DistributedMake -v option

make: Warning: Ignoring DistributedMake -o option

make: Fatal error: No dmake output dir argument after -o flag



r...@server003 # /usr/ccs/bin/make --version

make: Warning: Ignoring DistributedMake -v option

make: Warning: Ignoring DistributedMake -o option

make: Fatal error: No dmake output dir argument after -o flag

------------------------------------------------------------------------
[2006-06-01 08:43:19] tony2...@php.net

Are you sure GNU make is used ?

What do you get with `make --version` ?

------------------------------------------------------------------------
[2006-06-01 08:37:28] ktrinczek at bfs dot de

There is installed :

autoconf-2.13

automake-1.8.3

make-3.80



but no other result.



r...@server003 # ./buildconf --force

Forcing buildconf

using default Zend directory

make: Fatal error in reader: build/build2.mk, line 31: Badly formed
macro assignment

Current working directory /tmp/php5.2-200605311030

*** Error code 1

The following command caused the error:

/usr/xpg4/bin/make -s -f build/build2.mk

make: Fatal error: Command failed for target `all'

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=37651


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

Reply via email to