Pages : 1
#1 Le 09/06/2007, à 19:35
- Poseidon627
Installation ADA/GTKADA
Je souhaite installer tous les packages nécessaires à la programmaion en ADA/GTKADA, mais j'ai quelques soucis.
Lorsque je fais le make install de glib-2.12.11, voici ce que j'obtiens
poseidon59@poseidon59:~/glib-2.12.11$ make install -s
Making install in .
/usr/bin/install -c glib-gettextize /usr/local/bin/glib-gettextize
/usr/bin/install: ne peut créer le fichier régulier `/usr/local/bin/glib-gettextize': Permission non accordée
make[3]: *** [install-binSCRIPTS] Erreur 1
make[2]: *** [install-am] Erreur 2
make[1]: *** [install-recursive] Erreur 1
make: *** [install] Erreur 2
Quelqu'un peut m'expliquer ?
Dernière modification par Poseidon627 (Le 10/06/2007, à 13:10)
Hors ligne
#2 Le 09/06/2007, à 20:06
- joguit
Re : Installation ADA/GTKADA
Salut,
Le make install doit se faire en su, donc :
sudo make install -s
@+
Hors ligne
#3 Le 10/06/2007, à 12:21
- Poseidon627
Re : Installation ADA/GTKADA
Merci beaucoup.
Effectivement cela marche très bien.
Hors ligne
#4 Le 10/06/2007, à 13:47
- Poseidon627
Re : Installation ADA/GTKADA
J'ai récupéré les paquetages suivants :
Package dont l'install s'est faite sans souci
Atk-1.18.0
glib-2.12.11
mais lorsque je fais un ./configure sur certains de ces paquetages, j'ai les messages suivants :
Package Cairo-1.4.4
checking for cairo's PNG backend...
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG backend could be enabled... no
configure: error: requested PNG backend could not be enabled
Package pango-1.16.2
configure: error: *** Didn't find any of FreeType, X11, ATSUI or Win32.
*** Must have at least one backend to build Pango.
Package gtk+-2.10.11
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:
No package 'pango' found
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Package gps-4.0.2
checking for gtkada-config... no
checking for GtkAda - version >= 2.4.0... no
*** The gtkada-config script could not be found.
*** If GtkAda was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtkada-config.
configure: error: Test for GtkAda failed. See the file 'INSTALL' for help.
Ensuite, pour installer GtkAda, il faut avoir installé Gtk+, mais ce dernier nécessite que Cairo et Pango soit eux-même installés, et là, voir plus haut.
Quelqu'un a t-il une idée sur la façon dont je dois m'y prendre, parce que là, c'est un peu l'histoire du serpent qui se mord la queue !!!
Merci
++
Hors ligne
#5 Le 12/06/2007, à 17:48
- Poseidon627
Re : Installation ADA/GTKADA
Suite de mes aventures ...
On reprend les choses une par une
J'avais ce message d'erreur
checking for pkg-config... /home/poseidon59/bin/pkg-config
checking pkg-config is at least version 0.9.0... no
checking for BASE_DEPENDENCIES... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
J'ai résolu cette partie en passant un paramètre :
./configure PKG_CONFIG=/usr/local/bin/pkg-config
Résultat :
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Maintenant, on a la bonne version de pkg-config - il allait le chercher dans le mauvais répertoire
Je continue mes recherches ...
++
Hors ligne
#6 Le 12/06/2007, à 18:38
- Poseidon627
Re : Installation ADA/GTKADA
checking for cairo's PNG backend...
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG backend could be enabled... no
configure: error: requested PNG backend could not be enabled
Résolu en allant récupérer les packages libpng-1.2.18.tar.gz sur le site
http://sourceforge.net/project/showfile … ge_id=5683
et le package fontconfig-2.4.2 sur le site
http://fontconfig.org/release/?C=M;O=D
Une fois ces deux package installés, j'ai passé l'install de cairo-1.4.4 avec un
./configure PKG_CONFIG=/usr/local/bin/pkg-config
Je continue ...
++
Hors ligne
#7 Le 14/06/2007, à 00:09
- Poseidon627
Re : Installation ADA/GTKADA
...des nouvelles du front ...
Ca y est, j'ai enfin réussi à descendre les paquetages suivants :
- Tous les paquetages liés à ADA + fontconfig et fontconfig-config (cf dans Synaptic)
- pkg-config-0.20 (./configure -*-*-*- sudo make -s -*-*-*- sudo make install -s)
- atk-1.18.0 (./configure PKG_CONFIG=/usr/bin/local/pkg-config -*-*-*- sudo make -s -*-*-*- sudo make install -s)
- cairo-1.4.4 (./configure -*-*-*- sudo make -s -*-*-*- sudo make install -s)
- pango-1.16.2 (./configure PKG_CONFIG=/usr/bin/local/pkg-config -*-*-*- sudo make -s -*-*-*- sudo make install -s)
- libtiff4, libtiff4-dev, libtiff-opengl, libtiff-tools et libtiffxx0c2 (en passant pas Synaptic)
- glib-2.12.11 (./configure PKG_CONFIG=/usr/bin/local/pkg-config -*-*-*- sudo make -s -*-*-*- sudo make install -s)
- gtk+-2.10.11 (./config.guess -*-*-*- ./configure PKG_CONFIG=/usr/bin/local/pkg-config -*-*-*- sudo make -s -*-*-*- sudo make install -s)
- GtkAda-gpl-2.10.0 (./config.guess -*-*-*- ./configure PKG_CONFIG=/usr/bin/local/pkg-config -*-*-*- sudo make -s -*-*-*- sudo make install -s)
A la fin du make install de GtkAda, j'ai le message suivant :
------------------------------------------------------------------
-- GtkAda has now been installed. --
-- To be able to use the library, you may need to update your --
-- LD_LIBRARY_PATH or to run ldconfig. You may also need to --
-- update your PATH to include gtkada-config in it. --
------------------------------------------------------------------
Pour le moment, je ne vois pas bien ce que j'ai à faire - si quelqu'un a une idée ...
Voilà, c'est tout pour le moment
Dernière modification par Poseidon627 (Le 14/06/2007, à 00:10)
Hors ligne
#8 Le 14/06/2007, à 23:27
- Poseidon627
Re : Installation ADA/GTKADA
GtkAda - changement de version
J'ai téléchargé la version GtkAda-2.8.1 (GtkAda-for-gps-4.0.2.src.tgz) sur le site
http://fr.wikipedia.org/wiki/Lien_symbolique
Cette fois, je passe les commandes suivantes :
- ./configure..........................ok
- sudo make -s.....................ok
- sudo make install -s...........ok mais message (cf ci-dessous)
et sur cette dernière commande j'obtiens ceci
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
ln: création d'un lien symbolique `NONE/lib/libxmlada_unicode.so' vers `xmlada/libxmlada_unicode.so': Aucun fichier ou répertoire de ce type
ln: création d'un lien symbolique `NONE/lib/libxmlada_unicode.so.2.1' vers `xmlada/libxmlada_unicode.so.2.1': Aucun fichier ou répertoire de ce type
make: *** [unicode_inst] Erreur 1
Ensuite, je suis passé à xmlada-2.2w
- ./configure..........................ok
- sudo make -s.....................ok
- sudo make install -s...........erreur
poseidon59@poseidon59:~/xmlada-2.2w$ sudo make install -s
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
gnatmake: objects up to date.
ln: création d'un lien symbolique `NONE/lib/libxmlada_unicode.so' vers `xmlada/libxmlada_unicode.so': Aucun fichier ou répertoire de ce type
ln: création d'un lien symbolique `NONE/lib/libxmlada_unicode.so.2.1' vers `xmlada/libxmlada_unicode.so.2.1': Aucun fichier ou répertoire de ce type
make: *** [unicode_inst] Erreur 1
J'ai trouvé une doc sur les liens symboliques
http://fr.wikipedia.org/wiki/Lien_symbolique
mais je ne comprends pas ce que je dois faire.
...à suivre...
++
Hors ligne