D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Make problem



It appears that I can specify options after the ./configure command

  ./configure options:

 --enable-release    Turn on optimizations. Does not affect
            player performance. (also disables compilation of
                        debug info so its much harder to detect reason
                        for crash)
 --disable-sdl        Disables SDL code. Not recommended.
 --disable-qt        Disables Qt utilities.
 --prefix=<your-directory>
                 Where to install library. Default is /usr/local.
 --with-qt-dir=<your-directory>
 --with-qt-includes=<your-directory>
 --with-qt-libraries=<your-directory>
                        Specify these options if ./configure fails
            to find your Qt installation, if you receive
            strange Qt-related errors or if you want to
            build 'aviplay' for an alternative version of Qt.


My first problem is I cannot find where Qt is installed on my system,I have done a search of  /  and all subfolders but got nothing.
>From a previous post it seems I must have Qt for KDE to work.

Next problem is which option above do I use,the with-qt-dir,thewith-qt-includes or the with-qt-libraries.

If I have to use them all, how do I seperate each command?

Mike Tidball





Mike Tidball wrote:
Hi everyone,
I'm trying to install a package called AVIFILE so that I can install MPEGTOOLS so that I can install KINO.
Now this is the first time I have got the package as a .tgz .
I have successfully unzipped it (sorry if unzipped is a windows term) and then cd'd to the directory and typed./configure.So far all is well,then I typed make and it seems I am getting errors.
I have attached a file with my progress,could someone give me some advice as to what has gone wrong.
Thanks,
Mike Tidball

