Re: More Snow Leopard fun: multiarch problems while building plperl

From: Jan Otto <asche(at)me(dot)com>
To: Jan Otto <asche(at)me(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: More Snow Leopard fun: multiarch problems while building plperl
Date: 2009-09-08 18:37:15
Message-ID: 46D6EE1C-996E-48A2-87C3-82EE7244B949@me.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ups, my previous patch was already applied in HEAD. This patch removes
the sed-patch
and added the check and set of ARCHFLAGS.

diff -c -r1.655 configure
*** configure 8 Sep 2009 18:15:55 -0000 1.655
--- configure 8 Sep 2009 18:30:04 -0000
***************
*** 6941,6949 ****

{ $as_echo "$as_me:$LINENO: checking for flags to link embedded
Perl" >&5
$as_echo_n "checking for flags to link embedded Perl... " >&6; }
! pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
! perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%
$pgac_tmp2%%" -e "s/ -arch [-a-zA-Z0-9_]*//g"`
if test -z "$perl_embed_ldflags" ; then
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
--- 6941,6949 ----

{ $as_echo "$as_me:$LINENO: checking for flags to link embedded
Perl" >&5
$as_echo_n "checking for flags to link embedded Perl... " >&6; }
! pgac_tmp1=`[ "$ARCHFLAGS" ] || export ARCHFLAGS=""; $PERL -
MExtUtils::Embed -e ldopts`
pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
! perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%
$pgac_tmp2%%"`
if test -z "$perl_embed_ldflags" ; then
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }

regards, jan otto

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Mayer 2009-09-08 18:45:01 Re: Time-based Releases WAS: 8.5 release timetable, again
Previous Message Vick Khera 2009-09-08 18:26:16 Re: Snow Leopard bison/flex build problem