[Bug 365295] Re: build with module-assistant fails

Derek Simkowiak ubuntu at cool-st.com
Fri Jun 26 23:23:31 UTC 2009


It can't find config.sub.  It's trying to run config.sub from the
directory "./", which is /usr/src/modules/comedi/:

root at laptop:/usr/src/modules/comedi# cat config.log | grep config.sub
configure:1817: error: cannot run /bin/sh ./config.sub

It is trying to use "./" because that was the dir assigned to the
./configure var "ac_aux_dir", on ./configure line 1784.  It makes that
assignment because it finds install-sh in the dir "./".  I consider this
to be a bug in the GNU ./configure script, because testing for the
existence of "install-sh" does not imply the existence of "config.sub".
There should be a separate test for the existence of "config.sub".

Note that config.sub shows up several times on my hard drive, both in
system locations and in GNU source code tarballs.  System locations are:

/usr/share/automake-1.7/config.sub
/usr/share/libtool/config/config.sub
/usr/share/misc/config.sub

Those are all identical files (I diff'd them.)

I added config.sub to the comedi.tar.bz2 that came with the package and
retried.  Unfortunately, that failed to fix it because the file
config.sub gets deleted during the build process.  I watched the
config.sub appear when my new bz2 was unpacked, and then watched it get
deleted during the build.

I believe that it gets deleted in Makefile.in, during a call to
"am__remove_distdir", because config.sub appears in the variable
DIST_COMMON.

I haven't found an easy workaround yet.

-- 
build with module-assistant fails
https://bugs.launchpad.net/bugs/365295
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list