Hi all,
Recently began trying to use Savannah LTIB under Ubuntu 11.04, and ran into a
problem where it would always fail to detect installed host side glibc-devel
and and zlib-devel packages, due to their installation locations having been
changed in the 11.04 release.
Attached here is a proposed patch to add the new locations to the lists of
known places to look for detecting these packages.
thanks,
--FritzM.
Index: Ltibutils.pm
===================================================================
RCS file: /sources/ltib/ltib/bin/Ltibutils.pm,v
retrieving revision 1.36
diff -u -r1.36 Ltibutils.pm
--- Ltibutils.pm 30 Mar 2010 08:33:05 -0000 1.36
+++ Ltibutils.pm 7 Jul 2011 01:45:50 -0000
@@ -560,7 +560,9 @@
binutils => 'ar --version 2>/dev/null',
'gcc-c++' => 'g++ --version 2>/dev/null',
glibc => 'ldd --version 2>/dev/null',
- 'glibc-devel' => sub { -f '/usr/lib/libm.so' || -f
'/usr/lib64/libz.so'},
+ 'glibc-devel' => sub { -f '/usr/lib/libm.so'
+ || -f '/usr/lib64/libz.so'
+ || -f '/usr/lib/i386-linux-gnu/libm.so'},
'glibc-headers' => sub { -f '/usr/include/stdio.h' },
'libstdc++' => sub {
return system_nb(<<TXT) == 0;
@@ -582,7 +584,8 @@
},
zlib => sub { my @f = (glob('/usr/lib/libz.so*'),
glob('/lib/libz.so*'),
- glob('/lib64/libz.so*') ); @f > 1 ? 1 : 0
},
+ glob('/lib64/libz.so*'),
+ glob('/lib/i386-linux-gnu/libz.so*') ); @f
> 1 ? 1 : 0 },
'zlib-devel' => sub { -f '/usr/include/zlib.h' },
};
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib