Hi everyone,

I'm trying to install PHP 4.1.2 from source on Sparc Solaris 7.  As far as I
know I've got all of the required packages installed from sunfreeware.com.
I'm installing with mysql and imap support so my configure looks like this:

./configure \
--with-apache=/src/apache_1.3.24 \
--with-mysql=/usr/local/mysql \
--with-imap=/src/imap-2001a

The configure script runs without any problems but make install stops with
the following output:

In file included from /src/php-4.1.2/ext/standard/php_standard.h:21,
                 from main.c:52:
/src/php-4.1.2/ext/standard/basic_functions.h:137:2: #error Need type which
holds 32 bits
In file included from /src/php-4.1.2/ext/standard/php_standard.h:21,
                 from main.c:52:
/src/php-4.1.2/ext/standard/basic_functions.h:174: parse error before
"php_uint32"
/src/php-4.1.2/ext/standard/basic_functions.h:174: warning: no semicolon at
end of struct or union
/src/php-4.1.2/ext/standard/basic_functions.h:175: warning: data definition
has no type or storage class
/src/php-4.1.2/ext/standard/basic_functions.h:197: parse error before '}'
token
/src/php-4.1.2/ext/standard/basic_functions.h:197: warning: data definition
has no type or storage class
/src/php-4.1.2/ext/standard/basic_functions.h:204: parse error before
"basic_globals"
/src/php-4.1.2/ext/standard/basic_functions.h:204: warning: data definition
has no type or storage class
In file included from /src/php-4.1.2/ext/standard/php_standard.h:29,
                 from main.c:52:
/src/php-4.1.2/ext/standard/md5.h:52: parse error before "php_uint32"
/src/php-4.1.2/ext/standard/md5.h:52: warning: no semicolon at end of struct
or union
/src/php-4.1.2/ext/standard/md5.h:53: warning: data definition has no type
or storage class
/src/php-4.1.2/ext/standard/md5.h:55: parse error before '}' token
/src/php-4.1.2/ext/standard/md5.h:55: warning: data definition has no type
or storage class
/src/php-4.1.2/ext/standard/md5.h:57: parse error before '*' token
/src/php-4.1.2/ext/standard/md5.h:58: parse error before '*' token
/src/php-4.1.2/ext/standard/md5.h:59: parse error before "PHP_MD5_CTX"
In file included from /src/php-4.1.2/ext/standard/php_standard.h:54,
                 from main.c:52:
/src/php-4.1.2/ext/standard/php_lcg.h:27: parse error before "php_int32"
/src/php-4.1.2/ext/standard/php_lcg.h:27: warning: no semicolon at end of
struct or union
/src/php-4.1.2/ext/standard/php_lcg.h:28: warning: data definition has no
type or storage class
/src/php-4.1.2/ext/standard/php_lcg.h:29: warning: data definition has no
type or storage class
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/src/php-4.1.2/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/src/php-4.1.2/main'
make: *** [install-recursive] Error 1


I'm not a programmer by any means, and am having a hard time figuring out
what the problem is.  Anyone have any advice??

Thanks!

Beau


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to