OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Problem with hfsplus port, fixed; report and fix request.

From: Aaron W. Hsu (noorahaaronhsu.com)
Date: Sat Aug 02 2003 - 22:10:24 CDT


I recently ran into some trouble compiling the hfsplus utilities on an
iBook late 2001 running OpenBSD 3.3 with the most current cvs updates to
the ports tree.

Problem: There is an error in the pre-config processes. "sudo make"
outputs the following.

$ sudo make
aclocal
aclocal: configure.in: 72: macro `AM_PROG_LIBTOOL' not found in library
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/misc/hfsplus (line 40 of Makefile).
*** Error code 1

Stop in /usr/ports/misc/hfsplus (line 1708
/usr/ports/infrastructure/mk/bsd.port.mk).

$

Basically, libtool is not found.

Solution: I don't know if this is installing one more program than
necessary, as I found the libtool.am files in the automake system, but I
am not familiar with its workings and therefore am unable to properly
use it. However, I did find libtool in /usr/ports/devel/libtool/. After
installing it, and remaking hfsplus, the hfsplus compiled without error.
If this was indeed the program needed, and not some file in automake,
then it appears that this is a case of a missing dependency. The
solution is easy enough, though I don't know if that is the cleanest
solution.

Any input on the problem and whether or not it would have been possible
to fix it without the installation of libtool would be most appreciated.

Aaron Hsu