Unix Technical Forum

Re: [PATCH] Bugfix for for pkg/mac/complete-bundle.sh

This is a discussion on Re: [PATCH] Bugfix for for pkg/mac/complete-bundle.sh within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Thanks Florian, patch applied. Regards, Dave. > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto gadmin-hackers-owner@postgresql.org] On Behalf Of > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 06:38 PM
Dave Page
 
Posts: n/a
Default Re: [PATCH] Bugfix for for pkg/mac/complete-bundle.sh

Thanks Florian, patch applied.

Regards, Dave.

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> Florian G. Pflug
> Sent: 24 October 2005 02:35
> To: pgAdmin Hackers
> Subject: [pgadmin-hackers] [PATCH] Bugfix for for
> pkg/mac/complete-bundle.sh
>
> Hi
>
> The hardcoded "todo=../src/pgadmin3" in complete-bundle.sh is wrong.
> complete-bundle.sh
> adjusts the library path _inside_ the binary besides copying the lib
> into the bundle.
> If ../src/pgadmin3, instead of Contents/MacOS/pgAdmin3 is fixed up by
> complete-bundle.sh,
> the resulting bundle will not start on because it can't find the
> dynamically linked libs.
>
> Please apply the following patch - it's already used for the nighty
> builds, and produces working
> bundles.
>
> Index: pkg/mac/complete-bundle.sh
> ================================================== =================
> --- pkg/mac/complete-bundle.sh (revision 4597)
> +++ pkg/mac/complete-bundle.sh (working copy)
> @@ -12,10 +12,10 @@
> cd "$bundle"
> fw_basepath=$(dirname $(pwd))
> todo=$(find ./ | \
> - xargs file | \
> - sed -n 's/^\([^:][^:]*\):[[:space:]]*Mach-O
> executable ppc$/\1/p' \
> + xargs --replace=line file 'line' | \
> + sed -n 's/^\([^:][^:]*\):[[:space:]]*Mach-O executable
> ppc$/\1/p' | \
> + xargs echo -n \
> )
> -todo=../src/pgadmin3
>
> echo "Found executables: $todo"
> while test "$todo" != ""; do
>
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com