473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 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 4097

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tbird67ForSale | last post by:
Has anyone had much luck with UnixODBC on RedHat Linux. I've recently moved a 100 Gb MySQL database from Win2000 Server to a RedHat 9 server and installed UnixODBC to access it. It appears that...
7
by: Gaetano Mendola | last post by:
This is what I got installing the RPM for 9.0: file /usr/include/sqltypes.h from install of postgresql-devel-7.4-0.3PGDG conflicts with file from package unixODBC-devel-2.2.3-6 BTW I...
9
by: Joel Rodrigues | last post by:
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any ideas ? ---------------------------------------------------------- ar: illegal option -- s usage: ar -d archive file ......
1
by: Bill Medland | last post by:
Has anyone come across this before and fixed it? My system (a small development system with DB2 8.1 Enterprise on RedHat 8.1 Linux) has been working fine for ages. Suddenly I now get the...
3
by: Greg | last post by:
Hi, Does anyone know what is the difference between the two ODBC systems ? Are there any other popular and established standards ? Thanks for the help. -greg
0
by: zhengfish | last post by:
HI,all I used an odbc-wrapper connectting mysql with unixODBC. But it didnt work well, often some exception occured. So I need one new wrapper for unixODBC, it must run stably. Could U give me an...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
4
by: Gregor =?UTF-8?B?S292YcSN?= | last post by:
Hi! I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO 6.10. I've installed unixODBC version 2.2.11. My /etc/odbcinst.ini: Trace=yes Tracefile=/home/gregor/trc.log
5
by: PG | last post by:
I am trying to compile a simple ODBC and C example on Windows XP SP2. I have Cygwin_NT 5.1. This is the code (obtained from...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.