[ Mexx @ 21.01.2004. 21:07 ] @
Pozdrav,
imam jedan mali problem vezan za instalaciju drivera za ATI Radeon 9200.
Radi se o Slackwareu 9.1, ali driveri dolaze u .rpm formatu,
pa je prilikom instalacije Packagetool izbacio ovako nesto:

Code:

error: failed dependencies:
/bin/sh   is needed by fglrx-glc22-4.3.0-3.7.0
/bin/sh   is needed by fglrx-glc22-4.3.0-3.7.0
/bin/sh   is needed by fglrx-glc22-4.3.0-3.7.0    
/bin/sh   is needed by fglrx-glc22-4.3.0-3.7.0
ld-linux.so.2   is needed by fglrx-glc22-4.3.0-3.7.0
libX11.so.6   is needed by fglrx-glc22-4.3.0-3.7.0
libXext.so.6   is needed by fglrx-glc22-4.3.0-3.7.0
libc.so.6   is needed by fglrx-glc22-4.3.0-3.7.0
libdl.so.2   is needed by fglrx-glc22-4.3.0-3.7.0
libm.so.6   is needed by fglrx-glc22-4.3.0-3.7.0
libpthread.so.0   is needed by fglrx-glc22-4.3.0-3.7.0
/bin/bash   is needed by fglrx-glc22-4.3.0-3.7.0
libc.so.6(GLIBC_2.0)   is needed by fglrx-glc22-4.3.0-3.7.0
libc.so.6(GLIBC_2.1)   is needed by fglrx-glc22-4.3.0-3.7.0
libc.so.6(GLIBC_2.1.3)   is needed by fglrx-glc22-4.3.0-3.7.0
libm.so.6(GLIBC_2.0)   is needed by fglrx-glc22-4.3.0-3.7.0
libpthread.so.0(GLIBC_2.0)   is needed by fglrx-glc22-4.3.0-3.7.0


OK, skinuo sam Alien i konvertirao .rpm u .tgz, i instaliram ga tako.
Reboot, i nema nikakve promjene. OK, odradim rucno instalaciju, FireGL proradi.
Proradi mi cak i scroll na misu. Super.
No, sad mi je normalno potreban TV-out, odem u /usr/src/ATI, i tamo se nalaze:
Code:

fglrx_panel_sources.tgz
fglrx_sample_soruce.tgz


Raspakiram fglrx_panel_sources i unutra ima `Makefile`, nista lakse,
pokrenem,
medjutim dobijem Permission denied. OK, podesim permissione, krenem
opet i sad dobijam ovo:

Code:

root@localhost:/usr/src/ATI# ./Makefile
./Makefile: line 14: ifndef: command not found
./Makefile: line 16: endif: command not found
./Makefile: line 18: ifndef: command not found
./Makefile: line 20: endif: command not found
./Makefile: line 22: ifndef: command not found
./Makefile: line 24: endif: command not found
./Makefile: line 26: ifndef: command not found
./Makefile: line 28: endif: command not found
./Makefile: line 1: shell: command not found
./Makefile: line 39: PLATFORMTYPE: command not found
./Makefile: line 40: syntax error near unexpected token `$(PLATFORMTYPE),'
./Makefile: line 40: `ifeq ($(PLATFORMTYPE), ia64)'
root@localhost:/usr/src/ATI#



Dakle, trebao bih savjet kako da natjeram da mi ovo sve skupa proradi kako treba.
Tnx.
[ axez @ 21.01.2004. 22:33 ] @
Citat:
Mexx:

Code:

root@localhost:/usr/src/ATI# ./Makefile
./Makefile: line 14: ifndef: command not found
./Makefile: line 16: endif: command not found
./Makefile: line 18: ifndef: command not found
./Makefile: line 20: endif: command not found
./Makefile: line 22: ifndef: command not found
./Makefile: line 24: endif: command not found
./Makefile: line 26: ifndef: command not found
./Makefile: line 28: endif: command not found
./Makefile: line 1: shell: command not found
./Makefile: line 39: PLATFORMTYPE: command not found
./Makefile: line 40: syntax error near unexpected token `$(PLATFORMTYPE),'
./Makefile: line 40: `ifeq ($(PLATFORMTYPE), ia64)'
root@localhost:/usr/src/ATI#



