Hi Chris,
I'm not sure why that package is running libtoolize, normally this is
only for the developer IIRC and packagers should just be using the
pre-generated 'configure' etc.
Can you try this patch (remove the libtoolize line from the .spec file):
$ cvs diff -u dist/lfs-5.1/libusb/libusb.spec
Index: dist/lfs-5.1/libusb/libusb.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/libusb/libusb.spec,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 libusb.spec
--- dist/lfs-5.1/libusb/libusb.spec 5 Dec 2008 14:25:45 -0000 1.1.1.4
+++ dist/lfs-5.1/libusb/libusb.spec 14 Jun 2012 07:51:45 -0000
@@ -17,7 +17,7 @@
%Prep
%setup
-libtoolize --copy --force
+#libtoolize --copy --force
%Build
# note: I tried version 0.1.10a buy this requires a c++ compiler
Regards, Stuart
On 13/06/12 13:56, Chris Westervelt wrote:
Stuart,
I have sent a shout out to the group to try and get some feedback on
why libusb will not build for me. No one has responded to either of
my request so I was wondering if you could help me. Below is the
output I'm seeing when it builds.
./libtool: line 454: CDPATH: command not found
./libtool: line 454: CDPATH: command not found
./libtool: line 454: CDPATH: command not found
./libtool: line 454: CDPATH: command not found
./libtool: line 1132: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6b
Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
./libtool: line 1132: func_opt_split: command not found
./libtool: line 1132: func_opt_split: command not found
make[2]: *** [error.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: Version mismatch error. This is libtool 2.2.6b
Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
libtool: Version mismatch error. This is libtool 2.2.6b
Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make[2]: *** [linux.lo] Error 1
make[2]: *** [descriptors.lo] Error 1
./libtool: line 1132: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6b
Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make[2]: *** [usb.lo] Error 1
make[2]: Leaving directory
`/home/chris/Desktop/ltib-igii-34-dev/ltib-igii/ltib/rpm/BUILD/libusb-0.1.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/chris/Desktop/ltib-igii-34-dev/ltib-igii/ltib/rpm/BUILD/libusb-0.1.8'
make: *** [all] Error 2
error: Bad exit status from
/home/chris/Desktop/ltib-igii-34-dev/ltib-igii/ltib/tmp/rpm-tmp.30599
(%build)
RPM build errors:
Bad exit status from
/home/chris/Desktop/ltib-igii-34-dev/ltib-igii/ltib/tmp/rpm-tmp.30599
(%build)
Build time for libusb: 10 seconds
Failed building libusb
*Chris Westervelt*
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib