Re: Need help adding perl interface to 7.1.3 on MacOSX 10.1

From: "Christopher C(dot) Weis" <ccweis(at)engineering(dot)uiowa(dot)edu>
To: pgsql-general(at)postgresql(dot)org(dot)pgsql-interfaces(at)postgresql(dot)org(dot)pgsql-ports(at)postgresql(dot)org
Subject: Re: Need help adding perl interface to 7.1.3 on MacOSX 10.1
Date: 2001-10-22 02:25:23
Message-ID: 9qvvo8$a8v$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces pgsql-ports

I'm actually having quite a bit of trouble using the "--with-perl" option
on linux. I keep getting a "can not find libperl" error, even though I
compiled perl with a dynamic module and put it within the standard library
path. It would seem that most of the Postgresql community is confused with
what "--with-perl" actually does. I know I am. Sorry I wasn't much of
help, but you may not be alone on this one. Best of luck.

~me

Raoul Callaghan wrote:

>
> 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.
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aaron Rouse 2001-10-22 02:51:06 Listing users
Previous Message Steven Vajdic 2001-10-22 00:47:25 PostgreSQL 7.1.3 installation on Windows platforms

Browse pgsql-interfaces by date

  From Date Subject
Next Message Edward Pilipczuk 2001-10-22 08:34:59 ECPG - connection name in "EXEC SQL AT ... " statement
Previous Message Andre Schnabel 2001-10-21 19:42:52 PostgreSQL RDD for Clipper?

Browse pgsql-ports by date

  From Date Subject
Next Message Chidambaranathan Alagar 2001-10-23 11:33:33 Pls send the details.
Previous Message Raoul Callaghan 2001-10-21 05:58:36 Need help adding perl interface to 7.1.3 on MacOSX 10.1