Mike@xxxxx:~> cd avifile-0.6.0-20011116/ Mike@xxxxx:~/avifile-0.6.0-20011116> ./configure loading cache ./config.cache avifile configure options: checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) c++ -E checking for a BSD compatible install... /usr/bin/install -c checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes checking for /usr/i486-suse-linux/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... (cached) no creating libtool checking for dlopen in -ldl... (cached) yes checking for nanosleep in -lposix4... (cached) no checking for socket in -lsocket... (cached) no checking for gethostbyname in -lnsl... (cached) yes checking for kstat_open in -lkstat... (cached) no checking for lseek64 in -lc... (cached) yes checking for pthreads... -lpthread yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/ioccom.h... (cached) no checking for sys/time.h... (cached) yes checking for valid sysinfo struct... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking whether time.h and sys/time.h may both be included... (cached) yes checking whether gcc needs -traditional... (cached) no checking for 8-bit clean memcmp... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for ftime... (cached) yes checking for gettimeofday... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for scandir... (cached) yes checking for nanosleep... (cached) yes checking if gcc supports -finline-limit-200 flag(s)... yes checking for OSS audio support... (cached) yes checking for _oss_ioctl in -lossaudio... (cached) no checking for Sun audio support... (cached) no checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for Qt... (cached) no *** WARNING: Could not find usable Qt on your system! If it _is_ installed, *** delete ./config.cache and re-run ./configure, specifying path to *** Qt headers and libraries in configure options. Also possible reason *** could be you are trying to link Qt libraries compiled with different *** compiler - Qt libraries compiled with different compiler then the one *** used right now can't be linked TOGETHER - see ./config.log for the reason *** Switching off compilation of Qt utilities. checking for jpeglib.h... (cached) yes checking for jpeg_start_compress in -ljpeg... (cached) yes checking if malloc debugging is wanted... no checking C compiler version... gcc 3.3 checking for XF86DGAQueryExtension in -lXxf86dga... (cached) yes checking for XF86VidModeSwitchMode in -lXxf86vm... (cached) yes checking for DPMSQueryExtension in -lXdpms... (cached) no checking for XGetExtensionVersion in -lXi... (cached) yes checking for /usr/X11R6/include/X11/Xft/Xft.h... (cached) no checking for X11/extensions/Xv.h... (cached) yes checking for /usr/X11R6/include/X11/extensions/dpms.h... (cached) yes checking whether system declares DPMS functions in X11/extensions/dpms.h... (cached) yes checking for sdl-config... no checking for sdl11-config... no checking for sdl-config... (cached) no checking for SDL - version >= 1.1.3... no *** The sdl-config script installed by SDL could not be found *** If SDL was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the SDL_CONFIG environment variable to the *** full path to sdl-config. configure: warning: Could not find SDL >= 1.1.3! checking for lame_decode_init in -lmp3lame... (cached) no checking for Ogg... no *** Could not run Ogg test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means Ogg was incorrectly installed *** or that you have moved Ogg since it was installed. In the latter case, you *** may want to edit the ogg-config script: checking for mad_stream_init in -lmad... (cached) no checking for decore in -ldivxdecore... (cached) no checking for encore in -ldivxencore... (cached) no checking for decore.h... (cached) no checking for encore2.h... (cached) no configure: warning: --- For optimal DivX playback performance you should install latest --- divx4linux package to use divx4 plugin - to get more information --- take a look at: http://avifile.sourceforge.net, --- http://www.projectmayo.com, http://www.divx.com ) checking whether to build ac3 decoder module... no === configuring ffmpeg === Install prefix NONE C compiler gcc CPU x86 MMX enabled yes gprof enabled no grab enabled yes Creating config.mak and config.h head: VERSION: No such file or directory checking for configure in libmmxnow ...... checking whether to use --tag=CXX with libtool... no updating cache ./config.cache creating ./config.status creating plugins/Makefile creating plugins/libwin32/loader/Makefile creating plugins/libwin32/loader/wine/Makefile creating plugins/libwin32/videocodec/Makefile creating plugins/libwin32/Makefile creating plugins/libwin32/DirectShow/Makefile creating plugins/libwin32/audiodec/Makefile creating plugins/libac3pass/Makefile creating plugins/libaudiodec/Makefile creating plugins/libmpeg_audiodec/Makefile creating plugins/libdivx4/Makefile creating plugins/libffmpeg/Makefile creating plugins/libffmpeg/libavcodec/Makefile creating plugins/libffmpeg/libavcodec/i386/Makefile creating plugins/libffmpeg/libavcodec/libac3/Makefile creating plugins/libmp3lame_audioenc/Makefile creating plugins/libmp3lame_audioenc/lame3.70/Makefile creating plugins/libmp3lamebin_audioenc/Makefile creating plugins/libmad/Makefile creating plugins/libvorbis/Makefile creating lib/Makefile creating lib/aviread/Makefile creating lib/aviwrite/Makefile creating lib/aviplay/Makefile creating lib/common/Makefile creating lib/subtitle/Makefile creating lib/video/Makefile creating player/Makefile creating doc/Makefile creating debian/Makefile creating include/Makefile creating samples/Makefile creating samples/misc/Makefile creating samples/mjpeg_plugin/Makefile creating samples/qtrecompress/Makefile creating samples/qtvidcap/Makefile creating samples/artsplug/Makefile creating bin/Makefile creating drivers/Makefile creating libavqt/Makefile creating Makefile creating avifile-config creating avifile.spec creating include/config.h include/config.h is unchanged configuring in plugins/libmad/libmad running /bin/sh ./configure --cache-file=../../.././config.cache --srcdir=. loading cache ../../.././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking host system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes checking for /usr/i486-suse-linux/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for pid_t... (cached) yes checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking whether to optimize for speed or for accuracy... default checking for architecture-specific fixed-point math routines... INTEL checking for ISO/IEC interpretation... best accepted practices checking whether to enable profiling... no checking whether to enable debugging... default checking whether to enable experimental code... no updating cache ../../.././config.cache creating ./config.status creating Makefile creating config.h config.h is unchanged configuring in libmmxnow running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. loading cache .././config.cache libmmxnow configure options: --cache-file=.././config.cache --srcdir=. checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes checking for /usr/i486-suse-linux/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... (cached) no creating libtool checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for 8-bit clean memcmp... (cached) yes updating cache .././config.cache creating ./config.status creating Makefile creating doc/Makefile creating include/Makefile creating src/Makefile creating src/generic/Makefile creating src/generic/video/Makefile creating src/i386/Makefile creating src/i386/video/Makefile creating test/Makefile creating mmxnow-config creating include/config.h include/config.h is unchanged Configuration: Compiler C: gcc -g -O2 -march=i586 -ffast-math -pipe Compiler C++: c++ -g -O2 -march=i586 -ffast-math -pipe Install path: /usr/local Qt: no Sdl: no Xft: no Oss audio: yes Sun audio: no Mga_vid: no Plugins: ac3passthrough yes (with SBLive only) divx4 no (DivX :-), OpenDivX, DivX4) ffmpeg yes (DivX :-), OpenDivX, MJPEG, AC3) os motion jpeg yes (MJPEG) win32 yes (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...) MAD yes (MPEG Layer I/II/III) ogg/vorbis no lame runtime no Mike@xxxxx:~/avifile-0.6.0-20011116> make Making all in . make[1]: Entering directory `/home/Mike/avifile-0.6.0-20011116' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/Mike/avifile-0.6.0-20011116' Making all in libmmxnow make[1]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow' Making all in doc make[2]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/doc' Making all in include make[2]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/include' make all-am make[3]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/include' make[3]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/include' make[2]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/include' Making all in src make[2]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src' Making all in generic make[3]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/generic' Making all in video make[4]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/generic/video' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/generic/video' make[4]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/generic' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/generic' make[3]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/generic' Making all in i386 make[3]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/i386' Making all in video make[4]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/i386/video' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/i386/video' make[4]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/i386' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/i386' make[3]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src/i386' make[3]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src' make[2]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/src' Making all in test make[2]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/test' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow/test' make[2]: Entering directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow' make[1]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/libmmxnow' Making all in lib make[1]: Entering directory `/home/Mike/avifile-0.6.0-20011116/lib' Making all in aviplay make[2]: Entering directory `/home/Mike/avifile-0.6.0-20011116/lib/aviplay' source='aviplay.cpp' object='aviplay.lo' libtool=yes \ depfile='.deps/aviplay.Plo' tmpdepfile='.deps/aviplay.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -Wall -Wno-unused -I../subtitles -g -O2 -march=i586 -ffast-math -pipe -c -o aviplay.lo `test -f aviplay.cpp || echo './'`aviplay.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -Wall -Wno-unused -I../subtitles -g -O2 -march=i586 -ffast-math -pipe -c aviplay.cpp -MT aviplay.lo -MD -MP -MF .deps/aviplay.TPlo -fPIC -DPIC -o aviplay.lo In file included from ../../include/infotypes.h:5, from ../../include/aviplay.h:11, from aviplay_impl.h:4, from aviplay.cpp:8: ../../include/avm_stl.h:165: error: default argument given for parameter 1 of ` avm::vector<Type>::vector(int = 0)' ../../include/avm_stl.h:74: error: after previous specification in ` avm::vector<Type>::vector(int = 0)' aviplay.cpp: In function `IAviPlayer* CreateAviPlayer(const char*, int, const char*, const char*, const char*)': aviplay.cpp:944: error: default argument given for parameter 4 of `IAviPlayer* CreateAviPlayer(const char*, int, const char*, const char* = 0, const char* = 0)' ../../include/aviplay.h:237: error: after previous specification in ` IAviPlayer* CreateAviPlayer(const char*, int, const char* = 0, const char* = 0, const char* = 0)' aviplay.cpp:944: error: default argument given for parameter 5 of `IAviPlayer* CreateAviPlayer(const char*, int, const char*, const char* = 0, const char* = 0)' ../../include/aviplay.h:237: error: after previous specification in ` IAviPlayer* CreateAviPlayer(const char*, int, const char* = 0, const char* = 0, const char* = 0)' make[2]: *** [aviplay.lo] Error 1 make[2]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/lib/aviplay' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Mike/avifile-0.6.0-20011116/lib' make: *** [all-recursive] Error 1 Mike@xxxxx:~/avifile-0.6.0-20011116>

-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.
Lynx friendly