Re: [perl #36448] [PATCH] configuring ranlib for perl on osx with xcode 2.1
On Sat, Sep 10, 2005 at 10:40:25PM -0700, Steve Peters via RT wrote: [EMAIL PROTECTED] - Fri Jul 01 14:56:29 2005]: Hello, It looks like Apple has changed how ar works in xcode 2.1. As a result, Configure thinks that ar can generate random libraries. This breaks linking libperl.a, for instance when building PerlApp. Configure doesn't currently allow overriding ranlib when Configure detects that ranlib isn't necessary. My patch fixes this, and sets ranlib for darwin. Note that this patch is for ActivePerl 5.6.1 (it doesn't appear to be fixed in 5.9.2), so it probably needs to be manually applied... Configure 13888c13888,13890 ranlib=: --- if [ X$ranlib = X ]; then ranlib=: fi hints/darwin.sh 179a180,183 # Configure doesn't detect ranlib on Tiger properly. # NeilW says this should be acceptable on all darwin versions. ranlib='ranlib' Luke Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1 rather than the current bleadperl and it isn't in diff -u format, a new patch might be needed. One question comes to mind when I look at it, though. Have you tested the patch on a non-Tiger system? I haven't tested it on a non-Tiger system (I don't have access to one). Luke -- Luke Closs PureMessage Developer There is always time to juggle in the Sophos Zone.
Re: [perl #36448] [PATCH] configuring ranlib for perl on osx with xcode 2.1
On Mon, 12 Sep 2005, Luke Closs wrote: On Sat, Sep 10, 2005 at 10:40:25PM -0700, Steve Peters via RT wrote: Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1 rather than the current bleadperl and it isn't in diff -u format, a new patch might be needed. One question comes to mind when I look at it, though. Have you tested the patch on a non-Tiger system? I haven't tested it on a non-Tiger system (I don't have access to one). If Merijn doesn't beat me to it, I'll try to look at it in the next couple of days. -- Andy Dougherty [EMAIL PROTECTED]
Re: [perl #36448] [PATCH] configuring ranlib for perl on osx with xcode 2.1
On Tue, 13 Sep 2005 07:52:06 -0400 (EDT), Andy Dougherty [EMAIL PROTECTED] wrote: On Mon, 12 Sep 2005, Luke Closs wrote: On Sat, Sep 10, 2005 at 10:40:25PM -0700, Steve Peters via RT wrote: Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1 rather than the current bleadperl and it isn't in diff -u format, a new patch might be needed. One question comes to mind when I look at it, though. Have you tested the patch on a non-Tiger system? I haven't tested it on a non-Tiger system (I don't have access to one). If Merijn doesn't beat me to it, I'll try to look at it in the next couple of days. It was in my queue waiting for someone that could test on Tiger did so It's a rather simple change, but as I don't have access to any MacOS like OS's, I waited for comments -- H.Merijn BrandAmsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, 5.9.2 on HP-UX 10.20, 11.00 11.11, AIX 4.3 5.2, SuSE 9.2 9.3, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org,perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED],perl-qa@perl.org
Re: [perl #36448] [PATCH] configuring ranlib for perl on osx with xcode 2.1
On 9/11/05, Steve Peters via RT [EMAIL PROTECTED] wrote: Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1 rather than the current bleadperl and it isn't in diff -u format, a new patch might be needed. One question comes to mind when I look at it, though. Have you tested the patch on a non-Tiger system? Yes. I wonder whether the same effect can be achieved only by patching the Darwin hints file.
[perl #36448] [PATCH] configuring ranlib for perl on osx with xcode 2.1
[EMAIL PROTECTED] - Fri Jul 01 14:56:29 2005]: Hello, It looks like Apple has changed how ar works in xcode 2.1. As a result, Configure thinks that ar can generate random libraries. This breaks linking libperl.a, for instance when building PerlApp. Configure doesn't currently allow overriding ranlib when Configure detects that ranlib isn't necessary. My patch fixes this, and sets ranlib for darwin. Note that this patch is for ActivePerl 5.6.1 (it doesn't appear to be fixed in 5.9.2), so it probably needs to be manually applied... Configure 13888c13888,13890 ranlib=: --- if [ X$ranlib = X ]; then ranlib=: fi hints/darwin.sh 179a180,183 # Configure doesn't detect ranlib on Tiger properly. # NeilW says this should be acceptable on all darwin versions. ranlib='ranlib' Luke Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1 rather than the current bleadperl and it isn't in diff -u format, a new patch might be needed. One question comes to mind when I look at it, though. Have you tested the patch on a non-Tiger system?