Re: [PHP4BETA] PHP 4.0 Release Candidate 1
| From: | System Administrator a.k.a. The Root of the Problem | Date: | Tue, 28 Mar 2000 16:37:32 +0000 |
| Subject: | Re: [PHP4BETA] PHP 4.0 Release Candidate 1 | ||
| References: | 1 2 | Groups: | php.dev php.version4 |
| Request: | Send a blank email to php-dev+get-17315@lists.php.net to get a copy of this message | ||
I try to compile php 4.0RC1 as I did with php 3.0.15,
but I run into the following problems:
Script started on Mon Mar 27 21:06:02 2000
doctor.nl2k.ab.ca//usr/source/php-4.0RC1$ gmake
Making all in Zend
gmake[1]: Entering directory `/usr/source/php-4.0RC1/Zend'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/source/php-4.0RC1/Zend'
Making all in ext
gmake[1]: Entering directory `/usr/source/php-4.0RC1/ext'
Making all in db
gmake[2]: Entering directory `/usr/source/php-4.0RC1/ext/db'
gmake[3]: Entering directory `/usr/source/php-4.0RC1/ext/db'
gmake[3]: Nothing to be done for `all-p'.
gmake[3]: Leaving directory `/usr/source/php-4.0RC1/ext/db'
gmake[2]: Leaving directory `/usr/source/php-4.0RC1/ext/db'
Making all in gd
gmake[2]: Entering directory `/usr/source/php-4.0RC1/ext/gd'
gmake[3]: Entering directory `/usr/source/php-4.0RC1/ext/gd'
gmake[3]: Nothing to be done for `all-p'.
gmake[3]: Leaving directory `/usr/source/php-4.0RC1/ext/gd'
gmake[2]: Leaving directory `/usr/source/php-4.0RC1/ext/gd'
Making all in mysql
gmake[2]: Entering directory `/usr/source/php-4.0RC1/ext/mysql'
gmake[3]: Entering directory `/usr/source/php-4.0RC1/ext/mysql'
gmake[3]: Nothing to be done for `all-p'.
gmake[3]: Leaving directory `/usr/source/php-4.0RC1/ext/mysql'
gmake[2]: Leaving directory `/usr/source/php-4.0RC1/ext/mysql'
Making all in odbc
gmake[2]: Entering directory `/usr/source/php-4.0RC1/ext/odbc'
gmake[3]: Entering directory `/usr/source/php-4.0RC1/ext/odbc'
gcc -DHAVE_CONFIG_H -I. -I/usr/source/php-4.0RC1/ext/odbc -I../.. -I../../Zend
-I/usr/source/php-4.0RC1 -I/usr/source/apache_1.3.12//src/include
-I/usr/source/apache_1.3.12//src/os/unix -I/usr/include/freetype -I/usr/contrib/include/mysql
-I/usr/local/include -I/usr/source/php-4.0RC1/ext/xml/expat/xmltok
-I/usr/source/php-4.0RC1/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -Wall -c php_odbc.c
&& touch php_odbc.lo
php_odbc.c: In function `_free_odbc_result':
php_odbc.c:156: warning: implicit declaration of function `SQLFreeStmt'
php_odbc.c: In function `_close_odbc_conn':
php_odbc.c:175: warning: implicit declaration of function `SQLDisconnect'
php_odbc.c:176: warning: implicit declaration of function `SQLFreeConnect'
php_odbc.c:177: warning: implicit declaration of function `SQLFreeEnv'
php_odbc.c: In function `odbc_sql_error':
php_odbc.c:471: warning: implicit declaration of function `SQLError'
php_odbc.c: In function `odbc_bindcols':
php_odbc.c:534: warning: implicit declaration of function `SQLColAttributes'
php_odbc.c:534: `SQL_COLUMN_NAME' undeclared (first use in this function)
php_odbc.c:534: (Each undeclared identifier is reported only once
php_odbc.c:534: for each function it appears in.)
php_odbc.c:539: `SQL_COLUMN_TYPE' undeclared (first use in this function)
php_odbc.c:562: `SQL_COLUMN_DISPLAY_SIZE' undeclared (first use in this function)
php_odbc.c:565: warning: implicit declaration of function `SQLBindCol'
php_odbc.c: In function `odbc_transact':
php_odbc.c:586: warning: implicit declaration of function `SQLTransact'
php_odbc.c: In function `php_if_odbc_prepare':
php_odbc.c:687: warning: implicit declaration of function `SQLAllocStmt'
php_odbc.c:700: warning: implicit declaration of function `SQLPrepare'
php_odbc.c:706: warning: implicit declaration of function `SQLNumParams'
php_odbc.c: In function `php_if_odbc_execute':
php_odbc.c:793: warning: implicit declaration of function `SQLDescribeParam'
php_odbc.c:822: warning: implicit declaration of function `SQLBindParameter'
php_odbc.c:842: warning: implicit declaration of function `SQLExecute'
php_odbc.c:849: warning: implicit declaration of function `SQLParamData'
php_odbc.c:852: warning: implicit declaration of function `SQLPutData'
php_odbc.c: In function `php_if_odbc_cursor':
php_odbc.c:907: warning: implicit declaration of function `SQLGetInfo'
php_odbc.c:907: `SQL_MAX_CURSOR_NAME_LEN' undeclared (first use in this function)
php_odbc.c:919: warning: implicit declaration of function `SQLGetCursorName'
php_odbc.c:932: warning: implicit declaration of function `SQLSetCursorName'
php_odbc.c: In function `php_if_odbc_exec':
php_odbc.c:1005: `SQL_FETCH_DIRECTION' undeclared (first use in this function)
php_odbc.c:1011: warning: implicit declaration of function `SQLSetStmtOption'
php_odbc.c:1024: warning: implicit declaration of function `SQLExecDirect'
php_odbc.c: In function `php_if_odbc_fetch_into':
php_odbc.c:1123: warning: implicit declaration of function `SQLExtendedFetch'
php_odbc.c:1128: warning: implicit declaration of function `SQLFetch'
php_odbc.c:1164: warning: implicit declaration of function `SQLGetData'
php_odbc.c: In function `php_if_odbc_result':
php_odbc.c:1370: `SQL_COLUMN_LENGTH' undeclared (first use in this function)
php_odbc.c:1371: `SQL_COLUMN_DISPLAY_SIZE' undeclared (first use in this function)
php_odbc.c: In function `odbc_sqlconnect':
php_odbc.c:1616: warning: implicit declaration of function `SQLAllocEnv'
php_odbc.c:1617: warning: implicit declaration of function `SQLAllocConnect'
php_odbc.c:1670: warning: implicit declaration of function `SQLConnect'
php_odbc.c: In function `odbc_do_connect':
php_odbc.c:1822: `SQL_DATA_SOURCE_READ_ONLY' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_num_rows':
php_odbc.c:1938: warning: implicit declaration of function `SQLRowCount'
php_odbc.c: In function `php_if_odbc_field_type':
php_odbc.c:2025: `SQL_COLUMN_TYPE_NAME' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_field_len':
php_odbc.c:2062: `SQL_COLUMN_PRECISION' undeclared (first use in this function)
php_odbc.c: In function `php_if_odbc_autocommit':
php_odbc.c:2146: warning: implicit declaration of function `SQLGetConnectOption'
php_odbc.c: In function `php_if_odbc_tables':
php_odbc.c:2286: warning: implicit declaration of function `SQLTables'
php_odbc.c: In function `php_if_odbc_columns':
php_odbc.c:2368: warning: implicit declaration of function `SQLColumns'
php_odbc.c: In function `php_if_odbc_columnprivileges':
php_odbc.c:2447: warning: implicit declaration of function `SQLColumnPrivileges'
php_odbc.c: In function `php_if_odbc_foreignkeys':
php_odbc.c:2545: warning: implicit declaration of function `SQLForeignKeys'
php_odbc.c: In function `php_if_odbc_gettypeinfo':
php_odbc.c:2624: warning: implicit declaration of function `SQLGetTypeInfo'
php_odbc.c: In function `php_if_odbc_primarykeys':
php_odbc.c:2696: warning: implicit declaration of function `SQLPrimaryKeys'
php_odbc.c: In function `php_if_odbc_procedurecolumns':
php_odbc.c:2778: warning: implicit declaration of function `SQLProcedureColumns'
php_odbc.c: In function `php_if_odbc_procedures':
php_odbc.c:2860: warning: implicit declaration of function `SQLProcedures'
php_odbc.c: In function `php_if_odbc_specialcolumns':
php_odbc.c:2946: warning: implicit declaration of function `SQLSpecialColumns'
php_odbc.c: In function `php_if_odbc_statistics':
php_odbc.c:3031: warning: implicit declaration of function `SQLStatistics'
php_odbc.c: In function `php_if_odbc_tableprivileges':
php_odbc.c:3109: warning: implicit declaration of function `SQLTablePrivileges'
gmake[3]: *** [php_odbc.lo] Error 1
gmake[3]: Leaving directory `/usr/source/php-4.0RC1/ext/odbc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/source/php-4.0RC1/ext/odbc'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/source/php-4.0RC1/ext'
gmake: *** [all-recursive] Error 1
doctor.nl2k.ab.ca//usr/source/php-4.0RC1$ x
sh: x: command not found
doctor.nl2k.ab.ca//usr/source/php-4.0RC1$ x
sh: x: command not found
doctor.nl2k.ab.ca//usr/source/php-4.0RC1$ x
sh: x: command not found
doctor.nl2k.ab.ca//usr/source/php-4.0RC1$ exit
exit
Script done on Mon Mar 27 21:06:31 2000
In php 3.0.15 I do NOT have this problem.
I use the following script:
configure --prefix=/usr/contrib --localstatedir=/var --infodir=/usr/share/info
--mandir=/usr/share/man --with-low-memory --with-elf --with-x
--with-apache=/usr/source/apache_1.3.12/ --with-iodbc --with-mysql=/usr/contrib --with-zlib
--enable-track-vars
??????????