Compilation Gimp 2.4.6 sur SUN Solaris

Bonjour,

voila mon message d'erreur après le configure

checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/local/gnu/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
/usr/bin/xgettext: illegal option -- version
Usage: xgettext [-a [-x exclude-file]] [-jns][-c comment-tag]
[-d default-domain] [-m prefix] [-M suffix] [-p pathname] files ...
xgettext -h
ERROR: Cannot open file --version.
configure: error: GNU gettext tools not found; required for intltool

Il faut que j'aille chercher xgettext et msgfmt sous /usr/local/gnu/bin et non pas /usr/bin mais je sais pas comment le spécifier au configure ???

Voici mon configure actuel:

CC=gcc LDFLAGS="-L/usr/local/lib/gtk-2.12/lib -lgmodule-2.0 -lglib-2.0 -L/usr/X11R6/lib -R/usr/local/gnu/lib" CPPFLAGS="-I/usr/local/lib/gtk-2.12/include -I/usr/local/lib/gtk-2.12/include/glib-2.0 -I/usr/X11R6/include" CFLAGS="$CPPFLAGS" ./configure --prefix=/usr/local/lib/gimp-2.4.6 --disable-shared --disable-glibtest --disable-gtktest
Configuration: SUN Solaris

9 réponses

  1. Contributeur
    Salut,

    tu as regardé :
    ./configure --help

    1
    1. Contributeur
      j'ai aussi trouvé un binaire pour Solaris :
      http://www.blastwave.org/packages.php/gimp
      1
      1. Contributeur
        Sinon, tu passes quoi comme option à ton ./configure ?
        1
        1. Contributeur
          J'ai le Makefile de NetBSD sous Sparc :
          ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2008Q2/pkgsrc/graphics/gimp/Makefile

          ils ajoutent --disable-perl

          Je te conseil de te tourner plutot vers les forums spécialisés pour (open)solaris, je sais qu'avec Indiana, il y a un projet pour faire un simili de rpm/deb pour OpenSolaris, peut être y trouveras tu ton bonheur.
          Je te souhaites bon courage car moi je décroche ici :)
          1
          1. J'ai réussi en renomant les 2 fichier en .old => il va automatiquement cherche ceux dans /usr/local/gnu/bin

            => configure OK

            gmake => KO


            peut-être qu'en délètant tout, en récupérant de nouvelles sources toutes "propres" et en recompilant, cela devrait passer ...
            1
            1. J'ai déjà regardé le configure --help mais je vois pas koi utiliser !!!
              Je dois le compiler et pas utiliser un package !! dommage
              0
              1. J'ai réussi en renomant les 2 fichier en .old => il va automatiquement cherche ceux dans /usr/local/gnu/bin

                => configure OK

                gmake => KO

                voici mon erreur :

                imap_cern_parse.o: In function `cern_parse':
                imap_cern_parse.c:(.text+0x538): undefined reference to `cern_lex'
                imap_cern_parse.o: In function `cern_error':
                imap_cern_parse.c:(.text+0x13a0): undefined reference to `cern_in'
                imap_cern_parse.c:(.text+0x13a4): undefined reference to `cern_in'
                imap_cern_parse.c:(.text+0x13ac): undefined reference to `cern_restart'
                imap_cern_parse.o: In function `load_cern':
                imap_cern_parse.c:(.text+0x13e0): undefined reference to `cern_in'
                imap_cern_parse.c:(.text+0x13e4): undefined reference to `cern_in'
                imap_cern_parse.c:(.text+0x13ec): undefined reference to `cern_in'
                imap_cern_parse.c:(.text+0x13f0): undefined reference to `cern_in'
                imap_cern_parse.c:(.text+0x1420): undefined reference to `cern_in'
                imap_cern_parse.o:imap_cern_parse.c:(.text+0x1424): more undefined references to `cern_in' follow
                collect2: ld returned 1 exit status
                gmake[4]: *** [imagemap] Error 1
                gmake[4]: Leaving directory `/w/gimp_temp/gimp-2.4.6/plug-ins/imagemap'
                gmake[3]: *** [all-recursive] Error 1
                gmake[3]: Leaving directory `/w/gimp_temp/gimp-2.4.6/plug-ins/imagemap'
                gmake[2]: *** [all-recursive] Error 1
                gmake[2]: Leaving directory `/w/gimp_temp/gimp-2.4.6/plug-ins'
                gmake[1]: *** [all-recursive] Error 1
                gmake[1]: Leaving directory `/w/gimp_temp/gimp-2.4.6'
                gmake: *** [all] Error 2

                Si quelqu'un c'est quoi faire ?? Merci
                0
                1. Sparc

                  export PKG_CONFIG=/usr/local/lib/gtk-2.12/bin/pkg-config
                  export PKG_CONFIG_PATH=/usr/local/lib/gtk-2.12/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/local/lib/gimp-2.4.6/lib/pkgconfig

                  CC=gcc
                  LDFLAGS="-L/usr/local/lib/gtk-2.12/lib -lgmodule-2.0 -lglib-2.0 -L/usr/X11R6/lib -R/usr/local/gnu/lib" CPPFLAGS="-I/usr/local/lib/gtk-2.12/include -I/usr/local/lib/gtk-2.12/include/glib-2.0 -I/usr/X11R6/include" CFLAGS="$CPPFLAGS"
                  ./configure --prefix=/usr/local/lib/gimp-2.4.6 --disable-shared --disable-glibtest --disable-gtktest --disable-python
                  0