472,958 Members | 2,398 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 4070

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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...

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.