Shoot I'll add it as a runtime depend

Sent from my iPhone

> On Feb 8, 2017, at 11:13 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> 
>> On Feb 6, 2017, at 11:11, Scott Wilton <scott.o.wil...@gmail.com> wrote:
>> 
>> I am a new fink user, (with my primary goal for installing fink of 
>> installing po4a on mac). I have followed the installation instructions 
>> accurately (to the best of my knowledge) and have attempted all 
>> troubleshooting methods suggested to me (fink selfupdate, read FAQ, etc.) to 
>> no avail.
>> 
>> However, it looks to me like the error is due to sed failing. The relevant 
>> part of the log:
>> 
>> sed -i '5iBEGIN \{ push\(\@INC, "\/sm\/lib\/perl5"\) \};' scripts/msgsearch 
>> scripts/msguntypot po4a po4a-gettextize po4a-normalize po4a-translate 
>> po4a-updatepo
>> sed: 1: "scripts/msgsearch": unterminated substitute in regular expression
>> 
>> I read the FAQ about 'sed' and I do not have an usage of 'echo' in my 
>> profile anywhere.
>> 
>> If relevant, I have attempted to install po4a from the source, but I was not 
>> successful in porting it to mac.  (Hence my installation of fink.) I don't 
>> think my previous attempts produced any harmful results, but I thought I 
>> would mention it just in case.
>> 
>> Below is the full command line output:
>> 
>> fink install po4a                                                            
>>                                                      
>> Password:
>> Information about 9944 packages read in 2 seconds.
>> The following package will be installed or updated:
>>  po4a
>> Setting runtime build-lock...
>> dpkg-deb -b /sm/src/fink.build/root-fink-buildlock-po4a-0.47-1 
>> /sm/src/fink.build
>> dpkg-deb: building package `fink-buildlock-po4a-0.47-1' in 
>> `/sm/src/fink.build/fink-buildlock-po4a-0.47-1_2017.02.06-12.55.17_darwin-x86_64.deb'.
>> Installing build-lock package...
>> /sm/bin/dpkg-lockwait -i 
>> /sm/src/fink.build/fink-buildlock-po4a-0.47-1_2017.02.06-12.55.17_darwin-x86_64.deb
>> Selecting previously deselected package fink-buildlock-po4a-0.47-1.
>> (Reading database ... 13764 files and directories currently installed.)
>> Unpacking fink-buildlock-po4a-0.47-1 (from 
>> .../fink-buildlock-po4a-0.47-1_2017.02.06-12.55.17_darwin-x86_64.deb) ...
>> Setting up fink-buildlock-po4a-0.47-1 (2017.02.06-12.55.17) ...
>> 
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.w0CLV
>> env LANG=C LC_ALL=C /sm/bin/tar  --no-same-owner --no-same-permissions -xf 
>> /sm/src/po4a_0.47.orig.tar.gz
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.QqHZm
>> sed -i '5iBEGIN \{ push\(\@INC, "\/sm\/lib\/perl5"\) \};' scripts/msgsearch 
>> scripts/msguntypot po4a po4a-gettextize po4a-normalize po4a-translate 
>> po4a-updatepo
>> sed: 1: "scripts/msgsearch": unterminated substitute in regular expression
>> ### execution of sed failed, exit code 1
>> ### execution of /tmp/fink.QqHZm failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sm/bin/dpkg-lockwait -r fink-buildlock-po4a-0.47-1
>> (Reading database ... 13765 files and directories currently installed.)
>> Removing fink-buildlock-po4a-0.47-1 ...
>> Failed: phase patching: po4a-0.47-1 failed
>> 
>> Before reporting any errors, please run "fink selfupdate" and try again.
>> 
>> ...
>> 
>> Also include the following system information:
>> Package manager version: 0.41.1
>> Distribution version: selfupdate-rsync Mon Feb  6 12:33:09 2017, 10.12, 
>> x86_64
>> Trees: local/main stable/main
>> Xcode.app: 8.2.1
>> Xcode command-line tools: 8.2.0.0.1.1480973914
>> Max. Fink build jobs:  1
>> 
>>  exit status 1
>> 
>> Thanks for any help,
>> Scott
> 
> Unfortunately, since you’re not using our default tree, you won’t be able to 
> use the binary distribution to install the package, but there is a still 
> quick workaround.  
> 
> It looks like the po4a build description is using a sed construct which works 
> with GNU sed but not with Apple’s BSD sed.  You can install fink’s sed via 
> "fink install sed” and the po4a build should work for you.
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to