Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 26/01/2007, à 17:25

rudythered

compilation driver openchrome

Bonjour, je suis un novice et j'essaie tant bien que mal de me débrouiller avec Ubuntu qui me convient très bien - j'envisage...presque d'abandonner définitivement la "concurrence"...mais j'ai quelques soucis avec ma carte graphique ( ?) Via S3G/Unichrome pro IGP qui provoque de magnifiques vagues quand je tourne ma molette de navigation sous FF et d'autres logiciels....de plus ça rame totalement !!! sad

Nous sommes visiblement plusieurs à connaitre ce problème...avec egdy

Je me suis donc documenté dans les pages de la DOC et tenté de compiler en suivant les indications les codes sources pour récupérer les drivers du projet openchrome ( cf page de la doc) : sans succès ! J'arrive très bien jusqu'à l'étape de vérification du dossier téléchargé des codes sources, mais Make me retourne une erreur ( ss doute lié aux erreurs précédentes...suite à la commande de ckecking précédente

"checking for XORG... configure: error: Package requirements (xorg-server xproto xvmc fontsproto libdrm ) were not met:

No package 'xorg-server' found
No package 'xvmc' found
No package 'fontsproto' found
No package 'libdrm' 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 XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

root@agatha:/home/rudy/openchrome/trunk# make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt."


Quelqu'un peut-il m'aider à venir à bout de cette compil et sait-il si c'est bien un problème de driver qui est en cause ?

Merci de votre aide !!  smile:)

Hors ligne

#2 Le 01/02/2007, à 15:12

rudythered

Re : compilation driver openchrome

Personne ?:(

Rudy

Hors ligne

#3 Le 22/02/2007, à 23:56

broussaille

Re : compilation driver openchrome

Bonsoir!

Aux gentils modos : J'ai le même problème, je poste à la suite, mais le sujet 'carte graphique' est peut-etre plus approprié?

j'ai suivi le tuto :
http://doc.ubuntu-fr.org/openchrome

Lors de la dernière commande tapée, j'ai la réponse (complément de rudy)

seb@pimprenelle:~/openchrome/trunk$ ./autogen.sh --prefix=/usr/
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
/usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of AM_PATH_GTKMM
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
/usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of AM_PATH_GTKMM
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
libxvmc/Makefile.am: installing `./compile'
libxvmc/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... no
checking if RENDER is defined... no
checking if XF86DRI is defined... no
checking if DPMSExtension is defined... no
checking if XV is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto xvmc fontsproto libdrm ) were not met:

No package 'xorg-server' found
No package 'xvmc' found
No package 'fontsproto' found
No package 'libdrm' 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 XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

J'ai pas trouvé ces paquets 'manquants' avec synaptic, même si certains ont des noms vraiment très proches. Est-ce qu'il faut activer d'autres dépots?

J'ai cherché (et trouvé) des pkg-config :
./usr/bin/pkg-config
./usr/share/doc/pkg-config

dans le deuxieme, il y a un fichier readme qui me dit

To use pkg-config, do something like the following in your configure.ac

    PKG_CHECK_MODULES([GNOME], [gtk > 1.2.8 gnomeui >= 1.2.0])

or avec find, j'obtiens :

seb@pimprenelle:/$ sudo find -iname config.ac
find: AVERTISSEMENT : lien direct (hard link) est erroné pour ./proc/4237: cela est peut-être dû à une anomalie dans le pilote du système de fichiersé L'option -noleaf est automatiquement activée. Les résultats antérieurs peuvent avoir échoués à inclure des répertoires qui auraient dû être recherchés.

(le sudo c'était au cas où il y est des accès réservé ou je ne sais quoi...)

Et à vrai dire, là bah je bloque. Visiblement, le fichier utile est introuvable...

Vous avez une idée? Une piste? une bonne recette de gateau au chocoat pour me remonter le moral

Hors ligne

#4 Le 24/02/2007, à 19:45

broussaille

Re : compilation driver openchrome

La suite...

Est-ce que quelqu'un pourrait me poster son configure.ac? big_smile
--> /usr/share/libtool/libltdl/configure.ac

D'après des 'read me' et des messages d'erreurs, je doit avoir des pb dedans (mais lesquels?)
le mien

## Process this file with autoconf to create configure. -*- autoconf -*-
# Copyright 2001  Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301  USA


dnl FIXME: Is this really new enough?
AC_PREREQ(2.50)


## ------------------------ ##
## Autoconf initialisation. ##
## ------------------------ ##
AC_INIT([libltdl], [1.2], [bug-libtool@gnu.org])
AC_CONFIG_SRCDIR([ltdl.c])


## ------------------------------- ##
## Libltdl specific configuration. ##
## ------------------------------- ##

AC_CONFIG_AUX_DIR([.])

if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
  if test -f ${srcdir}/ltmain.sh; then
    # if libltdl is libtoolized, it is assumed to be stand-alone and
    # installed unless the command line overrides it (tested above)
    enable_ltdl_install=yes
  else
    AC_MSG_WARN([*** The top-level configure must select either])
    AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
    AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
  fi
fi


## ------------------------ ##
## Automake Initialisation. ##
## ------------------------ ##
AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION, -)
AM_CONFIG_HEADER([config.h:config-h.in])


## ------------------ ##
## C compiler checks. ##
## ------------------ ##
AC_PROG_CC
AC_C_CONST
AC_C_INLINE


## ----------------------- ##
## Libtool initialisation. ##
## ----------------------- ##
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_SUBST([LIBTOOL_DEPS])

AC_LIB_LTDL


## -------- ##
## Outputs. ##
## -------- ##
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

Sinon, j'ai installé le compilateur fortran, et j'ai déjà moins de messages d'erreur.
Et j'ai trouvé les paquets que je pensais ne pas avoir. Les modules sont installés, mais il doit manquer des "liens"(?) vers eux...

J'y arriverai!! ^^

Hors ligne

#5 Le 27/02/2007, à 21:23

broussaille

Re : compilation driver openchrome

Bon, j'ai été à la source : le site officiel d'openchrome.
Il y a un tuto special pour debian et ubuntu. La procédure est un peu différente de celle du wiki ubuntu.fr (c'est normal, ce tuto est tout neuf, 13/01/2007)
En installant bien tous les paquets recommandés, l'installation fonctionne. big_smile:D bonheur...
Le tuto, c'est :
http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=Compiling+the+source+code+on+Debian

Voili Voilou!

Hors ligne