Status: New
Owner: ----
New issue 88 by vipzrx: No rule to make target `term/console02.cpp', needed
by `console02-console02.o'. Stop.
http://code.google.com/p/ucimf/issues/detail?id=88
[liveuser@localhost ~]$ date
Fri Jun 1 11:24:11 CST 2012
[liveuser@localhost ~]$ svn checkout
http://ucimf.googlecode.com/svn/trunk/
ucimf-read-only
...
Checked out revision 552.
root:/sources/ucimf-read-only/libucimf# ls
AUTHORS Doxyfile Makefile.am TODO
autogen.sh font man ucimf.conf
ChangeLog include NEWS ucimf.conf.example
configure.ac libucimf.pc.in README ucimf_keyboard
COPYING
libucimf-uninstalled.pc.in sample
ucimf_start.in
display LICENSE src
root:/sources/ucimf-read-only/libucimf# ./autogen.sh
Preparing the libucimf build system...please wait
Found GNU Autoconf version 2.68
Found GNU Automake version 1.11.3
Found GNU Libtool version 2.4.2
Automatically preparing build ... done
The libucimf build system is now prepared. To build here, run:
./configure
make
root:/sources/ucimf-read-only/libucimf# ls
aclocal.m4 configure install-sh NEWS
AUTHORS
configure.ac libucimf.pc.in README
autogen.sh COPYING
libucimf-uninstalled.pc.in sample
autom4te.cache depcomp LICENSE src
ChangeLog display ltmain.sh TODO
compile Doxyfile Makefile.am ucimf.conf
config.guess font Makefile.in ucimf.conf.example
config.h.in include man ucimf_keyboard
config.sub INSTALL missing
ucimf_start.in
root:/sources/ucimf-read-only/libucimf# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... yes
checking how to run the C++ preprocessor... g++ -E
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking for lt_dlopen in -lltdl... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for freetype2... yes
checking for fontconfig... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for memmove... yes
checking for memset... yes
checking for munmap... yes
checking for setlocale... yes
checking for strstr... yes
checking for dialog... no
configure: WARNING: Couldn't find dialog. It recommanded to have 'dialog'
to execute 'ucimf_start' successfully.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libucimf-uninstalled.pc
config.status: creating libucimf.pc
config.status: creating ucimf_start
config.status: WARNING: '
ucimf_start.in' seems to ignore the --datarootdir
setting
config.status: creating src/Makefile
config.status: creating font/Makefile
config.status: creating man/Makefile
config.status: creating sample/Makefile
config.status: creating display/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root:/sources/ucimf-read-only/libucimf# make
出错:
make[2]: *** No rule to make target `term/console02.cpp', needed by
`console02-console02.o'. Stop.
make[2]: Leaving directory `/sources/ucimf-read-only/libucimf/sample'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/ucimf-read-only/libucimf'
make: *** [all] Error 2
下载安装dialog
ftp://ftp.us.debian.org/debian/pool/main/d/dialog/dialog_1.1-20120215.orig.tar.gz
root:/sources/ucimf-read-only/libucimf# dialog --version
Version: 1.1-20120215
安装完dialog之后,
root:/sources/ucimf-read-only/libucimf# make clean
root:/sources/ucimf-read-only/libucimf# make distclean
root:/sources/ucimf-read-only/libucimf# ./autogen.sh
......
root:/sources/ucimf-read-only/libucimf# ./configure
......
checking for dialog... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libucimf-uninstalled.pc
config.status: creating libucimf.pc
config.status: creating ucimf_start
config.status: WARNING: '
ucimf_start.in' seems to ignore the --datarootdir
setting
config.status: creating src/Makefile
dialog安装成功,为什么会 WARNING: '
ucimf_start.in' seems to ignore the
--datarootdir
root:/sources/ucimf-read-only/libucimf# ./configure --help
其中说:
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
还是刚才的错误:
libtool: link: g++ -g -O2 -o .libs/console01
console01-console01.o ../src/.libs/libucimf.so /usr/lib/libfontconfig.so
/usr/lib/libfreetype.so -lbz2 /usr/lib/libxml2.so -lz /usr/lib/libstdc++.so
-lm /usr/lib/libltdl.so -ldl
make[2]: *** No rule to make target `term/console02.cpp', needed by
`console02-console02.o'. Stop.
make[2]: Leaving directory `/sources/ucimf-read-only/libucimf/sample'
root:/sources/ucimf-read-only/libucimf# ./configure
--datarootdir=/usr/local/share
还是错误:
Making all in sample
make[2]: Entering directory `/sources/ucimf-read-only/libucimf/sample'
make[2]: *** No rule to make target `term/console02.cpp', needed by
`console02-console02.o'. Stop.
make[2]: Leaving directory `/sources/ucimf-read-only/libucimf/sample'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/ucimf-read-only/libucimf'
make: *** [all] Error 2