Trying to install on SuSE 8.2 from source.
../configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
--with-unixODBC=/usr/lib
getting this error:
/root/php-4.3.2/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo
In file included from /root/php-4.3.2/ext/odbc/php_odbc.c:37:
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:118:17: sql.h: No such
file or directory
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:119:20: sqlext.h: No such
file or directory
In file included from /root/php-4.3.2/ext/odbc/php_odbc.c:37:
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:208: error: parse error
before "SQLHANDLE"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:208: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:209: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:211: error:
`SQL_MAX_MESSAG E_LENGTH' undeclared here (not in a function)
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:214: error: parse error
before '}' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:214: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:220: error: parse error
before "SDWORD"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:220: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:221: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:224: error: parse error
before "SQLHANDLE"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:224: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:226: error: parse error
before '*' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:226: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:227: error: parse error
before "numcols"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:227: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:228: error: parse error
before "numparams"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:228: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:235: error: parse error
before '*' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:235: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:236: error: parse error
before '}' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:236: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:252: error:
`SQL_MAX_MESSAG E_LENGTH' undeclared here (not in a function)
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:255: confused by earlier
errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
I've tried 4.3.3 and 4.3.2 and get the same error. Anyone have any
ideas why this is happening? Could my unixODBC (installed with SuSE)
be not installed right?
Thanks for any help!
Cary
../configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
--with-unixODBC=/usr/lib
getting this error:
/root/php-4.3.2/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo
In file included from /root/php-4.3.2/ext/odbc/php_odbc.c:37:
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:118:17: sql.h: No such
file or directory
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:119:20: sqlext.h: No such
file or directory
In file included from /root/php-4.3.2/ext/odbc/php_odbc.c:37:
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:208: error: parse error
before "SQLHANDLE"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:208: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:209: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:211: error:
`SQL_MAX_MESSAG E_LENGTH' undeclared here (not in a function)
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:214: error: parse error
before '}' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:214: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:220: error: parse error
before "SDWORD"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:220: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:221: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:224: error: parse error
before "SQLHANDLE"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:224: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:226: error: parse error
before '*' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:226: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:227: error: parse error
before "numcols"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:227: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:228: error: parse error
before "numparams"
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:228: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:235: error: parse error
before '*' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:235: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:236: error: parse error
before '}' token
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:236: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:252: error:
`SQL_MAX_MESSAG E_LENGTH' undeclared here (not in a function)
/root/php-4.3.2/ext/odbc/php_odbc_includ es.h:255: confused by earlier
errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
I've tried 4.3.3 and 4.3.2 and get the same error. Anyone have any
ideas why this is happening? Could my unixODBC (installed with SuSE)
be not installed right?
Thanks for any help!
Cary