pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Hellegers <mark@firedisk.net>
To: pgsql-odbc@postgresql.org
Subject: Compiling on Haiku with iODBC
Date: Wed, 10 Jun 2015 21:41:45 +0200 CEST
Message-ID: <1079970993-BeMail@starquake> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hello,

I compiled the Postgresql ODBC driver (psqlodbc-09.03.0400) on Haiku 
(see http://www.haiku-os.org) and I ran into a few small problems that 
I hope you can fix.
The first one is that configure does not recognize Haiku. I had a quick 
look at how BeOS (of which Haiku is an open source reimplementation) 
was configured and copied that. According to the error I got when it 
didn't recognize Haiku you can download newer versions of config.guess 
at ftp://ftp.gnu.org/pub/gnu/config (it contains a readme that directs 
you to a git repository). If that is not possible I can tell you which 
changes to make to let it configure under Haiku.

The second problem was when running the SQLCOLATTRIBUTE_SQLLEN check 
(from configure.ac). There seems to be a an extra ">" character after 
"include <sql.h>" which causes the check to always fail. However, I 
compiled with iodbc support and that uses SQLLEN in SQLColAttribute. I 
fixed it by removing the extra ">" and ran autoconf again. After that 
it compiles without problems. Can you fix that in your configure.ac as 
well?

Kind regards,

Mark Hellegers

--
Spangalese for beginners

`Halley mak ranfuer.'
`Your infant has swallowed my grenade.'




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



view thread (5+ messages)  latest in thread

Message-ID: <1079970993-BeMail@starquake>
Permalink:  ../1079970993-BeMail@starquake/
Also on:    postgresql.org/message-id/1079970993-BeMail@starquake

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: mark@firedisk.net
  Subject: Re: Compiling on Haiku with iODBC
  In-Reply-To: <1079970993-BeMail@starquake>
  References: <1079970993-BeMail@starquake>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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