Need help adding perl interface to 7.1.3 on MacOSX 10.1

From: Raoul Callaghan <tangles(at)bigpond(dot)net(dot)au>
To: pgsql-general(at)postgresql(dot)org(dot)pgsql-interfaces(at)postgresql(dot)org(dot)pgsql-ports(at)postgresql(dot)org
Subject: Need help adding perl interface to 7.1.3 on MacOSX 10.1
Date: 2001-10-21 05:58:36
Message-ID: B7F8A12C.814%tangles@bigpond.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces pgsql-ports


This is what I have done...

1.) Download the postgresql-7.1.3-posix.patch ("curl -O
http://members.blackbox.net/a/files/postgresql-7.1.3-posix.patch")
2). Download the postgresql-7.1.3.tar.gz source.
3.) expand the .tar.gz files
3.) cd into the resulting postgresql-7.1.3 directory
4.) do a "patch -p1 < ../postgresql-7.1.3-posix.patch"

When I do a configure including ‹with-perl the make falls over.
Without this attribute, make compiles fine...

I was curious if you could offer any assistance to have make successfully
compile with perl.

The last several relevant make lines are:

LD_RUN_PATH="" cc -o blib/arch/auto/plperl/plperl.bundle -bundle
-flat_namespace -undefined suppress plperl.o eloglvl.o SPI.o
/System/Library/Perl/darwin/auto/Opcode/Opcode.bundle
-L/System/Library/Perl/darwin/CORE -lperl
/usr/bin/ld: /System/Library/Perl/darwin/auto/Opcode/Opcode.bundle is input
for the dynamic link editor, is not relocatable by the static link editor
again
make[4]: *** [blib/arch/auto/plperl/plperl.bundle] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Do I have to manually set LD_RUN_PATH?

I¹m guessing that the patch file requires some additions for the perl
interface, however I¹m a not a programmer and this is a bit beyond me..

Anyone care to help out here?

Raoul.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lark 2001-10-21 07:49:38 ecpg: How to connect to host w. user:password?
Previous Message BNT SOFT 2001-10-21 03:14:23 Record

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sudheer Palaparambil 2001-10-21 14:06:03 REMOVE PROCEDURE CALLS
Previous Message Tom Lane 2001-10-19 23:55:12 Re: ECPG segmentation fault

Browse pgsql-ports by date

  From Date Subject
Next Message Christopher C. Weis 2001-10-22 02:25:23 Re: Need help adding perl interface to 7.1.3 on MacOSX 10.1
Previous Message Steve Burger 2001-10-20 12:26:19 RE- Compile 7.1.3 on SCO OpenServer 5.0.6a