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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-05-02 19:31:49

  kamil9489 - Gość

kamil9489
Gość

Kompilacja Mesy 7.11.2

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ątku[url]http://forum.dug.net.pl/viewtopic.php?pid=221648[/url] bo wyświetla Mi się to:

Kod:

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:

Kod:

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)

 

#2  2013-05-02 19:53:37

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Kompilacja Mesy 7.11.2

Dodałeś odpowiednie repozytoria?
Te pakiety (w większości) są w squeeze-backports:

Kod:

 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[/quote]

Offline

 

#3  2013-05-02 20:10:01

  kamil9489 - Gość

kamil9489
Gość

Re: Kompilacja Mesy 7.11.2

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ę.

 

#4  2013-05-02 20:37:17

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Kompilacja Mesy 7.11.2

[quote=kamil9489]Możliwe,że brakuje Mi jakiegoś repozytorium.[/quote]
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:
[url]http://dug.net.pl/tekst/136/lista_repozytoriow_(sources_list)_dla_debiana/[/url]

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ę.[/quote]
[deb]libxext-dev[/deb], [deb]libxdamage-dev[/deb], [deb]libxfixes-dev[/deb]

Jeśli to nie te, to skorzystaj z „wędki”:
http://dug.net.pl/tekst/185/wyszukiwanie_pakietow_zawierajacych_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

 

#5  2013-05-02 20:48:49

  kamil9489 - Gość

kamil9489
Gość

Re: Kompilacja Mesy 7.11.2

Teraz przy kompilacji mam to:

Kod:

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:

Kod:

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
 

#6  2013-05-02 20:51:44

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Kompilacja Mesy 7.11.2

Zawsze mi się wydawało, że aby coś zainstalować z jakiegoś repozytorium, to trzeba je mieć dodane.

Przemyśl to ;)

Offline

 

#7  2013-05-02 20:54:50

  kamil9489 - Gość

kamil9489
Gość

Re: Kompilacja Mesy 7.11.2

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ę.

 

#8  2013-05-02 20:56:43

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Kompilacja Mesy 7.11.2

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

 

#9  2013-05-02 21:03:50

  kamil9489 - Gość

kamil9489
Gość

Re: Kompilacja Mesy 7.11.2

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.

 

#10  2013-05-02 21:05:02

  Minio - Użyszkodnik

Minio
Użyszkodnik
Skąd: Brno, Česko
Zarejestrowany: 2007-12-22
Serwis

Re: Kompilacja Mesy 7.11.2

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 [url=http://snapshot.debian.org/package/mesa/7.11.2-1/]Snapshot Debian.org[/url].

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 [tt]apt-get build-dep <pakiet>[/tt].


Spinnen Essen: [url=http://fluxboxpl.org/portal/]FluxboxPL[/url] [url=http://przepis-na-lo.pl/]Przepis na LibreOffice[/url]

Offline

 

#11  2013-05-02 21:05:50

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Kompilacja Mesy 7.11.2

[quote=kamil9489]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.[/quote]
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

 

#12  2013-05-02 21:22:20

  kamil9489 - Gość

kamil9489
Gość

Re: Kompilacja Mesy 7.11.2

Dzięki wszystkim za pomoc.Pobrałem paczki .deb ze snapshotów od @Minio ,wrzuciłem i działa :)

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.008 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00095 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.222.167.183' WHERE u.id=1
0.00088 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.222.167.183', 1728314857)
0.00048 SELECT * FROM punbb_online WHERE logged<1728314557
0.00052 SELECT topic_id FROM punbb_posts WHERE id=231540
0.00011 SELECT id FROM punbb_posts WHERE topic_id=23448 ORDER BY posted
0.00060 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=23448 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00115 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=23448 ORDER BY p.id LIMIT 0,25
0.00085 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=23448
Total query time: 0.00575 s