> On Nov 19, 2014, at 2:50 PM, Post Fader <audio_eng...@me.com> wrote: > > I'm trying to build/install a package that depends upon 50+ other packages. > One of these packages when downloaded and built does not have correct LDFLAGS > for my Mac OS 10.6 system. This is a 1 line change in the makefile, and > subsequently a manual build and install works just fine. > > But I don't see a way to get fink to understand that my manual install has > happened and the dependency on this package has been satisfied, i.e., using > dpkg to de-select the file does no good (fink just says it's going to use the > de-selected package anyway, downloads it, clobbers my change, and > subsequently the build fails). > > Neither can I fink remove/purge a package which according to fink is not yet > installed. > > I finally searched under ./var to find all the "Depends:" lines, made copies > of the files, and then edited them to remove the dependency on the package I > want to skip. Now if I do > > $ fink show-deps TARGET_PKG_TO_BUILD | grep -i MANUALLY_INSTALLED_PKG > > - the manually installed package is not listed. > > Yet when I try to do "fink install TARGET_PKG_TO_BUILD" fink nonetheless > still eventually lists the manually installed package as a dependency, tries > to download it, and subsequently the build fails. I did a fink scan > packages, cleanup, but fink still insists that package I don't want it to > build has to be built. > > So i next tried patching the downloaded source tar archive to include the > Makefile change, but because this changes the checksum, after running fink > install again, even the override option (4) to use the "incomplete/damaged" > package fails. Once again, it downloads the original package, clobbers my > change, and the build subsequently fails. > > I can understand that for a "turn key" solution this stringent approach to > not allowing people to tamper/patch builds could be a good thing. I am not > as familiar with Debian package tools as I am with rpm and yum, but it seems > to me that fink should have an option to let you change dependencies on as > yet uninstalled packages including use your own custom *local* packages > and/or override dependencies as you may need to. (I have made custom spec > files, built local rpm files, and have had no trouble getting yum etc. to use > them, or change the dependencies to fit my requirements on CentOS systems, > etc). > > Thanks in advance for any suggestions.
We don’t actually use the Debian build system. Fink package descriptions operates a lot more like RPM spec files. fink recognizes _packages_, not individual files, so in general there’s no way to get it to recognize a manual install without generating a package description that points to it. Since you didn’t bother telling us what package you’re having problems with, so that we can possibly fix it in the distribution (even though 10.6 is unsupported, we’re still doing fixes), I can’t be too specific, but what you can do is: 1) Copy the package’s description file (.info) and any related .patch files from within /sw/fink/dists/stable/main/finkinfo to /sw/fink/dists/local/main/finkinfo 2) Edit /sw/fink/dists/local/main/finkinfo/<package>.info and see where best to incorporate your change. I’ll also point you to our packaging manual: http://finkproject.org/doc/packaging/index.php Also bump the Revision by .1 3) Use “fink dumpinfo -finfofile <package>” to verify that fink is pointing to your local modification. If you want more detailed help, you will need be specific about what you want to accomplish: what package, what is the LDFLAGS issue, etc... -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ 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