Dakle, trebao bih savjet kako da natjeram da mi ovo sve skupa proradi kako treba.
Tnx.


A ko ti je rekao da pokreces sam Makefile. On sluzi samo da bi ga citala naredba make.
Znaci pokreni make naredbu u tom dir-u.



[ Mexx @ 21.01.2004. 23:07 ] @
Evo, u Windowsu sam, pa sam iskopirao onaj folder, i ovo je njegov sadrzaj... nema Make.

Code:

C:\a>dir
 Volume in drive C is C
 Volume Serial Number is CC14-0781

 Directory of C:\a

22.01.2004  00:03    <DIR>          .
22.01.2004  00:03    <DIR>          ..
11.11.2003  18:32            26.703 AdjustPage.cpp
11.11.2003  18:32             2.202 AdjustPage.h
11.11.2003  18:32             1.261 ati.xpm
11.11.2003  18:32             3.901 atilogo.xpm
11.11.2003  18:32            23.120 ATITVOExtensions.c
11.11.2003  18:32               992 ATITVOExtensions.h
11.11.2003  18:32            30.298 BoardInfo.cpp
11.11.2003  18:32             6.271 BoardInfo.h
11.11.2003  18:32             1.309 bottom.xpm
11.11.2003  18:32             1.967 buttons.xpm
11.11.2003  18:32             1.295 disable.xpm
11.11.2003  18:32             6.392 DualScreenPage.cpp
11.11.2003  18:32               803 DualScreenPage.h
11.11.2003  18:32             6.423 extutil.h
11.11.2003  18:32            16.158 FGLRXExtensions.c
11.11.2003  18:32             1.372 FGLRXExtensions.h
11.11.2003  18:32               616 FireGLControl.h
11.11.2003  18:32               555 Globals.h
11.11.2003  18:32            12.302 InfoPage.cpp
11.11.2003  18:32               369 InfoPage.h
11.11.2003  18:32             1.307 left.xpm
11.11.2003  18:32            18.333 LICENSE.GPL
11.11.2003  18:32             4.689 LICENSE.QPL
11.11.2003  18:32             1.794 main.cpp
12.11.2003  19:35            11.272 Makefile
11.11.2003  18:32             1.372 monitor1.xpm
11.11.2003  18:32             1.372 monitor2.xpm
11.11.2003  18:32             4.312 Page.cpp
11.11.2003  18:32               185 Page.h
05.11.2003  15:33            10.290 R200_extensions.h
11.11.2003  18:32             1.308 right.xpm
11.11.2003  18:32             3.845 Sheet.cpp
11.11.2003  18:32               655 Sheet.h
11.11.2003  18:32             1.309 single.xpm
11.11.2003  18:32             1.306 top.xpm
11.11.2003  18:32            10.612 TVOExt.h
11.11.2003  18:32            21.808 TVoutAdjustPage.cpp
11.11.2003  18:32             2.308 TVoutAdjustPage.h
11.11.2003  18:32           150.310 watermark.xpm
              39 File(s)        392.696 bytes
               2 Dir(s)   4.403.388.416 bytes free

C:\a>

[ caiser @ 22.01.2004. 09:24 ] @
Pa? Zasto mora biti u tom direktorijumu? I nemoj da je pokrenes sa ./make nego samo kucaj make.
[ salac @ 22.01.2004. 11:13 ] @
Ajd sad polako ponovi ceo postupak :
1. Pretvoris rpm u tgz, sa 'rpm2tgz atidrajver'
2. zatim 'installpkg atidrajver'
3. onda '/lib/modules/fglrx/build_mod/make.sh"
4. pa '/lib/modules/fglrx/make_install.sh'
5. i na kraju 'fglrxsetup' - da napravis XF86Config; prodjes kroz seriju pitanja, stavis CLONE, PAL, da prvi monitor bude CRT a drugi TV, i uneses HorSync 30-50 i Vertical Refresh 60 za TV.

Nikakvo petljanje sa fglrx_panel_sources.tgz i fglrx_sample_source.tgz nije potrebno.