On 6/12/12 4:26 PM, Noah wrote: > On 6/12/12 1:17 PM, Alexander Hansen wrote: >> On 6/12/12 12:32 PM, Noah wrote: >>> Hi list, >>> >>> okay I am not sure what the best course is to fix this. but my fink >>> perl script is failing - perl is not parsing its contents. >>> >>> here is the first line: >>> $ less /sw/bin/fink >>> #!/usr/bin/arch -arch i386 /usr/bin/perl5.10.0 -w >>> >>> $ sudo fink -q -y selfupdate >>> Password: >>> /sw/bin/fink: line 23: =: command not found >>> /sw/bin/fink: line 23: $: command not found >>> /sw/bin/fink: line 24: use: command not found >>> /sw/bin/fink: line 26: use: command not found >>> /sw/bin/fink: line 29: use: command not found >>> /sw/bin/fink: line 32: require: command not found >>> /sw/bin/fink: line 33: syntax error near unexpected token `(' >>> /sw/bin/fink: line 33: `my @args_left = Fink::Config->parse_options(@ARGV);' >>> >>> /usr/bin/arch >>> -r-xr-xr-x@ 61061 root wheel 0B Sep 19 2008 /usr/bin/arch* >>> $ ls -l /usr/bin/perl5.10.0 >>> -rwxr-xr-x 1 root wheel 50K Jun 24 2009 /usr/bin/perl5.10.0* >>> >>> any clues on this? >>>
I just noticed that your "arch" is zero bytes. That's a bad sign right there. >>> Cheers >>> >>> >> >> What OS version? >> >> Do you get the same thing if you don't use "sudo fink" ? >> > > > 10.6.8 > > wglitchinthematrix 16:22:31 ~ $ which fink > fink is /sw/bin/fink > glitchinthematrix 16:22:32 ~ $ fink -q -y selfupdate > /sw/bin/fink: line 23: =: command not found > /sw/bin/fink: line 23: $: command not found > /sw/bin/fink: line 24: use: command not found > /sw/bin/fink: line 26: use: command not found > /sw/bin/fink: line 29: use: command not found > /sw/bin/fink: line 32: require: command not found > /sw/bin/fink: line 33: syntax error near unexpected token `(' > /sw/bin/fink: line 33: `my @args_left = Fink::Config->parse_options(@ARGV);' > > > perl is not being run. its parsed as a shell script > > glitchinthematrix 16:22:33 ~ $ /sw/bin/fink -q -y selfupdate > /sw/bin/fink: line 23: $: command not found > /sw/bin/fink: line 23: =: command not found > /sw/bin/fink: line 24: use: command not found > /sw/bin/fink: line 26: use: command not found > /sw/bin/fink: line 29: use: command not found > /sw/bin/fink: line 32: require: command not found > /sw/bin/fink: line 33: syntax error near unexpected token `(' > /sw/bin/fink: line 33: `my @args_left = Fink::Config->parse_options(@ARGV);' > > > > see I get rid of the arch command and at least runs. > > $ less /sw/bin/fink > #!/usr/bin/perl5.10.0 -w > > And that will break fink for 32 bit installs on 10.6. We deliberately set the script up the way it is, and it has worked for everybody else. > > glitchinthematrix 16:24:03 ~ $ sudo /sw/bin/fink -q -y selfupdate > ^CFailed: User interrupt. > glitchinthematrix 16:24:09 ~ $ sudo /sw/bin/fink -y selfupdate > rsync -az -q > rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP > /sw/fink/TIMESTAMP.tmp > dyld: Library not loaded: /opt/local/lib/libpopt.0.dylib > Referenced from: /opt/local/bin/rsync > Reason: no suitable image found. Did find: > /opt/local/lib/libpopt.0.dylib: unknown file type, first eight bytes: > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > ### execution of rsync failed, exit code 5 > Failed to fetch the timestamp file from the rsync server: > rsync://distfiles.master.finkmirrors.net/finkinfo/. Check the error > messages above. ... All of this other output indicates that you are using rsync from Macports (which is fine), and that your Macports setup is broken (which we can't help you with) The issue for your Fink setup is that you have a bad (zero-byte) "arch". My own 10.6.8 setup has: $ ls -l /usr/bin/arch -r-xr-xr-x 2 root wheel 89072 Apr 29 2011 /usr/bin/arch It's pretty much impossible to use fink on 10.6 without a working "arch". -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners