By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,092 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,092 IT Pros & Developers. It's quick & easy.

make error with unixODBC

P: n/a
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_includes.h:118:17: sql.h: No such
file or directory
/root/php-4.3.2/ext/odbc/php_odbc_includes.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_includes.h:208: error: parse error
before "SQLHANDLE"
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:208: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:209: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:211: error:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:214: error: parse error
before '}' token
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:214: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:220: error: parse error
before "SDWORD"
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:220: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:221: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:224: error: parse error
before "SQLHANDLE"
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:224: warning: no
semicolon at end of struct or union
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:226: error: parse error
before '*' token
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:226: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:227: error: parse error
before "numcols"
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:227: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:228: error: parse error
before "numparams"
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:228: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:235: error: parse error
before '*' token
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:235: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:236: error: parse error
before '}' token
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:236: warning: data
definition has no type or storage class
/root/php-4.3.2/ext/odbc/php_odbc_includes.h:252: error:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/root/php-4.3.2/ext/odbc/php_odbc_includes.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
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.