From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.58.3.98 with SMTP id b2mr14565010veb.2.1395606294184; Sun, 23 Mar 2014 13:24:54 -0700 (PDT) X-Received: by 10.140.107.138 with SMTP id h10mr1197329qgf.2.1395606294151; Sun, 23 Mar 2014 13:24:54 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!hw13no7949216qab.1!news-out.google.com!du2ni12231qab.0!nntp.google.com!hw13no7949215qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 23 Mar 2014 13:24:54 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.229.150.214; posting-account=l8k8IwoAAADeDydswOzwNzmn10qOk9gt NNTP-Posting-Host: 85.229.150.214 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <97e4ba0b-58a0-453f-8738-2c7de5c5286f@googlegroups.com> Subject: Mac OS X Mavericks does not play nice with PostgreSQL 9.3.4 From: ake.ragnar.dahlgren@gmail.com Injection-Date: Sun, 23 Mar 2014 20:24:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:18933 Date: 2014-03-23T13:24:54-07:00 List-Id: Maybe Ada software developers should avoid development on Mac OS X? I've updated the version of Mac OS X to Mavericks. A consequence of updatin= g the Mac OS X version is that I've had to reinstall my Ada software develo= pment environment. While searching information on the internet about this I= 've read that whenever you upgrade your version of Mac OS X, header files t= hat gcc needs will be deleted and that you have to reinstall the command li= ne tools for XCode. To get the command line tools back execute "/usr/bin/xc= ode-select --install". After the upgrade to Mavericks I've installed GNAT GPL 2013 again and XAdaL= ib for Mavericks. Everything works well except for creation of tables in Po= stgreSQL. On my Macbook Air the command gnatcoll_db2ada gives an error message when t= rying to create the tables in an empty database: gnatcoll_db2ada -dbmodel=3Ddatabase_schema.txt -dbhost=3Dlocalhost -dbport= =3D5432 -dbname=3Dhello -dbuser=3Dpostgres -dbpasswd=3Dasdf -createdb The response is: [SQL.ERROR] 1/2 Transaction failed: BEGIN PGRES_BAD_RESPONSE=20 [SQL.ERROR] 2/3 Transaction failed: ROLLBACK PGRES_BAD_RESPONSE The file database_schema.txt contains the following content: | TABLE | People | Person | | = | | id | AUTOINCREMENT | PK | | Auto-generated ID = | | age | INTEGER | | | = | | name | TEXT | | | = | I've spent two work days trying to get the SQL binding in GNATColl to work.= I am about to give up and buy a new laptop with Windows on it. I've tried removing XAdaLIB and compiling GNATColl from Source. I've had no= problem recompiling GNATColl. Executing gnatcoll_db2ada gives the error me= ssage above. Running the tests for GNATColl reveals the same error message = (make test). I've reinstalled PostgreSQL 9.3.4 from both Enterprise DB and = Macports. Still no success. Maybe the problem has something to do with perm= issions? Is there someone on comp.lang.ada that has faced these challenges before an= d been more successful? Best regards, =C5ke Ragnar Dahlgren