Discussion:
[PHP-INSTALL] don't get shared extension odbc compiled!
Tamer Higazi
2010-05-29 12:52:59 UTC
Permalink
Hi people!
I am 1 step getting nut on php 5.3.2 to get the odbc extension compiled.
Could anybody please help me?!


I am executing in the "php-5.3.2/ext/odbc" folder:

./configure --prefix=/usr --with-unixODBC=/usr

and get complains that a certain sqlheader.h file in /usr/local/ is not
found.

Result:

checking for Adabas support... cp: cannot stat
`/usr/local/lib/odbclib.a': No such file or directory
configure: error: ODBC header file '/usr/local/incl/sqlext.h' not found!




Tamer
Hendrik Schmieder
2010-06-15 12:54:01 UTC
Permalink
Post by Tamer Higazi
Hi people!
I am 1 step getting nut on php 5.3.2 to get the odbc extension compiled.
Could anybody please help me?!
./configure --prefix=/usr --with-unixODBC=/usr
and get complains that a certain sqlheader.h file in /usr/local/ is not
found.
checking for Adabas support... cp: cannot stat
`/usr/local/lib/odbclib.a': No such file or directory
configure: error: ODBC header file '/usr/local/incl/sqlext.h' not found!
Tamer
You need to install an unixodbc-dev package.

Hendrik
Tamer Higazi
2010-06-16 20:38:08 UTC
Permalink
Hi Hendrik!
I am not using a package based system, Gentoo uses sources compiles and
installs them all respectively. Therefor all headers and libraries are
in the system available. I double checked!


Tamer
Post by Hendrik Schmieder
Post by Tamer Higazi
Hi people!
I am 1 step getting nut on php 5.3.2 to get the odbc extension compiled.
Could anybody please help me?!
./configure --prefix=/usr --with-unixODBC=/usr
and get complains that a certain sqlheader.h file in /usr/local/ is not
found.
checking for Adabas support... cp: cannot stat
`/usr/local/lib/odbclib.a': No such file or directory
configure: error: ODBC header file '/usr/local/incl/sqlext.h' not found!
Tamer
You need to install an unixodbc-dev package.
Hendrik
Tamer Higazi
2010-06-16 20:40:28 UTC
Permalink
By the way, the point is that everything is located in /usr/lib and
/usr/include.

I don't know why the hell this pecl extension is continuesly looking in
/usr/local ... That's the riddle!


Tamer
Post by Tamer Higazi
Hi Hendrik!
I am not using a package based system, Gentoo uses sources compiles and
installs them all respectively. Therefor all headers and libraries are
in the system available. I double checked!
Tamer
Post by Hendrik Schmieder
Post by Tamer Higazi
Hi people!
I am 1 step getting nut on php 5.3.2 to get the odbc extension compiled.
Could anybody please help me?!
./configure --prefix=/usr --with-unixODBC=/usr
and get complains that a certain sqlheader.h file in /usr/local/ is not
found.
checking for Adabas support... cp: cannot stat
`/usr/local/lib/odbclib.a': No such file or directory
configure: error: ODBC header file '/usr/local/incl/sqlext.h' not found!
Tamer
You need to install an unixodbc-dev package.
Hendrik
Continue reading on narkive:
Loading...