Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Chciałem sobie wrzucić na nowo postawionego Debiana Wheezy z xfce mese 7.10.3 aby sterownik openchrome obsłużył moją kartę graficzną(via unichrome pro igp 64 mb wbudowana) lecz nie mogę jej wrzucić jak kiedyś według tego wątkuhttp://forum.dug.net.pl/viewtopic.php?pid=221648 bo wyświetla Mi się to:
kamil@debian:~$ su Hasło: root@debian:/home/kamil# aptitude install libgl1-mesa-glx/squeeze-backports libglapi-mesa/squeeze-backports libglu1-mesa/squeeze-backports libgl1-mesa-dri/squeeze-backports Nie można znaleźć pakietu "libgl1-mesa-glx" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libglapi-mesa" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libglu1-mesa" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libgl1-mesa-dri" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libgl1-mesa-glx" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libglapi-mesa" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libglu1-mesa" z archiwum "squeeze-backports" Nie można znaleźć pakietu "libgl1-mesa-dri" z archiwum "squeeze-backports"
Więc postanowiłem skompilować sobie mesę 7.11.2 ze źródeł(ostatnia mesa ze wsparciem dla Mojej karty graficznej).Pobrałem paczkę z oficjalnej strony,wypakowałem i radziłem sobie z wrzucaniem zależności aż do tego momentu:
kamil@debian:~/Pobrane/MesaLib-7.11.2$ su Hasło: root@debian:/home/kamil/Pobrane/MesaLib-7.11.2# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 how to run the C preprocessor... gcc -E 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 for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for gmake... no checking for make... make checking for python2... no checking for python... python checking for makedepend... /usr/bin/makedepend checking for sed... /bin/sed checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for a BSD-compatible install... /usr/bin/install -c checking if compiling with clang... no checking whether gcc version is sufficient... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether gcc supports -fvisibility=hidden... yes checking whether to enable assembly... yes, x86 checking for gcc option to produce PIC... -fPIC checking for dlopen... no checking for dlopen in -ldl... yes checking for posix_memalign... yes checking pkg-config files for X11 are available... yes checking for X11... yes checking for GLPROTO... yes checking for LIBDRM... yes checking for DRI2PROTO... yes checking for XF86VIDMODE... no checking for DRIGL... no configure: error: Package requirements (x11 xext xdamage xfixes) were not met: No package 'xext' found No package 'xdamage' found No package 'xfixes' 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 DRIGL_CFLAGS and DRIGL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. root@debian:/home/kamil/Pobrane/MesaLib-7.11.2#
Co robić?Jest gdzieś skompilowana paczka do pobrania?
Ostatnio edytowany przez kamil9489 (2013-05-02 19:32:39)
Dodałeś odpowiednie repozytoria?
Te pakiety (w większości) są w squeeze-backports:
libgl1-mesa-glx | 7.7.1-5 | squeeze | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-glx | 7.10.3-4~bpo60+1 | squeeze-backports | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-glx | 8.0.5-4 | wheezy | amd64, armel, armhf, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-glx | 8.0.5-4 | sid | amd64, armel, armhf, hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-glx | 8.0.5-4+b1 | wheezy | s390x libgl1-mesa-glx | 8.0.5-4+b1 | sid | s390x libglapi-mesa | 8.0.5-4 | wheezy | amd64, armel, armhf, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libglapi-mesa | 8.0.5-4 | sid | amd64, armel, armhf, hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libglapi-mesa | 8.0.5-4+b1 | wheezy | s390x libglapi-mesa | 8.0.5-4+b1 | sid | s390x libglu1-mesa | 7.7.1-5 | squeeze | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libglu1-mesa | 7.10.3-4~bpo60+1 | squeeze-backports | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libglu1-mesa | 8.0.5-4 | wheezy | amd64, armel, armhf, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libglu1-mesa | 8.0.5-4 | sid | amd64, armel, armhf, hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libglu1-mesa | 8.0.5-4+b1 | wheezy | s390x libglu1-mesa | 8.0.5-4+b1 | sid | s390x libgl1-mesa-dri | 7.7.1-5 | squeeze | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-dri | 7.10.3-4~bpo60+1 | squeeze-backports | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-dri | 8.0.5-4 | wheezy | amd64, armel, armhf, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-dri | 8.0.5-4 | sid | amd64, armel, armhf, hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc libgl1-mesa-dri | 8.0.5-4+b1 | wheezy | s390x libgl1-mesa-dri | 8.0.5-4+b1 | sid | s390x
Przy kompilacji masz przecież dosyć jednoznaczny komunikat:
configure: error: Package requirements (x11 xext xdamage xfixes) were not met:
No package 'xext' found
No package 'xdamage' found
No package 'xfixes' found
Offline
Możliwe,że brakuje Mi jakiegoś repozytorium.Wiem,że jest jednoznaczny komunikat jednakże nie mogę znaleźć sposobu na wrzucenie tych 3 pakietów.O ile inne wrzuciłem lub skompilowałem o tyle tych znaleźć nie mogę.
kamil9489 napisał(-a):
Możliwe,że brakuje Mi jakiegoś repozytorium.
Nie możesz w taki sposób do tego podchodzić.
Jeżeli nie jesteś pewny repozytoriów to należy je sprawdzić. Nie ma miejsca na gdybanie:
http://dug.net.pl/tekst/136/lista_repozytoriow_(sou … _dla_debiana/
Wiem,że jest jednoznaczny komunikat jednakże nie mogę znaleźć sposobu na wrzucenie tych 3 pakietów.O ile inne wrzuciłem lub skompilowałem o tyle tych znaleźć nie mogę.
libxext-dev, libxdamage-dev, libxfixes-dev
Jeśli to nie te, to skorzystaj z „wędki”:
http://dug.net.pl/tekst/185/wyszukiwanie_pakietow_z … ch_dany_plik/
Jednak pamiętaj o tym, że instalacja pakietów z repozytorium to najczęściej lepsze rozwiązanie niż samodzielna kompilacja.
Jak sie upierasz przy kompilacji to lepiej utworzyć pakiet, którym można potem wygodniej zarządzać.
Offline
Teraz przy kompilacji mam to:
kamil@debian:~/Pobrane/MesaLib-7.11.2$ su Hasło: root@debian:/home/kamil/Pobrane/MesaLib-7.11.2# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 how to run the C preprocessor... gcc -E 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 for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for gmake... no checking for make... make checking for python2... no checking for python... python checking for makedepend... /usr/bin/makedepend checking for sed... /bin/sed checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for a BSD-compatible install... /usr/bin/install -c checking if compiling with clang... no checking whether gcc version is sufficient... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether gcc supports -fvisibility=hidden... yes checking whether to enable assembly... yes, x86 checking for gcc option to produce PIC... -fPIC checking for dlopen... no checking for dlopen in -ldl... yes checking for posix_memalign... yes checking pkg-config files for X11 are available... yes checking for X11... yes checking for GLPROTO... yes checking for LIBDRM... yes checking for DRI2PROTO... yes checking for XF86VIDMODE... no checking for DRIGL... yes checking expat.h usability... no checking expat.h presence... no checking for expat.h... no configure: error: Expat required for DRI. root@debian:/home/kamil/Pobrane/MesaLib-7.11.2# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 how to run the C preprocessor... gcc -E 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 for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for gmake... no checking for make... make checking for python2... no checking for python... python checking for makedepend... /usr/bin/makedepend checking for sed... /bin/sed checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for a BSD-compatible install... /usr/bin/install -c checking if compiling with clang... no checking whether gcc version is sufficient... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether gcc supports -fvisibility=hidden... yes checking whether to enable assembly... yes, x86 checking for gcc option to produce PIC... -fPIC checking for dlopen... no checking for dlopen in -ldl... yes checking for posix_memalign... yes checking pkg-config files for X11 are available... yes checking for X11... yes checking for GLPROTO... yes checking for LIBDRM... yes checking for DRI2PROTO... yes checking for XF86VIDMODE... no checking for DRIGL... yes checking expat.h usability... no checking expat.h presence... no checking for expat.h... no configure: error: Expat required for DRI. root@debian:/home/kamil/Pobrane/MesaLib-7.11.2#
Wrzucenie pakietu expat przez apt-get nic nie zmieniło.
Zaś repozytoria obecnie mam takie:
deb http://security.debian.org/ testing/updates main contrib non-free deb http://ftp.pl.debian.org/debian/ testing main contrib non-free deb http://www.deb-multimedia.org/ testing main non-free deb http://download.skype.com/linux/repos/debian/ stable non-free deb http://debian.tu-bs.de/project/aptosid/debian/ sid main fix.main deb http://cdn.debian.net/debian experimental main
Zawsze mi się wydawało, że aby coś zainstalować z jakiegoś repozytorium, to trzeba je mieć dodane.
Przemyśl to ;)
Offline
Właśnie wiem,że jakiegoś backporta z Squeeze Mi brakuje ale coś nie mogę sobie przypomnieć jak to się dodawało więc szukam ;) .Jednakże kompilacja mesy 7.11.2 do paczki .deb oszczędziła by Mi takich problemów w przyszłości bo znając życie to jeszcze nie jedną dystrybucje przetestuję.
Polecam zajrzenie do linków, które podałem wcześniej.
http://forum.dug.net.pl/viewtopic.php?pid=231530#p231530
i poświęcenie czasu na ich przeczytanie.
Inaczej to nie będzie miało żadnego sensu.
Offline
Ok.Udało Mi się dodać backport i cofnąć mesę do 7.10.3.Pozostaje sam problem kompilacji-co zrobić aby ją kontynuować?Pakiet expat mam w systemie i nic to nie dało.
Wróć.
Dlaczego Ty w ogóle chcesz to kompilować?
W Debianie Wheezy, którego masz, jest Mesa 8.0.5. Czy w tej wersji usunęli sterownik do Twojej karty graficznej, że chcesz zainstalować starszą wersję?
Chyba, że masz na myśli Squeeze, a nie Wheezy. W takim razie możesz spróbować zaktualizować do Wheezy. On zostanie oficjalnie wydany w ten weekend, więc jeżeli nie zrobisz tego dzisiaj, to zrobisz to w przyszłym tygodniu (osobiście bym nie czekał).
Jeżeli mimo wszystko potrzebujesz konkretnie Mesy 7.11.2 i żadnej innej, to pakiety binarne znajdziesz w Snapshot Debian.org.
Którędy byś nie poszedł, nie widzę uzasadnienia dla komplikowania sobie życia kompilacją.
Może poza sytuacją, w której obsługa Twojej karty ma status eksperymentalny i musisz podać jakąś flagę do skryptu konfiguracyjnego. Ale w takim wypadku możesz przebudować program z pakietu źródłowego. Pakiety te są śledzone przez APT, więc rozwiązanie problemu zależności to kwestia polecenia apt-get build-dep <pakiet>.
Offline
kamil9489 napisał(-a):
Ok.Udało Mi się dodać backport i cofnąć mesę do 7.10.3.Pozostaje sam problem kompilacji-co zrobić aby ją kontynuować?Pakiet expat mam w systemie i nic to nie dało.
Do kompilacji potrzebujesz pakietu -dev
W drugim linku miałeś wskazówki w jaki sposób go znajdziesz.
Bądź łaskaw tam zajrzeć.
@Minio:
Akurat potrzeba starszej wersji, która jest w repozytorium squeeze-backports. Nawet jest już zainstalowana i sama kompilacja, tak jak piszesz, nie ma większego sensu.
Offline
Dzięki wszystkim za pomoc.Pobrałem paczki .deb ze snapshotów od @Minio ,wrzuciłem i działa :)