• [^] # Re: liste des prérequis ?

    Posté par (site web personnel) . En réponse au journal Cherche testeurs sous Mandrake 10.1 pour mon projet. Évalué à 2.

    bon j'ai rajouté gettext-devel-0.14.1-9mdk.i586 (libstdc++6-devel est venue avec... j'avais le choix entre
    1- libstdc++6-devel-3.4.1-3mdk.i586 : Header files and libraries for C++ development (to install)
    2- libstdc++5-devel-3.3.4-1mdk.i586 : Header files and libraries for C++ development (to install)

    j'ai autoconf2.1-2.13-21mdk et autoconf2.5-2.59-6mdk (un seul doit suffire...)
    ainsi que automake1.9-1.9-1mdk

    Les "warning: underquoted definition" c'est pas dramatique... c'est des paquets autres que le tiens à corriger

    donc je lance :
    make -f Makefile.cvs build
    This Makefile is only for the CVS repository
    This will be deleted before making the distribution

    + configure run disabled
    + check for build tools
    checking for autoconf >= 2.52 ... found 2.59, ok.
    checking for automake >= 1.6 ... found 1.9, ok.
    checking for libtoolize >= 1.4.2 ... found 1.5.6, ok.
    checking for autopoint >= 0.10.40 ... found 0.14.1, ok.
    + checking for required M4 macros...
    + cleaning stuff generated by gettext/autopoint
    + running autopoint --force...
    Copying file ABOUT-NLS
    Copying file config/config.rpath
    Creating directory intl
    Copying file intl/ChangeLog
    Copying file intl/Makefile.in
    Copying file intl/VERSION
    Copying file intl/bindtextdom.c
    Copying file intl/config.charset
    Copying file intl/dcgettext.c
    Copying file intl/dcigettext.c
    Copying file intl/dcngettext.c
    Copying file intl/dgettext.c
    Copying file intl/dngettext.c
    Copying file intl/eval-plural.h
    Copying file intl/explodename.c
    Copying file intl/finddomain.c
    Copying file intl/gettext.c
    Copying file intl/gettextP.h
    Copying file intl/gmo.h
    Copying file intl/hash-string.h
    Copying file intl/intl-compat.c
    Copying file intl/l10nflist.c
    Copying file intl/libgnuintl.h
    Copying file intl/loadinfo.h
    Copying file intl/loadmsgcat.c
    Copying file intl/localcharset.c
    Copying file intl/locale.alias
    Copying file intl/localealias.c
    Copying file intl/localename.c
    Copying file intl/ngettext.c
    Copying file intl/os2compat.c
    Copying file intl/os2compat.h
    Copying file intl/osdep.c
    Copying file intl/plural-exp.c
    Copying file intl/plural-exp.h
    Copying file intl/plural.c
    Copying file intl/plural.y
    Copying file intl/ref-add.sin
    Copying file intl/ref-del.sin
    Copying file intl/textdomain.c
    Copying file m4/codeset.m4
    Copying file m4/gettext.m4
    Copying file m4/glibc21.m4
    Copying file m4/iconv.m4
    Copying file m4/intdiv0.m4
    Copying file m4/inttypes-pri.m4
    Copying file m4/inttypes.m4
    Copying file m4/inttypes_h.m4
    Copying file m4/isc-posix.m4
    Copying file m4/lcmessage.m4
    Copying file m4/lib-ld.m4
    Copying file m4/lib-link.m4
    Copying file m4/lib-prefix.m4
    Copying file m4/progtest.m4
    Copying file m4/stdint_h.m4
    Copying file m4/uintmax_t.m4
    Copying file m4/ulonglong.m4
    Copying file config/mkinstalldirs
    Copying file po/Makefile.in.in
    Copying file po/Rules-quot
    Copying file po/boldquot.sed
    Copying file po/en@boldquot.header
    Copying file po/en@quot.header
    Copying file po/insert-header.sin
    Copying file po/quot.sed
    Copying file po/remove-potcdate.sin
    + generate po/POTFILES.in
    + running make -s -f Makefile.cvs POTFILES_in...
    + cleaning stuff generated by aclocal
    + running aclocal -I config -I m4 ...
    /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE
    run info '(automake1.9)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending%20acloca(...)
    /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP
    /usr/share/aclocal/frontline.m4:7: warning: underquoted definition of AM_PATH_FRONTLINE
    + cleaning stuff generated by libtoolize
    + running libtoolize --copy --force...
    Putting files in AC_CONFIG_AUX_DIR, `config'.
    + cleaning stuff generated by autoheader
    + running autoheader ...
    + cleaning stuff generated by autoconf
    + running autoconf ...
    + cleaning stuff generated by automake
    + running automake -a -c ...
    configure.in: installing `config/install-sh'
    configure.in: installing `config/missing'
    kernel/Linux/2.4/Makefile.am: installing `config/compile'
    kernel/Linux/2.4/Makefile.am: installing `config/depcomp'
    + skipping configure stage for package , as requested.
    + autogen.sh done.

    is now ready for configuration.

    Now run './configure' and 'make' to compile .
    ./configure \
    --enable-debug \
    --enable-kdebug \
    --enable-kdebug-malloc \
    --enable-maintainer-mode \
    --enable-compile-warnings=maximum
    checking build system type... i686-pc-linux-gnu
    checking host 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... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for perl5... /usr/bin/perl5
    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 style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    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++... 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... 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 how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.
    make: *** [config.status] Erreur 1

    ah c'est en c++ en plus ?! bon j'ai
    libgcc1-3.4.1-3mdk
    gcc-3.4.1-3mdk
    gcc-cpp-3.4.1-3mdk
    je pars à la pêche du reste ;-)