System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

 
Madhu Kangara
Frequent Advisor

help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

Has anyone successfully compiled unixODBC (www.unixODBC.org) for Hp-UX PA-RISC

I used following options to configure with gcc 3.3


./configure --prefix=/home/madhu/unixODBC --enable-gui=no --enable-
drivers=no


I am getting following error while doing make. Has anyone tried
successfully compiling unixODBC for HP-UX


mkdir .libs/libinilc.lax/libodbcextraslc.a
(cd .libs/libinilc.lax/libodbcextraslc.a && ar x /home/madhu/
unixODBC-2.2.12/ini
/../extras/.libs/libodbcextraslc.a)
ar cru .libs/libinilc.a .libs/iniAllTrim.o .libs/iniAppend.o .libs/
iniDelete.o .
libs/iniClose.o .libs/iniCommit.o .libs/iniObject.o .libs/
iniObjectFirst.o .libs
/iniObjectLast.o .libs/iniObjectNext.o .libs/iniObjectSeek.o .libs/
iniObjectSeek
Sure.o .libs/iniObjectUpdate.o .libs/iniObjectInsert.o .libs/
iniObjectDelete.o .
libs/iniObjectEOL.o .libs/iniOpen.o .libs/iniProperty.o .libs/
iniPropertyFirst.o
.libs/iniPropertyLast.o .libs/iniPropertyNext.o .libs/
iniPropertySeek.o .libs/i
niPropertySeekSure.o .libs/iniPropertyUpdate.o .libs/
iniPropertyInsert.o .libs/i
niPropertyDelete.o .libs/iniPropertyEOL.o .libs/
iniPropertyValue.o .libs/iniValu
e.o .libs/iniToUpper.o .libs/iniElement.o .libs/
iniElementCount.o .libs/iniGetBo
okmark.o .libs/iniGotoBookmark.o .libs/iniCursor.o .libs/
_iniObjectRead.o .libs/
_iniPropertyRead.o .libs/_iniDump.o .libs/_iniScanUntilObject.o .libs/
libinilc.
lax/libodbcextraslc.a/strcasecmp.o .libs/libinilc.lax/
libodbcextraslc.a/snprintf
.o
ranlib .libs/libinilc.a
rm -fr .libs/libinilc.lax
creating libinilc.la
(cd .libs && rm -f libinilc.la && ln -s ../libinilc.la libinilc.la)
Making all in libltdl
cd . && /bin/sh /home/madhu/unixODBC-2.2.12/libltdl/missing --
run autohe
ader
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template withou
t
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be
produced, see the
autoheader: WARNING: documentation.
/usr/local/bin/m4: unrecognized option `--debugfile=autom4te.cache/
traces.0t'
Try `/usr/local/bin/m4 --help' for more information.
autom4te: /usr/local/bin/m4 failed with exit status: 1
autoheader: '/usr/local/bin/autom4te' failed with exit status: 1
*** Error exit code 1


Stop.
*** Error exit code 1


Stop.



6 REPLIES 6
Oviwan
Honored Contributor

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

Hi

What is the reason for using unixODBC? is there no alternative?

for example if you are using oracle you could use oracle transparent gateway to connect to a mssql db.

Regards
Steven E. Protter
Exalted Contributor

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

Shalom,

It would indeed be helpful to know why you are trying to do this.

It would appear to be a missing m4 binary causing this problem.

Try `/usr/local/bin/m4 --help' for more information.
autom4te: /usr/local/bin/m4 failed with exit status: 1
autoheader: '/usr/local/bin/autom4te' failed with exit status: 1

http://hpux.connect.org.uk/hppd/hpux/Languages/m4-1.4.11/

Do not ignore the pre/co requisite depots.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Madhu Kangara
Frequent Advisor

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

We are trying to use hetrogenous services for Oracle to connect to a non standard RDBMS using ODBC and I was following Jeff Hunter's document

http://www.idevelopment.info/data/Oracle/DBA_tips/Heterogeneous_Services/HETERO_2.shtml

I was aware that I could use transparent services for Oracle to connect to a non standard database. Can someone please attach a how-to
Madhu Kangara
Frequent Advisor

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

I have m4
$[\u@\h \W]\$ /usr/local/bin/m4 --version
GNU m4 1.4
Oviwan
Honored Contributor

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

Hi

This is the installation guide for transparent gateway 10g. but as far as I know this is not for free...

http://download.oracle.com/docs/cd/B19306_01/gateways.102/b19084/toc.htm
Oviwan
Honored Contributor

Re: help needed for compiling unixODBC on HPUX 11.11 (PA-RISC)

I had have a similar issue, this was the thread:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1127245

but now I connect from mssql to oracle and this works.

to which rdbms are you trying to connect?