ID:               28776
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jon dot bertsch at ucop dot edu
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: SUSE 9.1
 PHP Version:      5.0.0RC3
 New Comment:

Bogus as you could fix it. (and missing information, etc.)
To other people having similar problems: Open new bug report.



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

[2004-10-11 18:51:06] jthiatt at yahoo dot com

I'm getting the same error. I'm using SUSE 9.1 and PHP 5.0.2.  Here are
my configure options

--with-apache=../apache --enable-trans-sid --with-zlib-dir=/usr/include
--with-mm --enable-exit --with-mysql=/usr/local/mysql
--with-ibm-db2=/usr/IBMdb2/V7.1 --with-ldap --with-mcrypt --with-imap
--with-gd=/usr/ --with-png-dir=/usr/ --with-jpeg-dir=/usr/ --with-xml
--with-openssl --enable-gd-native-tt

I even added the path to unixODBC to the configure options, still no
luck.

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

[2004-06-14 19:29:56] jon dot bertsch at ucop dot edu

I fixed this by recompiling and specifying the path to 
unixODBC in the configure script. Shouldn't this be 
flagged when running configure?

Maybe BOGUS, sorry for submiting if it is.

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

[2004-06-14 17:25:40] jon dot bertsch at ucop dot edu

Description:
------------
Installed php5RC3 on mac OSX 10.3 no problems, Next 
attempted to install on SUSE 9.1 and the make failed at 
ODBC library, see below for messages

Reproduce code:
---------------
In file included from /usr/local/php5/ext/odbc/php_odbc.c:37:
/usr/local/php5/ext/odbc/php_odbc_includes.h:94:18: isql.h: No such
file or directory
/usr/local/php5/ext/odbc/php_odbc_includes.h:95:21: isqlext.h: No such
file or directory
In file included from /usr/local/php5/ext/odbc/php_odbc.c:37:
/usr/local/php5/ext/odbc/php_odbc_includes.h:208: error: parse error
before "HENV"
/usr/local/php5/ext/odbc/php_odbc_includes.h:208: warning: no semicolon
at end of struct or union
/usr/local/php5/ext/odbc/php_odbc_includes.h:209: warning: data
definition has no type or storage class
/usr/local/php5/ext/odbc/php_odbc_includes.h:211: error:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/usr/local/php5/ext/odbc/php_odbc_includes.h:214: error: parse error
before '}' token
/usr/local/php5/ext/odbc/php_odbc_includes.h:214: warning: data
definition has no type or storage class
/usr/local/php5/ext/odbc/php_odbc_includes.h:220: error: parse error
before "SDWORD"
/usr/local/php5/ext/odbc/php_odbc_includes.h:220: warning: no semicolon
at end of struct or union
/usr/local/php5/ext/odbc/php_odbc_includes.h:221: warning: data
definition has no type or storage class
/usr/local/php5/ext/odbc/php_odbc_includes.h:224: error: parse error
before "HSTMT"

... continues for quite a while and ends with ...

/usr/local/php5/ext/odbc/php_odbc.c:3625: error: invalid type argument
of `->'
/usr/local/php5/ext/odbc/php_odbc.c:3627: error: invalid type argument
of `->'
/usr/local/php5/ext/odbc/php_odbc.c:3628: error: invalid type argument
of `->'
/usr/local/php5/ext/odbc/php_odbc.c:3629: warning: passing arg 2 of
`zend_register_resource' makes pointer from integer without a cast
/usr/local/php5/ext/odbc/php_odbc.c: At top level:
/usr/local/php5/ext/odbc/php_odbc_includes.h:211: error: storage size
of `lasterrormsg' isn't known
make: *** [ext/odbc/php_odbc.lo] Error 1

Expected result:
----------------
Expected sucessful make. On this machine isql is 
available at /usr/bin/isql, Configure had no problems.



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


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

Reply via email to