pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
odbc for unix
3+ messages / 3 participants
[nested] [flat]

* odbc for unix
@ 2014-07-15 15:58 Lizeth Solís <lizethsolis@gmail.com>
  2014-07-17 04:18 ` Re: odbc for unix Adrian Klaver <adrian.klaver@aklaver.com>
  2014-07-21 04:36 ` Re: odbc for unix Craig Ringer <craig@2ndquadrant.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Lizeth Solís @ 2014-07-15 15:58 UTC (permalink / raw)
  To: pgsql-odbc

Good morning.  Please If you could answer this question.  I would be so
gratefull.



I want to use heterogeneous service  from Oracle to integrate Oracle –
Postgres.

And to use this, I need and ODBC driver installed in my unix server (AIX
7.1).



I downloaded this one psqlodbc-09.03.0300.tar.gz  from  your web page,
from the route SRC.



And i’m applying this document:



*Compiling psqlODBC on Unix*

Following psqlODBC's move away from the main PostgreSQL source tree, Peter
Eisentraut was kind enough provide a build environment for us which is now
included in psqlODBC tarballs.

*Installation*

To install, just try something like:

% tar -zxvf psqlodbc-xx.xx.xxxx.tar.gz

% cd psqlodbc-xx.xx.xxxx

% ./configure

% make

% make install







But I get this error post apply ./configure



ZEUS:/opt/odbc/psqlodbc-09.03.0300>#./configure

checking for a BSD-compatible install... config/install-sh -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... config/install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: in `/opt/odbc/psqlodbc-09.03.0300':

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details





My server is UNIX – AIX 7.1  and Im executing this one like ROOT.



Please could you help me with this?  Thanks a lot!!!

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: odbc for unix
  2014-07-15 15:58 odbc for unix Lizeth Solís <lizethsolis@gmail.com>
@ 2014-07-17 04:18 ` Adrian Klaver <adrian.klaver@aklaver.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2014-07-17 04:18 UTC (permalink / raw)
  To: Lizeth Solís <lizethsolis@gmail.com>; pgsql-odbc

On 07/15/2014 08:58 AM, Lizeth Solís wrote:
> Good morning.  Please If you could answer this question.  I would be so
> gratefull.
>
> I want to use heterogeneous service  from Oracle to integrate Oracle –
> Postgres.
>
> And to use this, I need and ODBC driver installed in my unix server (AIX
> 7.1).
>
> I downloaded this one psqlodbc-09.03.0300.tar.gz from  your web page,
> from the route SRC.
>
> And i’m applying this document:
>
> *Compiling psqlODBC on Unix*
>
> Following psqlODBC's move away from the main PostgreSQL source tree,
> Peter Eisentraut was kind enough provide a build environment for us
> which is now included in psqlODBC tarballs.
>
> *Installation*
>
> To install, just try something like:
>
> % tar -zxvf psqlodbc-xx.xx.xxxx.tar.gz
>
> % cd psqlodbc-xx.xx.xxxx
>
> % ./configure
>
> % make
>
> % make install
>
> But I get this error post apply ./configure
>
> ZEUS:/opt/odbc/psqlodbc-09.03.0300>#./configure
>
> checking for a BSD-compatible install... config/install-sh -c
>
> checking whether build environment is sane... yes
>
> checking for a thread-safe mkdir -p... config/install-sh -c -d
>
> checking for gawk... no
>
> checking for mawk... no
>
> checking for nawk... nawk
>
> checking whether make sets $(MAKE)... yes
>
> checking whether to enable maintainer-specific portions of Makefiles... no
>
> checking for gcc... no

The above is the problem.

> checking for cc... no
>
> checking for cl.exe... no
>
> configure: error: in `/opt/odbc/psqlodbc-09.03.0300':
>
> configure: error: no acceptable C compiler found in $PATH

Reiterated above.

>
> See `config.log' for more details

Might want to look in above for more information.

>
> My server is UNIX – AIX 7.1  and Im executing this one like ROOT.
>
> Please could you help me with this?  Thanks a lot!!!

If you are going to compile from source you will need to have 
development tools installed, Not sure how you do that on AIX, but for 
now at least install gcc or its equivalent.

>
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: odbc for unix
  2014-07-15 15:58 odbc for unix Lizeth Solís <lizethsolis@gmail.com>
@ 2014-07-21 04:36 ` Craig Ringer <craig@2ndquadrant.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Craig Ringer @ 2014-07-21 04:36 UTC (permalink / raw)
  To: Lizeth Solís <lizethsolis@gmail.com>; pgsql-odbc

On 07/15/2014 11:58 PM, Lizeth Solís wrote:
> See `config.log' for more details
  ^^^^^^^^^^^^^^^^ ?

At a guess there's no compiler present, or it's not supported by psqlODBC.

Since you're on a traditional UNIX you probably have the vendor's
compiler (often outdated and broken), a preview edition of that compiler
that just demands a license code when run, or no compiler at all.

It's common to just use gcc to compile things on vendor UNIXes, so that
may be an option. However, it can introduce problems if the ODBC driver
manager and applications aren't also built with gcc. So if possible,
first try to determine what they were built with and use the same compiler.

To be more specific it'd be necessary to see your config.log, and
probably know a lot more about AIX.

(Please don't attach your config.log to a mail to the mailing list. If
you want you can send it to a pastebin site or something instead, then
link to it in a post.)

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-07-21 04:36 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-07-15 15:58 odbc for unix Lizeth Solís <lizethsolis@gmail.com>
2014-07-17 04:18 ` Adrian Klaver <adrian.klaver@aklaver.com>
2014-07-21 04:36 ` Craig Ringer <craig@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox