On 8/8/14, 12:56 AM, Jacques Bloch wrote: > Dear Alexander, > > I also entered the command "dpkg -L fink | xargs grep "#.*perl" | grep > -v "Is a directoryā€¯ as you advocated in one of your replies on the forum > and get the following output: > > /could not determine XFree86 version number/ > /grep: /.: Is a directory/ > /grep: /sw: Is a directory/ > /grep: /sw/bin: Is a directory/ > /grep: /sw/etc: Is a directory/ > /grep: /sw/etc/dpkg: Is a directory/ > //sw/bin/apt-get-lockwait:#!/usr/bin/perl/ > //sw/bin/apt-get-lockwait:# The "right way" is to use direct access, but > compiled-C perl/ > //sw/bin/dpkg-lockwait:#!/usr/bin/perl/ > //sw/bin/dpkg-lockwait:# The "right way" is to use direct access, but > compiled-C perl/ > //sw/bin/fink:#!/usr/bin/arch -arch x86_64 /usr/bin/perl5.16 -w/ > //sw/bin/fink-instscripts:#!/usr/bin/perl/ > //sw/bin/fink-scanpackages:#!/usr/bin/perl/ > //sw/bin/fink-virtual-pkgs:#! /usr/bin/perl -w/ > //sw/bin/fink-virtual-pkgs:require 5.008_001; # perl 5.8.1 or newer > required/ > /grep: /sw/lib: Is a directory/ > /grep: /sw/lib/fink: Is a directory/ > /grep: /sw/lib/fink/update: Is a directory/ > //sw/lib/fink/postinstall.pl:#!/usr/bin/perl -w/ > //sw/lib/fink/postinstall.pl:# postinstall.pl - perl script to check and > store which OS version we/ > //sw/lib/fink/postinstall.pl:use 5.008_001; # perl 5.8.1 or newer required/ > /grep: /sw/lib/fink/update-packages/sw/lib/fink/update/ltconfig: # text > mode, it properly converts lines to CR/LF. This bash problem/ > /: Is a directory/ > /grep: /sw/lib/perl5: Is a directory/ > /grep: /sw/lib/perl5/Fink: Is a directory/ > /grep: /sw/lib/perl5/Fink/Checksum: Is a directory/ > //sw/lib/perl5/Fink/Bootstrap.pm:# unsupported version of perl/ > /grep: /sw/lib/perl5/Fink/Finally: Is a > directory/sw/lib/perl5/Fink/CLI.pm:split /,/, $str # stupid perl.el > needs this slash: // > / > / > //sw/lib/perl5/Fink/Command.pm:my @links; # no lchown for perl/ > //sw/lib/perl5/Fink/Engine.pm:# convert them to perl regex form/ > //sw/lib/perl5/Fink/Engine.pm:# properly aware of that fact. Without it, > odd things can happen/ > //sw/lib/perl5/Fink/Engine.pm:# Need this line to unconfuse emacs > perl-mode /,/ > /grep: /sw/lib/perl5/Fink/Notify: Is a > directory/sw/lib/perl5/Fink/Finally/Buildlock.pm:# this is implemented > in perl but PreRm is in bash so we gonna in-line it/ > / > / > /grep: /sw/lib/perl5/Fink/SelfUpdate/sw/lib/perl5/Fink/Package.pm:# > (because we may be running under a different perl than fink will/ > /: Is a directory/sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, > if present/ > / > / > //sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, if present/ > //sw/lib/perl5/Fink/PkgVersion.pm:# types like Type:perl/ > //sw/lib/perl5/Fink/PkgVersion.pm:# path-prefix-*wraps gcc and g++, > system-perl configure hardcodes/ > //sw/lib/perl5/Fink/PkgVersion.pm:my $archflags = 'ARCHFLAGS=""'; # > prevent Apple's perl from building fat/ > //sw/lib/perl5/Fink/PkgVersion.pm:my $archflags = 'ARCHFLAGS=""'; # > prevent Apple's perl from building fat/ > //sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, if present/ > //sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, if present/ > //sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, if present/ > //sw/lib/perl5/Fink/PkgVersion.pm:# abort) if no files (i.e., first pkg > of this Type:perl/ > //sw/lib/perl5/Fink/PkgVersion.pm:"\n\n# Updating > \%p/lib/perl5/$perlarchdir$perldirectory/perllocal.pod\n"./ > //sw/lib/perl5/Fink/PkgVersion.pm:"\n\n# Updating > \%p/lib/perl5$perldirectory/$perlarchdir/perllocal.pod\n\n"./ > //sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, if present/ > //sw/lib/perl5/Fink/PkgVersion.pm:# extraneous perl diagnostic msgs?/ > //sw/lib/perl5/Fink/PkgVersion.pm:### get_perl_dir_arch/ > //sw/lib/perl5/Fink/PkgVersion.pm:# grab perl version, if present/ > //sw/lib/perl5/Fink/PkgVersion.pm:### perlmods trying to run > ../perl$perlversion/ > //sw/lib/perl5/Fink/PkgVersion.pm:### But when $perlversion is at least > 5.10.0, we call it/ > //sw/lib/perl5/Fink/PkgVersion.pm:### FIXME: instead of hardcoded > expectation of system-perl/ > //sw/lib/perl5/Fink/PkgVersion.pm:### perl kernel, check if matches %v > of system-perl, then/ > //sw/lib/perl5/Fink/PkgVersion.pm:### $perlversion =~ /(5\.\d+)\.*/;/ > //sw/lib/perl5/Fink/PkgVersion.pm:### $perlcmd = "/usr/bin/arch -%m > perl$1";/ > //sw/lib/perl5/Fink/PkgVersion.pm:# 10.7 system-perl is 5.12.3, but the > only supplied/ > //sw/lib/perl5/Fink/PkgVersion.pm:# interpreter is /usr/bin/perl5.12 > (not perl5.12.3)./ > //sw/lib/perl5/Fink/PkgVersion.pm:# 10.8 system-perl is 5.12.4, but the > only supplied/ > //sw/lib/perl5/Fink/PkgVersion.pm:# interpreter is /usr/bin/perl5.12 > (not perl5.12.4)./ > //sw/lib/perl5/Fink/PkgVersion.pm:# 10.9 system-perl is 5.16.2, but the > only supplied/ > //sw/lib/perl5/Fink/PkgVersion.pm:# interpreter is /usr/bin/perl5.16 > (not perl5.16.2)/ > //sw/lib/perl5/Fink/Scanpackages.pm:my @system_INC = @Config{qw(privlib > archlib)}; # perl's own hard-/ > /grep: /sw/lib/perl5/Fink/Text: Is a directory/ > //sw/lib/perl5/Fink/Services.pm:# line) perl script that passes the > original back to ourselves/ > //sw/lib/perl5/Fink/Services.pm:#!/usr/bin/perl/ > //sw/lib/perl5/Fink/Services.pm:# vars. But perl doesn't implement > modern threading until 5.8 so can't/ > /grep: /sw/sbin: Is a directory/ > //sw/lib/perl5/Fink/Text/ParseWords.pm: # This pattern is > optimised to be stack conservative on older perls./ > //sw/lib/perl5/Fink/Validation.pm:# File::Temp::tempdir(CLEANUP) only > runs when whole perl program exits/ > //sw/lib/perl5/Fink/Validation.pm:# - storage of a .bundle inside > /sw/lib/perl5/darwin or /sw/lib/perl5/auto/ > //sw/lib/perl5/Fink/Validation.pm:# perl language is major.minor.teeny/ > //sw/lib/perl5/Fink/Validation.pm:# -pmXYZ is perlX.Y.Z/ > //sw/lib/perl5/Fink/Validation.pm:# -pmWXYZ is perlW.X.YZ or perlW.XY.Z/ > //sw/lib/perl5/Fink/Validation.pm:# -pmXYYZZ is perlX.YY.ZZ/ > //sw/lib/perl5/Fink/Validation.pm:# check for compiled-perl modules in > unversioned place (perl5/$arch/auto or perl5/auto)/ > //sw/lib/perl5/Fink/Validation.pm:# Check for "live" perllocal.pod file. > Normal perl-module/ > //sw/lib/perl5/Fink/VirtPackage.pm:# create dummy object for system perl/ > //sw/lib/perl5/Fink.pm:require 5.008_001; # perl 5.8.1 or newer required/ > /grep: /sw/share: Is a directory/ > //sw/sbin/fink-dpkg-status-cleanup:#!/usr/bin/perl/ > /grep: /sw/share/doc: Is a directory/ > /grep: /sw/share/doc/fink: Is a directory/ > /grep: /sw/share/fink/sw/share/doc/fink/STYLE: #!/usr/bin/perl/ > /: Is a directory/ > /grep: /sw/share/fink/images: Is a directory/ > /grep: /sw/share/man: Is a directory/ > /grep: /sw/share/man/man3: Is a directory/ > /grep: /sw/share/man/man5: Is a directory/ > /grep: /sw/share/man/man8: Is a directory/ > /grep: /sw/var: Is a directory/ > /grep: /sw/var/lib: Is a directory/ > /grep: /sw/var/lib/fink: Is a directory/ > /grep: /sw/var/lib/fink/path-prefix-10.6: Is a directory/ > /grep: /sw/var/lib/fink/path-prefix-clang: Is a directory/ > /grep: /sw/var/lib/fink/path-prefix-g++-3.3: Is a directory/ > /grep: /sw/var/lib/fink/path-prefix-g++-4.0: Is a directory/ > /grep: /sw/var/lib/fink/path-prefix-libcxx: Is a directory/ > /grep: /sw/var/run: Is a directory/ > /grep: /sw/var/run/fink: Is a directory/ > /grep: /sw/var/run/fink/buildlock: Is a directory/ > > Thanks, > Jacques > --- > Dr. Jacques C.R. Bloch > Institute for Theoretical Physics > University of Regensburg > 93040 Regensburg, Germany > tel: +49 941 943-2018 > fax: +49 941 943-3887 > email: jacques.bl...@ur.de <mailto:jacques.bl...@ur.de> > web: http://homepages.uni-regensburg.de/~blj05290 >
Without knowing what the context for that command was and/or what you're trying to accomplish with it, I can't help you. I have a vague memory of having someone use that look for a mention of a versioned perl in one of fink's scripts, and there isn't one. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel