Re: [Fink-devel] porting: reverse engireering a packages dependencies
On Wednesday, July 16, 2003, at 07:39 PM, David R. Morrison wrote: 3) When everything is compiled, look for all the executables and libraries your package has created, and run "otool -L" on them. This tells you which libraries they link to, and in the case of /sw/lib/..., the library will be provided by a fink package. One aspect of this that may not be obvious when moving to fink: since binary packages are stored as .debs, you can find the name of the fink package with dpkg: $ otool -L /sw/lib/ivl/ivl /sw/lib/ivl/ivl: /sw/lib/libdl.0.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0) $ dpkg --search /sw/lib/libdl.0.dylib dlcompat-shlibs: /sw/lib/libdl.0.dylib which means that you need to list dlcompat-shlibs in the dependencies section. Usually, this means that there is a corresponding -dev package for the build dependencies: dlcompat-dev, in this case. -- Charles Lepple <[EMAIL PROTECTED]> http://www.ghz.cc/charles/ --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] porting: reverse engireering a packages dependencies
Hello Mark. There are several things to do: 1) Read the installation instructions for the package: they often mention some of the requirements. 2) Watch the output of "configure" as it runs: in many cases it will mention things it is checking for and there might be a corresponding fink package. 3) When everything is compiled, look for all the executables and libraries your package has created, and run "otool -L" on them. This tells you which libraries they link to, and in the case of /sw/lib/..., the library will be provided by a fink package. HTH, Dave --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] porting: reverse engireering a packages dependencies
Hello, I'm working on creating a fink package for "gnotime", a nice time tracking tool. I have now compiled and installed it on my machine. Now I'm ready to start the process of creating a fink package. I read some packaging documentation online, but I didn't find an sufficient answer for this question: What's a good way to figure out which fink packages my hand compiled package depends on? Now that all the needed packages are on my system, if I try to install a package I've created for this, it's going to find all the files it needs rather I'm mentioned them as dependencies are not. I'm hoping there might be some way to easily analyze the 'configure' script or something to figure this out. I'm not a C programmer, just a compotent unix geek, so there may be something "obvious" about that I'm missing. Thanks! Mark (I do have access to another 'clean' Mac OS X machine to test on, but I figured there might be a better technique than trial and error. :) Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark StosbergPrincipal Developer [EMAIL PROTECTED] Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel