Skip to contentSkip to conversation

autoreconf fails

Buildroot Sven Neumann 1 participant 3 messages Apr 17, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

with the latest buildroot snapshot, all packages that use autoreconf fail to compile with this error:

Can't locate Autom4te/ChannelDefs.pm in @INC (@INC
contains: /home/sven/buildroot/build_arm/host_dir/usr/share/autoconf /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/sven/buildroot-new/build_arm/host_dir/usr/bin/autoreconf line 42. BEGIN failed--compilation aborted
at /home/sven/buildroot-new/build_arm/host_dir/usr/bin/autoreconf line
42.
make: *** [/home/sven/buildroot-new/build_arm/libusb-0.1.12/.unpacked]
Error 2

Any idea how this could be fixed?

Sven

#1 lore raw

Hi,

Quoted 6 lines · Sven Neumann

with the latest buildroot snapshot, all packages that use autoreconf fail to compile with this error:

Can't locate Autom4te/ChannelDefs.pm in @INC (@INC
contains: /home/sven/buildroot/build_arm/host_dir/usr/share/autoconf /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/sven/buildroot-new/build_arm/host_dir/usr/bin/autoreconf line 42. BEGIN failed--compilation aborted

Looks like autoconf and automake need to be enabled in the .config file in order to build packages that use host-autoconf and host-automake. Shouldn't this option be selected automagically then?

Sven

#2 lore raw

Hi,

I found that my problems were caused by some custom packages in our tree that had not been updated to use host-pkgconfig. After I fixed that and started from a fresh tree, the problems were gone. Sometimes it is really hard to determine the actual root of build problems. I apologize for the noise I made...

Sven