On 10/17/14, 12:08 PM, Mike Kilmer wrote: > > On Oct 17, 2014, at 1:39 PM, Alexander Hansen wrote: > >> On 10/17/14, 10:50 AM, Mike Kilmer wrote: >>> >>> On Oct 17, 2014, at 12:26 PM, Alexander Hansen wrote: >>> >>>> On 10/17/14, 10:06 AM, Mike Kilmer wrote: >>>>> >>>>> On Oct 17, 2014, at 11:49 AM, Alexander Hansen wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> Begin forwarded message: >>>>>> >>>>>>> *From: *fink-beginners-ow...@lists.sourceforge.net >>>>>>> <mailto:fink-beginners-ow...@lists.sourceforge.net> >>>>>>> *Subject: **Fink-beginners post from m...@madhappy.com >>>>>>> <mailto:m...@madhappy.com> requires approval* >>>>>>> *Date: *October 17, 2014 at 9:33:13 AM PDT >>>>>>> *To: *fink-beginners-ow...@lists.sourceforge.net >>>>>>> <mailto:fink-beginners-ow...@lists.sourceforge.net> >>>>>>> >>>>>>> As list administrator, your authorization is requested for the >>>>>>> following mailing list posting: >>>>>>> >>>>>>> List: Fink-beginners@lists.sourceforge.net >>>>>>> <mailto:Fink-beginners@lists.sourceforge.net> >>>>>>> From: m...@madhappy.com <mailto:m...@madhappy.com> >>>>>>> Subject: Can't exec "dpkg-deb": No such file or directory >>>>>>> Reason: Post by non-member to a members-only list >>>>>>> >>>>>>> At your convenience, visit: >>>>>>> >>>>>>> https://lists.sourceforge.net/lists/admindb/fink-beginners >>>>>>> >>>>>>> to approve or deny the request. >>>>>>> >>>>>>> *From: *Mike Kilmer <m...@madhappy.com <mailto:m...@madhappy.com>> >>>>>>> *Subject: **Can't exec "dpkg-deb": No such file or directory* >>>>>>> *Date: *October 17, 2014 at 8:23:35 AM PDT >>>>>>> *To: *fink-beginners@lists.sourceforge.net >>>>>>> <mailto:fink-beginners@lists.sourceforge.net> >>>>>>> >>>>>>> >>>>>>> Hi, and I hope everybody's doing well. >>>>>>> >>>>>>> Getting following error installing fink on snow leopard: >>>>>>> >>>>>>> Setting runtime build-lock... >>>>>>> dpkg-deb -b >>>>>>> /sw/src/fink.build/root-fink-buildlock-fink-mirrors-0.37.0.2-1 >>>>>>> /sw/src/fink.build >>>>>>> Can't exec "dpkg-deb": No such file or directory >>>>>>> ### execution of dpkg-deb failed, exit code -1 >>>>>>> Failed: can't create package fink-buildlock-fink-mirrors-0.37.0.2-1 >>>>>>> >>>>>>> Any insights would be greatly appreciated. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Michael Kilmer >>>>>>> Media Zoo >>>>>>> Music, Theater, Multimedia and Web Development >>>>>>> i...@mzoo.org <mailto:i...@mzoo.org> >>>>>>> 201-679-4168 >>>>>>> *http://www.mZoo.org <http://www.mzoo.org/>* >>>>>>> www.m <http://www.indiegogo.com/Joys>_adhappy.com <http://adhappy.com/>_ >>>>>>> *www.explorepensacolahistory.com >>>>>>> <http://www.explorepensacolahistory.com/>* >>>>>>> >>>>>>> >>>>>> >>>>>> I didn’t see this in the moderation queue, but I’ll reply anyway. >>>>>> What appears to have happened is that the build of “dpkg-bootstrap” >>>>>> didn’t work properly, and didn’t generate the dpkg-deb executable. If >>>>>> you’ve done a clean install of Fink, then you might want to check for >>>>>> that error earlier on in the build output. >>>>>> >>>>>> Alex >>>>> Thank you, Alex. >>>>> >>>>> This wasn't exactly a clean install, because first install failed (at >>>>> step 2, I think) so this is from a selfupdate. >>>> >>>> Ah. If a bootstrap fails in the middle, a selfupdate isn't going to work. >>>> You'd need to track down why it failed. >>>> >>>> I tried installing dpkg >>>>> using macports but am now getting: >>>>> >>>>> The following 4 packages will be installed or updated: >>>>> dpkg dpkg-base-files fink-mirrors tar >>>>> Setting runtime build-lock... >>>>> dpkg-deb -b >>>>> /sw/src/fink.build/root-fink-buildlock-fink-mirrors-0.37.0.2-1 >>>>> /sw/src/fink.build >>>>> dpkg-deb: building package `fink-buildlock-fink-mirrors-0.37.0.2-1' in >>>>> `/sw/src/fink.build/fink-buildlock-fink-mirrors-0.37.0.2-1_2014.10.17-10.52.01_darwin-x86_64.deb'. >>>>> Installing build-lock package... >>>>> /sw/bin/dpkg-lockwait -i >>>>> /sw/src/fink.build/fink-buildlock-fink-mirrors-0.37.0.2-1_2014.10.17-10.52.01_darwin-x86_64.deb >>>>> dpkg: error processing >>>>> /sw/src/fink.build/fink-buildlock-fink-mirrors-0.37.0.2-1_2014.10.17-10.52.01_darwin-x86_64.deb >>>>> (--install): >>>>> package architecture (darwin-x86_64) does not match system () >>>>> Errors were encountered while processing: >>>>> >>>>> /sw/src/fink.build/fink-buildlock-fink-mirrors-0.37.0.2-1_2014.10.17-10.52.01_darwin-x86_64.deb >>>>> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 >>>>> Can't set build lock for fink-mirrors (0.37.0.2-1) >>>>> >>>>> If any of the above dpkg error messages mention conflicting packages or >>>>> missing dependencies -- for example, telling you that the package >>>>> fink-buildlock-fink-mirrors-0.37.0.2-1 conflicts with something else -- >>>>> fink has probably gotten confused by trying to build many packages at >>>>> once. >>>>> Try building just this current package fink-mirrors (i.e, "fink build >>>>> fink-mirrors"). When that has completed successfully, you could retry >>>>> whatever >>>>> you did that led to the present error. >>>>> >>>>> Regardless of the cause of the lock failure, don't worry: you have not >>>>> wasted compiling time! Packages that had been completely built before this >>>>> error occurred will not have to be recompiled. >>>>> >>>>> See https://github.com/fink/fink/wiki/Buildlocks for more information. >>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-fink-mirrors-0.37.0.2-1 >/dev/null >>>>> dpkg - warning: ignoring request to remove >>>>> fink-buildlock-fink-mirrors-0.37.0.2-1 which isn't installed. >>>>> Failed: buildlock failure >>>>> >>>>> Ran a couple of tests and got: >>>>> >>>>> macbookpro1:~ mikekilmer$ printenv PATH >>>>> /usr/local/sbin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/Applications/MAMP/bin/php/php5.5.3/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/Users/mikekilmer/.rvm/gems/ruby-1.9.2-p320/bin:/Users/mikekilmer/.rvm/gems/ruby-1.9.2-p320@global/bin:/Users/mikekilmer/.rvm/rubies/ruby-1.9.2-p320/bin:/Applications/MAMP/bin/php/php5.5.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/usr/X11/bin:/Users/mikekilmer/.rvm/bin:/usr/local/Cellar/postgresql/9.3.4/bin:/usr/local/Cellar/postgresql/9.3.4/bin:/sw/bin >>>>> macbookpro1:~ mikekilmer$ fink dumpinfo -fenv fink-mirrors >>>>> Information about 12325 packages read in 2 seconds. >>>>> env: >>>>> CCACHE_DIR=/sw/var/ccache >>>>> CPPFLAGS=-I/sw/include >>>>> >>>>> HOME=/var/folders/X2/X2KGhecyG0aQhzRDohJqtU+++TI/-Tmp-/fink-build-HOME.OCtaJuzxms >>>>> INFOPATH=/sw/share/info:/sw/info:/usr/share/info >>>>> LDFLAGS=-L/sw/lib >>>>> MACOSX_DEPLOYMENT_TARGET=10.6 >>>>> MAKEFLAGS=-j2 >>>>> >>>>> MANPATH=/sw/share/man:/sw/bootstrap/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man:/sw/lib/perl5/5.10.0/man:/usr/X11R6/man >>>>> >>>>> PATH=/sw/var/lib/fink/path-prefix-10.6:/sw/bin:/sw/sbin:/sw/bootstrap/bin:/sw/bootstrap/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin >>>>> PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin >>>>> PWD=/Users/mikekilmer >>>>> SHLVL=2 >>>>> TERM=xterm-color >>>>> >>>>> macbookpro1:bin mikekilmer$ dpkg --print-installation-architecture >>>>> >>>>> macbookpro1:bin mikekilmer$ dpkg --print-architecture >>>>> >>>>> macbookpro1:bin mikekilmer$ dpkg-architecture -qDEB_HOST_ARCH >>>>> Can't locate Dpkg.pm in @INC (@INC contains: >>>>> /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level >>>>> /opt/local/lib/perl5/site_perl/5.16.3 >>>>> /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level >>>>> /opt/local/lib/perl5/vendor_perl/5.16.3 >>>>> /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level >>>>> /opt/local/lib/perl5/5.16.3 /opt/local/lib/perl5/site_perl >>>>> /opt/local/lib/perl5/vendor_perl .) at /opt/local/bin/dpkg-architecture >>>>> line 25. >>>>> BEGIN failed--compilation aborted at /opt/local/bin/dpkg-architecture >>>>> line 25. >>>>> >>>>> Which seems exists at: /opt/local/lib/perl5/vendor_perl/5/12/4/Dpkg.pm >>>>> >>>>> >>>> >>>> You can't use dpkg from macports for Fink's purposes, apparently. I >>>> didn't even know they had a package. >>>> >>>> My best suggestion if you want to get Fink working would be to try the >>>> bootstrap again and then post back with whatever error you see. I'd >>>> recommend removing your Macports dpkg if you do that, to avoid anything >>>> odd. >>>> >>>> For that matter, it's possible that your Fink bootstrap might be failing >>>> because it's finding Macports stuff (if you had that installed at the >>>> time). It wouldn't be a bad idea to try your Fink bootstrap in a shell >>>> session where Macports' environment isn't activated (or move its whole >>>> tree temporarily). The two systems can coexist at runtime, but for builds >>>> it's usually a good plan to deactivate the other system. >>>> -- >>>> Alexander Hansen, Ph.D. >>>> Fink User Liaison >>>> My package updates: http://finkakh.wordpress.com/ >>> >>> Bless you! >>> >>> Uninstalled macports and am running ./bootstrap again. Got an error when >>> trying to uninstall fink: >>> >>> macbookpro1:/ mikekilmer$ fink remove --recursive daemonic xinitrc >>> Information about 12325 packages read in 2 seconds. >>> ERROR: Couldn't call apt-get, which is needed for the recursive option. Try >>> to install the 'apt' Fink package (with e.g. 'fink install apt'). >>> Failed: Purge not performed! >>> macbookpro1:/ mikekilmer$ fink install apt >>> Information about 12325 packages read in 1 seconds. >>> The following package will be installed or updated: >>> apt >>> The following 3 additional packages will be installed: >>> apt-shlibs dpkg tar >>> Do you want to continue? [Y/n] Y >>> Setting runtime build-lock... >>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-tar-1.26-3 >>> /sw/src/fink.build >>> Can't exec "dpkg-deb": No such file or directory >>> ### execution of dpkg-deb failed, exit code -1 >>> Failed: can't create package fink-buildlock-tar-1.26-3 >>> >>> so moved to /sw2 for now. >>> >>> Should I send the whole content of the bootstrap output back? >>> >>> >> >> You're not going to be able to remove fink while dpkg is broken, so you can >> just clobber your whole /sw2. >> >> You probably don't need to send the whole boostrap output, no. Just go with >> the dpkg-bootstrap build output. >> > > Success: > > Run '. /sw/bin/init.sh' to set up this terminal session environment to use > Fink. To make the software installed by Fink available in all of your > future terminal shells, add '. /sw/bin/init.sh' to the init script '.profile' > or '.bash_profile' in your home directory. The program > /sw/bin/pathsetup.sh can help with this. Enjoy. > > I'm having a little trouble figuring out how to install python, though. Also > not sure if there is a relationship between homebrew and fink and whether > they are compatible with one another of not. > >
No relationship whatsoever. I'd say that homebrew plays less nicely with Fink or Macports because it installs stuff in /usr/local, which is hard to hide from the build tools. If you want just to install the latest available version of Python we provide for Snow Leopard (with the caveat that we don't actually support Snow Leopard any more so updates have slowed to just a few packages that individual maintainers want to support) "fink install python" should install it for you. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ 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