Bonsoir à tous !
Je poste ce sujet à propos de la compilation de l'émulateur pcsx2 depuis le tarball téléchargé sur aur: http://aur.archlinux.org/packages.php?ID=21899
Je tourne sur archlinux kernel 2.6.33 x86_64
Voici le log de la compilation:
> makepkg ~/Downloads/pcsx2-svn
==> Détermination de la dernière révision svn...
-> Version trouvée : 2186
==> Création du paquet pcsx2-svn 2186-1 x86_64 (mar. avril 13 00:09:40 CEST 2010)
==> Vérification des dépendances...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> pcsx2.sh trouvé dans le répertoire de compilation
==> Validation des fichiers sources avec md5sums...
pcsx2.sh ... Réussite
==> Extraction des sources...
==> Suppression du répertoire pkg/ existant...
==> Entre dans l'environnement fakeroot...
==> Début de la compilation...
Révision 2186 extraite.
Révision 2839 extraite.
Révision 2839 extraite.
Révision 213 extraite.
SVN checked out or timeout.
Building the Pcsx2 Suite.
Note: binaries generated are 32 bit, and require 32 bit versions of all dependencies.
---------------
Building CDVDnull
---------------
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
/usr/share/aclocal/progsreiserfs.m4:13: run info '(automake)Extending aclocal'
/usr/share/aclocal/progsreiserfs.m4:13: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking debug build... no
checking for development build...... no
checking for _aligned_malloc... no
checking for _aligned_free... no
checking gtk2+... checking for pkg-config... pkg-config
checking for main in -lstdc++... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
Configuration:
Debug build? no
Dev build? no
test -z "libCDVDnull.a" || rm -f libCDVDnull.a
test -z "libCDVDnull.so.0.8.0" || rm -f libCDVDnull.so.0.8.0
rm -f *.o
gcc -DPACKAGE_NAME=\"CDVDnull\" -DPACKAGE_TARNAME=\"cdvdnull\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"CDVDnull\ 0.6\" -DPACKAGE_BUGREPORT=\"arcum42@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"CDVDnull\" -DVERSION=\"0.6\" -DNDEBUG=1 -D__LINUX__=1 -I. -I./../../common/include -I./../../3rdparty -I./Linux -O3 -fomit-frame-pointer -fPIC -Wall -Wno-unused-value -m32 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O3 -fomit-frame-pointer -fPIC -Wall -Wno-unused-value -m32 -MT libCDVDnull_a-CDVD.o -MD -MP -MF .deps/libCDVDnull_a-CDVD.Tpo -c -o libCDVDnull_a-CDVD.o `test -f 'CDVD.cpp' || echo './'`CDVD.cpp
Dans le fichier inclus à partir de /usr/include/features.h:371,
à partir de /usr/include/stdio.h:28,
à partir de CDVD.cpp:17:
/usr/include/gnu/stubs.h:7:27: erreur: gnu/stubs-32.h : Aucun fichier ou dossier de ce type
make: *** [libCDVDnull_a-CDVD.o] Erreur 1
Error with building plugins
==> ERREUR: La compilation a échoué.
Abandon...
Comme vous pouvez le voir, il ne trouve pas stubs-32.h.
Je n'arrive pas à trouver dans quel package est-ce qu'il est présent.
J'espère que vous pourrez m'aider !
Merci d'avance
Dernière modification par gentux le mar. 13 avr. 2010, 01:25, modifié 1 fois.
> sudo pacman -S lib32-glibc ~/Downloads/pcsx2-svn
Résolution des dépendances...
Recherche des conflits possibles entre paquets...
Cibles (1): lib32-glibc-2.11.1-1.3
Taille totale des paquets (téléchargement): 0,00 Mo
Taille totale des paquets (installation): 9,06 Mo
Procéder à l'installation ? [O/n]
Analyse de l'intégrité des paquets...
(1/1) Analyse des conflits entre fichiers [#############################] 100%
(1/1) Installation de lib32-glibc [#############################] 100%
loic@chakra-laptop> makepkg ~/Downloads/pcsx2-svn
==> Détermination de la dernière révision svn...
-> Version trouvée : 2186
==> Création du paquet pcsx2-svn 2186-1 x86_64 (mar. avril 13 00:41:52 CEST 2010)
==> Vérification des dépendances...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> pcsx2.sh trouvé dans le répertoire de compilation
==> Validation des fichiers sources avec md5sums...
pcsx2.sh ... Réussite
==> Extraction des sources...
==> Suppression du répertoire pkg/ existant...
==> Entre dans l'environnement fakeroot...
==> Début de la compilation...
Révision 2186 extraite.
Révision 2839 extraite.
Révision 2839 extraite.
Révision 213 extraite.
SVN checked out or timeout.
Building the Pcsx2 Suite.
Note: binaries generated are 32 bit, and require 32 bit versions of all dependencies.
---------------
Building CDVDnull
---------------
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
/usr/share/aclocal/progsreiserfs.m4:13: run info '(automake)Extending aclocal'
/usr/share/aclocal/progsreiserfs.m4:13: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking debug build... no
checking for development build...... no
checking for _aligned_malloc... no
checking for _aligned_free... no
checking gtk2+... checking for pkg-config... pkg-config
checking for main in -lstdc++... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
Configuration:
Debug build? no
Dev build? no
test -z "libCDVDnull.a" || rm -f libCDVDnull.a
test -z "libCDVDnull.so.0.8.0" || rm -f libCDVDnull.so.0.8.0
rm -f *.o
gcc -DPACKAGE_NAME=\"CDVDnull\" -DPACKAGE_TARNAME=\"cdvdnull\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"CDVDnull\ 0.6\" -DPACKAGE_BUGREPORT=\"arcum42@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"CDVDnull\" -DVERSION=\"0.6\" -DNDEBUG=1 -D__LINUX__=1 -I. -I./../../common/include -I./../../3rdparty -I./Linux -O3 -fomit-frame-pointer -fPIC -Wall -Wno-unused-value -m32 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O3 -fomit-frame-pointer -fPIC -Wall -Wno-unused-value -m32 -MT libCDVDnull_a-CDVD.o -MD -MP -MF .deps/libCDVDnull_a-CDVD.Tpo -c -o libCDVDnull_a-CDVD.o `test -f 'CDVD.cpp' || echo './'`CDVD.cpp
Dans le fichier inclus à partir de /usr/include/features.h:371,
à partir de /usr/include/stdio.h:28,
à partir de CDVD.cpp:17:
/usr/include/gnu/stubs.h:7:27: erreur: gnu/stubs-32.h : Aucun fichier ou dossier de ce type
make: *** [libCDVDnull_a-CDVD.o] Erreur 1
Error with building plugins
==> ERREUR: La compilation a échoué.
Abandon...
J'avais déjà essayé avec mais sans effet
Merci quand même d'essayer de m'aider !
C'est normal en faite... Archlinux 64 bits n'est pas conçu pour compiler vers du 32 bits. Par contre si quelqu'un compile pour toi le programme depuis un 32 bits si tu as bien la dépendance que j'ai indiquer cela devrai bien fonctionner. https://forum.archlinux.de/?page=Postin ... hread=9218 (vive la traduction google...)
Il est conseillé de compiler depuis un chroot 32 bits