Issues with installing unixODBC (Oracle linux 6)
918514Feb 26 2012 — edited Feb 27 2012"4.5 Compiling the Oracle ODBC Driver Demos
If you plan to compile and run the Oracle ODBC Driver demos, then follow these steps:
1.
If you do not have unixODBC DriverManager installed, then download it from the following Web site:
http://www.unixodbc.org/
2.
Set the ODBCDM_HOME environment variable to point to the directory where you installed DriverManager.
3.
Run the following make file to compile the Oracle ODBC Driver demos:
make -f demo_xe.mk buildodbcdemo ODBCDM_HOME=DriverManager_location
"
When trying to execute this :
make -f demo_xe.mk buildodbcdemo ODBCDM_HOME=DriverManager_location
[root@localhost ~]# cd /u01/app/oracle/product/11.2.0/xe/rdbms/demo
[root@localhost demo]# make -f demo_xe.mk buildodbcdemo ODBCDM_HOME=/opt/unixODBC-2.3.1
make: *** No rule to make target `odbcdemo.o', needed by `buildodbcdemo'. Stop.
Obviously the the file is missing what now ? Do I need to do this part of the cookbook anyway?
Ive installed it through the repo tho:
P.S. OK, dl-ed from the repo
-rw-r--r--. 1 root root 387132 Feb 19 21:59 unixODBC-2.2.14-11.el6.x86_64.rpm
-rw-r--r--. 1 root root 53844 Feb 19 21:59 unixODBC-devel-2.2.14-11.el6.x86_64.rpm
-rw-r--r--. 1 root root 225680 Feb 19 21:59 unixODBC-kde-2.2.14-11.el6.x86_64.rpm