[Openchrome-users] Ubuntu Dapper & [config.h] not found

Martin Juergens martin
Tue May 2 12:08:08 PDT 2006


Count Awesome schrieb:
> I just installed Dapper and checked out revision 181.  When i run 
> ./autogen.sh i get the following error(s)
>
> root at gtex:/usr/src/trunk# ./autogen.sh
> autoreconf: Entering directory `.'
> autoreconf: configure.ac <http://configure.ac>: not using Gettext
> autoreconf: running: aclocal  --output=aclocal.m4t
> autoreconf: `aclocal.m4' is created
> autoreconf: configure.ac <http://configure.ac>: tracing
> autoreconf: running: libtoolize --copy
> autoreconf: `aclocal.m4' is unchanged
> autoreconf: running: /usr/bin/autoconf
> autoreconf: running: /usr/bin/autoheader
> autoreconf: running: automake --add-missing --copy
> automake: configure.ac <http://configure.ac>: installing `./install-sh'
> automake: configure.ac <http://configure.ac>: installing `./mkinstalldirs'
> automake: configure.ac <http://configure.ac>: installing `./missing'
> configure.ac <http://configure.ac>: 30: required file 
> `./[config.h].in' not found
> unichrome/Makefile.am:33: via_drv_la_SOURCES defined both 
> conditionally and unconditionally
> unichrome/Makefile.am:26: EXTRA_DIST defined both conditionally and 
> unconditionally
> automake: unichrome/Makefile.am: warning: automake does not support 
> EXTRA_DIST being defined conditionally
> automake: libxvmc/Makefile.am: warning: automake does not support 
> libviaXvMC_la_LDFLAGS being defined conditionally
> automake: libxvmc/Makefile.am: warning: automake does not support 
> libviaXvMCPro_la_LDFLAGS being defined conditionally
> automake: libxvmc/Makefile.am: warning: automake does not support 
> EXTRA_DIST being defined conditionally
> man/Makefile.am:30: invalid unused variable name: `driverman_SOURCES'
> autoreconf: automake failed with exit status: 1
>
>
>
> The configure script gets created despite these errors:
>
> root at gtex:/usr/src/trunk# ./configure --enable-maintainer-mode
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets $(MAKE)... yes
> checking for working aclocal-1.4... found
> checking for working autoconf... found
> checking for working automake-1.4... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking whether to enable maintainer-specific portions of 
> Makefiles... yes
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for a sed that does not truncate output... /bin/sed
> checking for egrep... grep -E
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h.. . yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for g77... no
> checking for f77... no
> checking for xlf... no
> checking for frt... no
> checking for pgf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for f90... no
> checking for xlf90... no
> checking for pgf90... no
> checking for epcf90... no
> checking for f95... no
> checking for fort... no
> checking for xlf95... no
> checking for ifc... no
> checking for efc... no
> checking for pgf95... no
> checking for lf95... no
> checking for gfortran... no
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether  accepts -g... no
> checking the maximum length of command line arguments... 32768
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (/usr/bin/ld) supports shared 
> libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared 
> libraries... yes
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared 
> libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ANSI C... (cached) none needed
> checking if RANDR is defined... yes
> checking if RENDER is defined... yes
> checking if XF86DRI is defined... yes
> checking if DPMSExtension is defined... yes
> checking if XV is defined... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for XORG... yes
> checking for ANSI C header files... (cached) yes
> checking for /usr/include/xorg/dri.h... yes
> checking for /usr/include/xorg/sarea.h... yes
> checking for /usr/include/xorg/dristruct.h... yes
> checking whether to include DRI support... yes
> checking for DRI... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking whether to build XvMC driver support... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating unichrome/Makefile
> config.status: creating libxvmc/Makefile
> config.status: creating man/Makefile
> config.status: creating config.h
> config.status: executing default-1 commands
>
>
> From there I can run make and get this error:
>
> root at gtex:/usr/src/trunk# make
> make[1]: Entering directory `/usr/src/trunk'
> cd . && autoheader
> make[1]: Leaving directory `/usr/src/trunk'
> cd . \
>           && CONFIG_FILES= CONFIG_HEADERS=[config.h] \
>              /bin/sh ./config.status
> config.status: creating [config.h]
> config.status: error: cannot find input file: [config.h].in
> make: *** [stamp-h] Error 1
>
>
> At this point, here is what my directory structure looks like:
>
> root at gtex :/usr/src/trunk# ls -1
> acinclude.m4
> aclocal.m4
> autogen.sh
> autom4te.cache
> ChangeLog
> config.guess
> config.h
> config.h.in <http://config.h.in>
> config.log
> config.status
> config.sub
> configure
> configure.ac <http://configure.ac>
> install-sh
> libtool
> libxvmc
> ltmain.sh
> Makefile
> Makefile.am <http://Makefile.am>
> Makefile.in <http://Makefile.in>
> man
> missing
> mkinstalldirs
> prepare-ChangeLogSVN.pl
> stamp-h
> stamp-h.in <http://stamp-h.in>
> unichrome
>
> Any tips on solving this issue?
>
>  -Jason
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> Main page:
> http://www.openchrome.org
> Wiki:
> http://wiki.openchrome.org
> User Forum:
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
Which automake package did you install?

Martin



More information about the Openchrome-users mailing list