471,316 Members | 1,026 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,316 software developers and data experts.

make error with unixODBC

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
0 3913

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tbird67ForSale | last post: by
7 posts views Thread by Gaetano Mendola | last post: by
9 posts views Thread by Joel Rodrigues | last post: by
3 posts views Thread by Greg | last post: by
6 posts views Thread by scottyman | last post: by
4 posts views Thread by Gregor =?UTF-8?B?S292YcSN?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.