Am Dienstag 14 August 2007 15:44 schrieb Mathieu Malaterre: > On 8/14/07, Tristan Carel <[EMAIL PROTECTED]> wrote: > > I will make more serious test with `advanced' options: > > DEBIAN_PACKAGE_DEPENDS, stuff like that... > > If anyone has any experience with this, he should speak now or hold > his peace forever. > > As far as I understand to automate the process I need to parse the output > of 'objdump -p | grep NEEDED' to get the list of depency. Then with dpkg > figure out which package provide those.
Yes, this will work but those search results will most likely not be unique, e.g. libc6-i686 and libc6 both provide libc.so.6 according to dpkg -S but only the latter is a proper dependency. Thus looking at the .shlibs files in /var/lib/dpkg/info is needed, also to get a properly versioned dependency. > I think this goes a little further that wath CPack was designed for, > so I was expecting the packager to run the command by hands. Highly packager and system specific, though. HS _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
