Compilation Gimp 2.4.6 sur SUN Solaris

Fermé
fptv7514 - 4 sept. 2008 à 21:12
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 5 sept. 2008 à 18:30
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
A voir également:

9 réponses

marc[i1] Messages postés 2573 Date d'inscription vendredi 1 avril 2005 Statut Contributeur Dernière intervention 6 septembre 2008 382
4 sept. 2008 à 21:15
Salut,

tu as regardé :
./configure --help

1
marc[i1] Messages postés 2573 Date d'inscription vendredi 1 avril 2005 Statut Contributeur Dernière intervention 6 septembre 2008 382
4 sept. 2008 à 21:20
j'ai aussi trouvé un binaire pour Solaris :
http://www.blastwave.org/packages.php/gimp
1
marc[i1] Messages postés 2573 Date d'inscription vendredi 1 avril 2005 Statut Contributeur Dernière intervention 6 septembre 2008 382
5 sept. 2008 à 14:09
J'ai trouvé un binaire pour gimp 2.4.2 :
http://www.sunfreeware.com/programlistsparc10.html#gimp

Mais ces gorets ne fournissent pas le script de compilation, donc impossible de savoir si ils patchent ... ou pas !

Au fait ! tu es sur x86 ou sur Sparc ?
1
marc[i1] Messages postés 2573 Date d'inscription vendredi 1 avril 2005 Statut Contributeur Dernière intervention 6 septembre 2008 382
5 sept. 2008 à 14:25
Sinon, tu passes quoi comme option à ton ./configure ?
1

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
marc[i1] Messages postés 2573 Date d'inscription vendredi 1 avril 2005 Statut Contributeur Dernière intervention 6 septembre 2008 382
5 sept. 2008 à 14:48
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
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
5 sept. 2008 à 18:30
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
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
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
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