ming@ming-desktop:~/pkg/DirectFB$ ./configure | grep 'no found'
./configure | grep 'no found'
./configure: line 1991: AC_PROG_LIBTOOL: command not found
./configure: line 2625: PKG_PROG_PKG_CONFIG: command not found
./configure: line 2653: AC_DISABLE_STATIC: command not found
./configure: line 3895: AM_PROG_LIBTOOL: command not found
configure: WARNING:
*** no Carbon/Carbon.h found -- building without Mac OS X support.
configure: WARNING:
*** no X11/X.h found -- building without X11 support.
./configure: line 8136: syntax error near unexpected token `SDL,'
./configure: line 8136: ` PKG_CHECK_MODULES(SDL, sdl, enable_sdl=yes, enable_sdl=no,'
It seens all following macro are not found
./configure | grep 'no found'
./configure: line 1991: AC_PROG_LIBTOOL: command not found
./configure: line 2625: PKG_PROG_PKG_CONFIG: command not found
./configure: line 2653: AC_DISABLE_STATIC: command not found
./configure: line 3895: AM_PROG_LIBTOOL: command not found
configure: WARNING:
*** no Carbon/Carbon.h found -- building without Mac OS X support.
configure: WARNING:
*** no X11/X.h found -- building without X11 support.
./configure: line 8136: syntax error near unexpected token `SDL,'
./configure: line 8136: ` PKG_CHECK_MODULES(SDL, sdl, enable_sdl=yes, enable_sdl=no,'
The reason is I have 2 versions of aclocal directories (as follows) on my system, and libtool.m4 are only in one of them which is not accessed by aclocal. I did following 2 steps.
STEP 1.
/usr/share/aclocal
ming@ming-desktop:/usr/share/aclocal$ ls
autoopts.m4 intldir.m4 libtool.m4 uintmax_t.m4
bison-i18n.m4 intl.m4 lock.m4 visibility.m4
codeset.m4 intlmacosx.m4 longlong.m4 wchar_t.m4
fontutil.m4 intmax.m4 nls.m4 wint_t.m4
gettext.m4 inttypes_h.m4 pkg.m4 xorg-macros.m4
glibc21.m4 inttypes-pri.m4 po.m4 xorgversion.m4
glibc2.m4 lcmessage.m4 printf-posix.m4 xsize.m4
gnome-doc-utils.m4 lib-ld.m4 progtest.m4
iconv.m4 lib-link.m4 size_max.m4
intdiv0.m4 lib-prefix.m4 stdint_h.m4
and
/usr/share/aclocal-1.10
$ ls
amversion.m4 dmalloc.m4 lispdir.m4 obsolete.m4 runlog.m4
as.m4 gcj.m4 maintainer.m4 obsol-gt.m4 sanity.m4
auxdir.m4 header.m4 make.m4 obsol-lt.m4 strip.m4
ccstdc.m4 init.m4 minuso.m4 options.m4 substnot.m4
cond.m4 install-sh.m4 missing.m4 protos.m4 tar.m4
depend.m4 lead-dot.m4 mkdirp.m4 python.m4 upc.m4
depout.m4 lex.m4 multi.m4 regex.m4
You can see there is no libtool.m4 in /usr/share/aclocal-1.10 directory. And I believe aclocal is using this directory. So system looks like no libtool had been isntalled. But the system check libtool is miss-leading and seen available.
Even you reinstall libtool can't solve the problem. YOu need to copy libtool.m4 from /usr/share/aclocal to /usr/share/aclocal-1.10
STEP 2.
add /usr/share/aclocal and (if any) /usr/share/aclocal-1.10 as 2 line in /usr/local/share/aclocal/dirlist as follows:
/usr/local/share/aclocal$ ls
dirlist sdl.m4
ming@ming-desktop:/usr/local/share/aclocal$ cat dirlist
/usr/share/aclocal
/usr/share/aclocal-1.10
And then, run aclocal or ./autogen.sh under DirectFB source directory.
Good luck!
If you see the following message, it works.
./autogen.sh
I am testing that you have the required versions of libtool, autoconf,
and automake.
checking for libtool >= 1.3.4 ... yes (version 1.5.26)
checking for autoconf >= 2.13 ... yes (version 2.61)
checking for automake >= 1.4 ... yes (version 1.9.6)
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Running aclocal ...
Running libtoolize ...
Running autoconf ...
Running autoheader...
Running automake ...
interfaces/IDirectFBVideoProvider/Makefile.am:37: variable `libidirectfbvideoprovider_v4l_la_SOURCES' is defined but no program or
interfaces/IDirectFBVideoProvider/Makefile.am:37: library has `libidirectfbvideoprovider_v4l_la' as canonic name (possible typo)
interfaces/IDirectFBVideoProvider/Makefile.am:39: variable `libidirectfbvideoprovider_v4l_la_LDFLAGS' is defined but no program or
interfaces/IDirectFBVideoProvider/Makefile.am:39: library has `libidirectfbvideoprovider_v4l_la' as canonic name (possible typo)
interfaces/IDirectFBVideoProvider/Makefile.am:41: variable `libidirectfbvideoprovider_v4l_la_LIBADD' is defined but no program or
interfaces/IDirectFBVideoProvider/Makefile.am:41: library has `libidirectfbvideoprovider_v4l_la' as canonic name (possible typo)
Running configure --enable-maintainer-mode ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... 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 ISO C89... none needed
checking dependency style of gcc... gcc3
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 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 recognize 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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... 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... 98304
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
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for perl5... no
checking for perl... /usr/bin/perl
checking for man2html... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
configure: WARNING:
*** no Carbon/Carbon.h found -- building without Mac OS X support.
checking X11/X.h usability... no
checking X11/X.h presence... no
checking for X11/X.h... no
configure: WARNING:
*** no X11/X.h found -- building without X11 support.
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking asm/page.h usability... yes
checking asm/page.h presence... yes
checking for asm/page.h... yes
checking for pthread_attr_init in -lpthread... yes
checking whether PTHREAD_MUTEX_RECURSIVE is declared... yes
checking whether PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP is declared... yes
checking for dlopen in -ldl... yes
checking for sys/io.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking whether the binutils support MMX... yes
checking whether the binutils support SSE... yes
checking for libvncserver-config... no
configure: WARNING:
*** libvncserver-config not found -- building without VNC support. See http://libvncserver.sourceforge.net
checking for sysfs_get_mnt_path in -lsysfs... no
configure: WARNING: *** libsysfs not found -- Building without sysfs support.
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING:
*** JPEG library not found. JPEG image provider will not be built.
checking for gzsetparams in -lz... no
configure: WARNING: *** libz not found. PNG image provider will not be built.
checking for libpng-config... no
configure: WARNING:
*** libpng-config not found
checking for FREETYPE... no
configure: WARNING: *** no freetype -- FreeType font provider will not be built.
checking which gfxdrivers should be built... all
checking which inputdrivers should be built... all
checking dbox/fp.h usability... no
checking dbox/fp.h presence... no
checking for dbox/fp.h... no
configure: WARNING: *** DBox2 Remote input driver will not be built.
checking for dbox/fp.h... (cached) no
configure: WARNING: *** DreamBox Remote input driver will not be built.
checking linux/h3600_ts.h usability... no
checking linux/h3600_ts.h presence... no
checking for linux/h3600_ts.h... no
configure: WARNING: *** H3600 Touchscreen driver will not be built.
checking linux/joystick.h usability... yes
checking linux/joystick.h presence... yes
checking for linux/joystick.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for struct input_absinfo in linux/input.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking linux/sonypi.h usability... yes
checking linux/sonypi.h presence... yes
checking for linux/sonypi.h... yes
checking for TSLIB... no
configure: WARNING: *** no tslib -- tslib driver will not be built.
configure: creating ./config.status
config.status: creating directfb-config
config.status: creating directfb.pc
config.status: creating directfb-internal.pc
config.status: creating directfb.spec
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/directfb_version.h
config.status: creating lib/Makefile
config.status: creating lib/direct/Makefile
config.status: creating lib/direct/build.h
config.status: creating lib/direct/direct.pc
config.status: creating lib/fusion/Makefile
config.status: creating lib/fusion/build.h
config.status: creating lib/fusion/fusion.pc
config.status: creating lib/fusion/shm/Makefile
config.status: creating lib/voodoo/Makefile
config.status: creating lib/voodoo/build.h
config.status: creating lib/voodoo/voodoo.pc
config.status: creating patches/Makefile
config.status: creating proxy/Makefile
config.status: creating proxy/dispatcher/Makefile
config.status: creating proxy/requestor/Makefile
config.status: creating rules/Makefile
config.status: creating src/Makefile
config.status: creating src/core/Makefile
config.status: creating src/display/Makefile
config.status: creating src/gfx/Makefile
config.status: creating src/gfx/generic/Makefile
config.status: creating src/input/Makefile
config.status: creating src/media/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/windows/Makefile
config.status: creating systems/Makefile
config.status: creating systems/devmem/Makefile
config.status: creating systems/fbdev/Makefile
config.status: creating systems/x11/Makefile
config.status: creating systems/osx/Makefile
config.status: creating systems/sdl/Makefile
config.status: creating systems/vnc/Makefile
config.status: creating wm/Makefile
config.status: creating wm/default/Makefile
config.status: creating wm/unique/Makefile
config.status: creating wm/unique/classes/Makefile
config.status: creating wm/unique/data/Makefile
config.status: creating wm/unique/devices/Makefile
config.status: creating gfxdrivers/Makefile
config.status: creating gfxdrivers/ati128/Makefile
config.status: creating gfxdrivers/cle266/Makefile
config.status: creating gfxdrivers/cyber5k/Makefile
config.status: creating gfxdrivers/davinci/Makefile
config.status: creating gfxdrivers/ep9x/Makefile
config.status: creating gfxdrivers/i810/Makefile
config.status: creating gfxdrivers/i830/Makefile
config.status: creating gfxdrivers/mach64/Makefile
config.status: creating gfxdrivers/matrox/Makefile
config.status: creating gfxdrivers/neomagic/Makefile
config.status: creating gfxdrivers/nsc/Makefile
config.status: creating gfxdrivers/nsc/include/Makefile
config.status: creating gfxdrivers/nvidia/Makefile
config.status: creating gfxdrivers/omap/Makefile
config.status: creating gfxdrivers/radeon/Makefile
config.status: creating gfxdrivers/savage/Makefile
config.status: creating gfxdrivers/sh7722/Makefile
config.status: creating gfxdrivers/sis315/Makefile
config.status: creating gfxdrivers/tdfx/Makefile
config.status: creating gfxdrivers/unichrome/Makefile
config.status: creating gfxdrivers/vmware/Makefile
config.status: creating inputdrivers/Makefile
config.status: creating inputdrivers/dbox2remote/Makefile
config.status: creating inputdrivers/dreamboxremote/Makefile
config.status: creating inputdrivers/dynapro/Makefile
config.status: creating inputdrivers/elo/Makefile
config.status: creating inputdrivers/gunze/Makefile
config.status: creating inputdrivers/h3600_ts/Makefile
config.status: creating inputdrivers/joystick/Makefile
config.status: creating inputdrivers/keyboard/Makefile
config.status: creating inputdrivers/linux_input/Makefile
config.status: creating inputdrivers/lirc/Makefile
config.status: creating inputdrivers/mutouch/Makefile
config.status: creating inputdrivers/penmount/Makefile
config.status: creating inputdrivers/ps2mouse/Makefile
config.status: creating inputdrivers/serialmouse/Makefile
config.status: creating inputdrivers/sonypi/Makefile
config.status: creating inputdrivers/tslib/Makefile
config.status: creating inputdrivers/ucb1x00_ts/Makefile
config.status: creating inputdrivers/wm97xx_ts/Makefile
config.status: creating interfaces/Makefile
config.status: creating interfaces/IDirectFBFont/Makefile
config.status: creating interfaces/IDirectFBImageProvider/Makefile
config.status: creating interfaces/IDirectFBVideoProvider/Makefile
config.status: creating data/Makefile
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating docs/Makefile
config.status: creating docs/dfbg.1
config.status: creating docs/directfb-csource.1
config.status: creating docs/directfbrc.5
config.status: creating docs/html/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
Build options:
Version 1.3.0
Linux powered yes
Install prefix /usr/local
Config files in /usr/local/etc
Build shared libs yes
Build static libs no
Module directory ${exec_prefix}/lib/directfb-1.3-0
CPPFLAGS -D_REENTRANT
CFLAGS -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration
LDFLAGS
LIBS -ldl -lpthread
DYNLIB -ldl
THREADFLAGS -D_REENTRANT
THREADLIBS
Misc options:
Multi Application Core no
Fusion Kernel Device N/A
Fusion message size 1024
Voodoo (network support) no
Debug supported yes
Debug enabled no
Trace support no
MMX support yes
SSE support yes
Network support yes
Include all strings yes
Software Rendering yes
Smooth SW Scaling no
zlib compression no
sysfs support no
Building Tests no
Building Tools yes
Building System Modules:
Linux FBDev support yes
Generic /dev/mem support yes
X11 support no
OSX support no
SDL support no
VNC support no
Building Window Manager Modules:
Default yes
UniQuE no
Building Image Provider Modules:
GIF yes
JPEG no
PNG no
Building Video Provider Modules:
GIF yes
Video4Linux yes (v2: no)
Building Font Modules:
FreeType2 no,
Default font yes
Building Graphics Drivers:
3Dfx Voodoo yes
ATI Mach64 yes
ATI Rage 128 yes
ATI Radeon yes
Cirrus EP9X yes
Intel i810 yes
Intel i830 yes
Matrox yes
NeoMagic yes
NSC Geode yes
nVidia yes
Renesas SH7722 no
S3 Savage yes
SiS 315 yes
TI Davinci no
TI OMAP no
TVIA CyberPro yes
VIA CLE266 no
VIA UniChrome yes
VMWare yes
Building Input Drivers:
DBox2 Remote no
DreamBox Remote no
Dynapro Touchscreen no
ELO Touchscreen no
Gunze Touchscreen no
H3600 Touchscreen no
Joystick yes
Keyboard yes
Linux Input yes
LiRC yes
MuTouch touchscreen yes
PS/2 Mouse yes
Serial Mouse yes
SonyPI Jogdial yes
tslib no,
ucb1x00 Touchscreen no
WM97xx Touchscreen yes
PNG support is missing - many applications won't work correctly!
JPEG support is missing - many applications won't work correctly!
FreeType2 support is missing - many applications won't work correctly!
Now type 'make' to compile DirectFB.
Ming
2008年8月26日 星期二
訂閱:
意見 (Atom)