On Mon, Oct 11, 2010 at 07:08:28PM -0500, Dan McGee wrote:
On Mon, Oct 11, 2010 at 6:44 PM, Dave Reisner <d@falconindy.com> wrote:
One issue -- I'm not very familiar with autotools. When I build, pactree in src/util is "compiled" into a shell script. The real binary seems to be left behind src/util/.libs, and this doesn't seem to be the case for the other binaries in the directory.
No, this is exactly what is supposed to happen. This is actually libtool's doing. Otherwise, the binary would use the library from the system rather than the one built in the same source tree. Try an ldd on the generated lt-pactree binary after you run the shell script at least once and you'll see what is going on.
Really, you got lucky and looked at the one binary that is *not* a shell script (vercmp). cleanupdelta, testdb and testpkg are definitely shell scripts, along with the pacman executable itself in src/pacman/.
-Dan
Oh wow, don't I feel like a goof. Makes sense since vercmp is handled differently in the Makefile as well. And this is all taken care of in the install target. Awesome. /me chugs on... d