Marek Stepanek wrote: > Daniel E. Macks wrote: >> Alexander Hansen <alexanderk.han...@gmail.com> said: >>> Marek Stepanek wrote: >>>> Hello all! >>>> >>>> >>>> I tried to "Update all" with FinkCommander -after "selfupdate rsync"- >>>> and got the following error: >>>> >>>> Can't resolve dependency "system-perl586" for package >>>> "intltool40-0.40.5-1" >>>> (no matching packages/versions found) >>>> Exiting with failure. >>>> >>>> My Perl is following: >>>> >>>> % perl -V >>>> >>>> Summary of my perl5 (revision 5 version 10 subversion 0) >>>> configuration: >>>> Platform: >>>> osname=darwin, osvers=8.11.1, archname=darwin-2level >>>> uname='darwin marek-stepaneks-computer.local 8.11.1 darwin kernel >>>> version 8.11.1: wed oct 10 18:23:28 pdt 2007; >>>> root:xnu-792.25.20~1release_i386 i386 i386 ' >>>> config_args='' >>>> hint=recommended, useposix=true, d_sigaction=define >>>> useithreads=undef, usemultiplicity=undef >>>> useperlio=define, d_sfio=undef, uselargefiles=define, >>>> usesocks=undef >>>> use64bitint=undef, use64bitall=undef, uselongdouble=undef >>>> usemymalloc=n, bincompat5005=undef >>>> Compiler: >>>> cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp >>>> -fno-strict-aliasing -pipe -I/usr/local/include', >>>> optimize='-O3', >>>> cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN >>>> -no-cpp-precomp >>>> -fno-strict-aliasing -pipe -I/usr/local/include' >>>> ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build >>>> 5367)', >>>> gccosandvers='' >>>> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 >>>> d_longlong=define, longlongsize=8, d_longdbl=define, >>>> longdblsize=16 >>>> ivtype='long', ivsize=4, nvtype='double', nvsize=8, >>>> Off_t='off_t', >>>> lseeksize=8 >>>> alignbytes=8, prototype=define >>>> Linker and Libraries: >>>> ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' >>>> -L/usr/local/lib' >>>> libpth=/usr/local/lib /usr/lib >>>> libs=-ldbm -ldl -lm -lc >>>> perllibs=-ldl -lm -lc >>>> libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, >>>> libperl=libperl.a >>>> gnulibc_version='' >>>> Dynamic Linking: >>>> dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' >>>> cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup >>>> -L/usr/local/lib' >>>> >>>> >>>> Characteristics of this binary (from libperl): >>>> Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP >>>> USE_LARGE_FILES USE_PERLIO >>>> Built under darwin >>>> Compiled at Jul 21 2008 17:38:00 >>>> %ENV: >>>> PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" >>>> @INC: >>>> /sw/lib/perl5 >>>> /sw/lib/perl5/darwin >>>> /usr/local/lib/perl5/5.10.0/darwin-2level >>>> /usr/local/lib/perl5/5.10.0 >>>> /usr/local/lib/perl5/site_perl/5.10.0/darwin-2level >>>> /usr/local/lib/perl5/site_perl/5.10.0 >>>> /usr/local/lib/perl5/site_perl/5.8.8 >>>> /usr/local/lib/perl5/site_perl >>>> >>>> MacOS 10.4.11 >>>> % fink -V >>>> Package manager version: 0.29.2 >>>> Distribution version: selfupdate-rsync Tue Jun 23 07:57:32 2009, >>>> 10.4, i386 >>>> >>>> >>>> Thank you in advance for your help! >>>> >>>> >>>> marek >>>> >>>> >>>> >>>> >>>> >>> How about "which perl"? >>> Fink expects you to have perl-5.8.6 on OS 10.4. If your perl-5.10.0 is >>> in /usr/local (which is what it looks like from your output) then you >>> ought to be able to move /usr/local out of the way temporarily while >>> you >>> update your Fink packages. >> >> ...which is generally a good idea anyway, thanks to some compiler >> issues. OTOH, fink itself should know to look specifically at >> /usr/bin/perl for system-perl (and if you change *that*, you're in for >> a world of hurt from all sorts of things, not just fink). What is >> "ls -l /usr/bin/perl*" and "/usr/bin/perl -v"? >> >> dan >> > > Hello all from fink mailing list! > > > First to your questions, Dan: > > % which perl > /usr/local/bin/perl > > % ls -l /usr/bin/perl* > 2160 -rwxr-xr-x 2 root wheel 1103676 Aug 21 2007 /usr/bin/perl* > 88 -rwxr-xr-x 1 root wheel 43444 Dec 7 2006 /usr/bin/perl5.8.6* > 88 -rwxr-xr-x 1 root wheel 43444 Dec 7 2006 > /usr/bin/perl_586_out* > 80 -rwxr-xr-x 1 root wheel 37615 Jan 12 23:09 /usr/bin/perlbug* > 40 -rwxr-xr-x 1 root wheel 17953 Dec 7 2006 /usr/bin/perlcc* > 8 -rwxr-xr-x 1 root wheel 224 Dec 7 2006 /usr/bin/perldoc* > 24 -rwxr-xr-x 1 root wheel 11667 Dec 7 2006 /usr/bin/perlivp* > > and > > % /usr/bin/perl -v > > This is perl, v5.8.8 built for darwin-2level > > Sorry for my late answer! I am still not able to "update all". First I > tried to move /usr/local out of the $PATH. > > I am on tcsh-shell and I tried with (please be indulgent, I am not > very sure with Shell-Scripting) > > [marek-stepaneks-computer:~] marekste% unset PATH = (/usr/local:$PATH) > tcsh: Badly placed ()'s. > [marek-stepaneks-computer:~] marekste% unset PATH = ( /usr/local $PATH ) > tcsh: Badly placed ()'s. > [marek-stepaneks-computer:~] marekste% unset PATH = (/usr/local $PATH) > tcsh: Badly placed ()'s. > [marek-stepaneks-computer:~] marekste% echo $PATH > /sw/bin:/sw/sbin:/sw/include:/usr/local/bin:/usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin:/usr/X11R6/bin > > [marek-stepaneks-computer:~] marekste% unset path = (/usr/local $path) > tcsh: Badly placed ()'s. > > which is not working. > > You are not here to teach me shell scripting, but I would be curious, > how to remove one path correctly out of $PATH using tcsh ... > > Than I tried the brutal way: > > % sudo mv local local.bak > > But starting FinkCommander is not possible, because it is never ending > to "update the talbe data".
> So I moved back the /usr/local.bak to /usr/local > > Now FinkCommander is starting, I make the "selfupdate-rsync". And now > I rename once again /usr/local to /usr/local.bak but I get this error: > > > Can't locate strict.pm in @INC (@INC contains: /sw/lib/perl5 > /usr/local/lib/perl5/5.8.8/darwin-2level /usr/local/lib/perl5/5.8.8 > /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level > /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) > at /sw/bin/fink line 24. > BEGIN failed--compilation aborted at /sw/bin/fink line 24. > > > Thank you all for your help and patience! > > > marek > > > Moving paths around on the basis of what Fink Commander does or does not do is relatively pointless. It's an old piece of code and isn't reliable. Use the command-tools when trying to debug. Here's what I'd do: 1) You need to make /usr/bin/perl correspond to /usr/bin/perl5.8.6, which is what Fink expects for your operating system version; i.e. rename your old "/usr/bin/perl" to "/usr/bin/perl-5.8.8" (though you'd be better off with fink's perl588), and then link or copy /usr/bin/perl5.8.6 to /usr/bin/perl (However, we aren't going to be able to offer 5.10.0 for OS 10.4,). And never change /usr/bin/perl while you use Fink. 2) You cannot currently move /usr/local, because your fink is now hardcoded to look for perl5.8.8 there. You *may* be able to use "fink rebuild fink" after applying the change in (1), but I'm not 100% sure that will work. -- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.beginners