Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2005 18:21:04 -0500
From:      "Peter C. Lai" <sirmoo@cowbert.2y.net>
To:        knu@freebsd.org
Cc:        ports@freebsd.org
Subject:   ruby18-postgres-0.7.1_1 and postgresql 7.1.3
Message-ID:  <20050124232104.GG20992@cowbert.2y.net>

next in thread | raw e-mail | index | archive | help
Hi

the ruby18-postgres-0.7.1_1 port will not build with the postgresql 7.1.3 
port installed.

The required changes to postgres.c:18 and 19 are:

--- postgres.c  Sun Jan  5 20:38:20 2003
+++ postgres.pcl.c      Mon Jan 24 17:05:42 2005
@@ -16,6 +16,6 @@
 #include "rubyio.h"
 
-#include <libpq-fe.h>
-#include <libpq/libpq-fs.h>              /* large-object interface */
+#include <pgsql/libpq-fe.h>
+#include <pgsql/libpq/libpq-fs.h>              /* large-object interface */
 #include <stdio.h>
 #include <stdlib.h>

The module is reported by http://www.postgresql.jp/interfaces/ruby/ to 
work on pgsql 7.1, so I think that is all that is necessary.

Also, is someone working on a rails port? Currently it is available via
gems, but is there any interest in a standalone port?

peter
-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology
Yale University School of Medicine
SenseLab | Research Assistant
http://cowbert.2y.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050124232104.GG20992>