Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-interfacespgsql-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

pgsql-ports by date

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

pgsql-interfaces by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group