[Libguestfs] Strange libtool problem

Richard W.M. Jones rjones at redhat.com
Sat Apr 9 16:11:34 UTC 2011


I'm not sure if this is related to me updating to gcc 4.6.0 or not,
but in the gnulib/lib directory I get an error which comes down to the
following libtool command running:

$ ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT c-ctype.lo -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.lo c-ctype.c
../../libtool: line 2075: c-ctype.c: command not found
libtool: compile:  gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT c-ctype.lo -MD -MP -MF .deps/c-ctype.Tpo -c ""  -fPIC -DPIC -o .libs/c-ctype.o
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.

Note how the -c option is converted to -c "".  Also the error
"c-ctype.c: command not found" which comes from a function very deep
in libtool which is called from all over the place.

I've tried recreating libtool, but to no effect.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list