Nowe posty

Autor Wątek: "Unable to determine the NVIDIA kernel module filename"  (Przeczytany 1436 razy)

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #15 dnia: 2006-01-24, 21:57:19 »
2006-01-24 21:27:36 Gordon Gedeon napisał:
 >  >
 >  > Ok. przebrnąłem przez C compilera, ale znów kłopot:
 >  > ...
 >  > checking for glib-config... no
 >  > checking for GLIB - version >= 1.2.2... no
 >  > *** The glib-config script installed by GLIB could not be found
 >  > *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
 >  > *** your path, or set the GLIB_CONFIG environment variable to the
 >  > *** full path to glib-config.
 >  > configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
 >  >  a ja mam zainstalowaną nowszą wersję tych sterowników
 >  >
 > i drugi problem
 > g++ -Os -march=i686pentium4 -pipe -s -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -Os
 > -march=i686pentium4 -pipe -s -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION
 > -DVERSION=\\"0.2.4\\" -I. -Isrc -c -o src/configdlg.o src/configdlg.cpp
 > src/configdlg.cpp:1: error: bad value (i686pentium4) for -march= switch
 > src/configdlg.cpp:1: error: bad value (i686pentium4) for -mtune= switch
 > scons: *** [src/configdlg.o] Error 1
 > scons: building terminated because of errors.
 > nie wiem, gdzie wprowadzić zmianę i686pentium4 na i686

1) Nie sterownik tylko biblioteka :)
Potrzebujesz pakietu glib-devel
albo podobnego (np. glib1.2-devel)

2) Musisz tak samo jak CFLAGS
zmienić CXXFLAGS.

pozdrawiam

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #16 dnia: 2006-01-24, 22:37:46 »
2006-01-24 21:57:19 jk33 napisał:

> 2006-01-24 21:27:36 Gordon Gedeon napisał:
 >  >  >
 >  >  > Ok. przebrnąłem przez C compilera, ale znów kłopot:
 >  >  > ...
 >  >  > checking for glib-config... no
 >  >  > checking for GLIB - version >= 1.2.2... no
 >  >  > *** The glib-config script installed by GLIB could not be found
 >  >  > *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
 >  >  > *** your path, or set the GLIB_CONFIG environment variable to the
 >  >  > *** full path to glib-config.
 >  >  > configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
 >  >  >  a ja mam zainstalowaną nowszą wersję tych sterowników
 >  >  >
 >  > i drugi problem
 >  > g++ -Os -march=i686pentium4 -pipe -s -I/usr/include/kde/ -I/usr/lib/qt-3.3/include/ -Os
 >  > -march=i686pentium4 -pipe -s -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION
 >  > -DVERSION=\\"0.2.4\\" -I. -Isrc -c -o src/configdlg.o src/configdlg.cpp
 >  > src/configdlg.cpp:1: error: bad value (i686pentium4) for -march= switch
 >  > src/configdlg.cpp:1: error: bad value (i686pentium4) for -mtune= switch
 >  > scons: *** [src/configdlg.o] Error 1
 >  > scons: building terminated because of errors.
 >  > nie wiem, gdzie wprowadzić zmianę i686pentium4 na i686
 >
 > 1) Nie sterownik tylko biblioteka :)
 > Potrzebujesz pakietu glib-devel
 > albo podobnego (np. glib1.2-devel)
 >
 > 2) Musisz tak samo jak CFLAGS
 > zmienić CXXFLAGS.
 >
 > pozdrawiam
 >
zmieniłem CFLAGS w etc/profile. W bashrc nie było tego typu wpisów. Pliku bash_profile nie mogę znaleźć. Dziękuję za stałą już pomoc!

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #17 dnia: 2006-01-25, 16:45:08 »
2006-01-24 22:37:46 Gordon Gedeon napisał:

 >  >
 > zmieniłem CFLAGS w etc/profile. W bashrc nie było tego typu wpisów. Pliku bash_profile nie mogę
 > znaleźć. Dziękuję za stałą już pomoc!


Ale oprócz CFLAGS, musisz w podobny sposób
zmienić CXXFLAGS,
i jeśli jeszcze w jakiejś zmiennej jest to
i686pentium4, to też zmień.

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #18 dnia: 2006-01-25, 20:54:57 »
2006-01-25 16:45:08 jk33 napisał:

> 2006-01-24 22:37:46 Gordon Gedeon napisał:
 >
 >  >  >
 >  > zmieniłem CFLAGS w etc/profile. W bashrc nie było tego typu wpisów. Pliku bash_profile
 > nie mogę
 >  > znaleźć. Dziękuję za stałą już pomoc!
 >
 >
 > Ale oprócz CFLAGS, musisz w podobny sposób
 > zmienić CXXFLAGS,
 > i jeśli jeszcze w jakiejś zmiennej jest to
 > i686pentium4, to też zmień.

a gdzie znajdę CXXFLAGS?

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #19 dnia: 2006-01-25, 21:06:39 »
2006-01-25 20:54:57 Gordon Gedeon napisał:
 > a gdzie znajdę CXXFLAGS?

Powinoo być gdzieś obok CFLAGS.

Hmm.. Chyba, że tu chodzi o jakąś inną zmienną.
Zobacz, czy set|grep i686pentium4
poda jakieś nazwy zmiennych poza CXXFLAGS.

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #20 dnia: 2006-01-26, 19:41:09 »
2006-01-25 21:06:39 jk33 napisał:

> 2006-01-25 20:54:57 Gordon Gedeon napisał:
 >  > a gdzie znajdę CXXFLAGS?
 >
 > Powinoo być gdzieś obok CFLAGS.
 >
 > Hmm.. Chyba, że tu chodzi o jakąś inną zmienną.
 > Zobacz, czy set|grep i686pentium4
 > poda jakieś nazwy zmiennych poza CXXFLAGS.
 >
checking for GTK - version >= 1.2.2... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first *** --co to może być. system pokazuje, że mam te biblioteki

[root@localhost xmms-1.2.10]# sep|grep i686pentium4
bash: sep: command not found
[root@localhost xmms-1.2.10]# set|grep CXXFLAGS
CXXFLAGS=\\'-march=pentium4 -pipe -s\\'

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #21 dnia: 2006-01-26, 20:13:16 »
2006-01-26 19:41:09 Gordon Gedeon napisał:
 > checking for GTK - version >= 1.2.2... no
 > *** The gtk-config script installed by GTK could not be found
 > *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
 > *** your path, or set the GTK_CONFIG environment variable to the
 > *** full path to gtk-config.
 > configure: error: *** GTK+ >= 1.2.2 not installed - please install first *** --co to może
 > być. system pokazuje, że mam te biblioteki

Analogicznie jak glib:
potrzebujesz  odpowiedniego pakietu -devel
(i pewnie będziesz potrzebował go dla jeszcze jakiejś
biblioteki).


 > [root@localhost xmms-1.2.10]# sep|grep i686pentium4
 > bash: sep: command not found
 > [root@localhost xmms-1.2.10]# set|grep CXXFLAGS
 > CXXFLAGS=\\'-march=pentium4 -pipe -s\\'

maił być set !
(ale wydaje się, że wszystko tu już jest ok.)

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #22 dnia: 2006-01-29, 17:19:22 »
2006-01-26 20:13:16 jk33 napisał:

> 2006-01-26 19:41:09 Gordon Gedeon napisał:
 >  > checking for GTK - version >= 1.2.2... no
 >  > *** The gtk-config script installed by GTK could not be found
 >  > *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
 >  > *** your path, or set the GTK_CONFIG environment variable to the
 >  > *** full path to gtk-config.
 >  > configure: error: *** GTK+ >= 1.2.2 not installed - please install first *** --co to
 > może
 >  > być. system pokazuje, że mam te biblioteki
 >
 > Analogicznie jak glib:
 > potrzebujesz  odpowiedniego pakietu -devel
 > (i pewnie będziesz potrzebował go dla jeszcze jakiejś
 > biblioteki).
 >
 >
 >  > [root@localhost xmms-1.2.10]# sep|grep i686pentium4
 >  > bash: sep: command not found
 >  > [root@localhost xmms-1.2.10]# set|grep CXXFLAGS
 >  > CXXFLAGS=\\'-march=pentium4 -pipe -s\\'
 >
 > maił być set !
 > (ale wydaje się, że wszystko tu już jest ok.)
 >
 >  
 >
*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!


A teraz kolej na problemy z mplayerem: Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! próbowałem pościągać odpowiednie pakiety rpm, ale nie daję rady. Pakiety, które chcę zainstalować wymagają ...swojej wcześniejszej obecności. Schizofrenia!!!!

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #23 dnia: 2006-01-29, 17:42:25 »
2006-01-29 17:19:22 Gordon Gedeon napisał:

Co do wersji gcc - W Fedorze 4 masz
gcc4, i możesz spróbować skompilować
ten program używając podanej opcji
nie sprawdzania wersji...
Albo zinstalować starsze gcc.

 próbowałem pościągać odpowiednie
 > pakiety rpm, ale nie daję rady. Pakiety, które chcę zainstalować wymagają ...swojej
 > wcześniejszej obecności. Schizofrenia!!!!
 
Możesz dokładnie przytoczyć, jaki błąd sie wyświetlił?

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #24 dnia: 2006-01-29, 19:39:42 »
2006-01-29 17:42:25 jk33 napisał:

> 2006-01-29 17:19:22 Gordon Gedeon napisał:
 >
 > Co do wersji gcc - W Fedorze 4 masz
 > gcc4, i możesz spróbować skompilować
 > ten program używając podanej opcji
 > nie sprawdzania wersji...
 > Albo zinstalować starsze gcc.
 >
 >  próbowałem pościągać odpowiednie
 >  > pakiety rpm, ale nie daję rady. Pakiety, które chcę zainstalować wymagają ...swojej
 >  > wcześniejszej obecności. Schizofrenia!!!!
 >  
 > Możesz dokładnie przytoczyć, jaki błąd sie wyświetlił?
 >
To jest cała lista:
root@localhost MPlayer-1.0pre7try2]# ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.0, bad
Checking for gcc version ... 4.0.0, bad
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.0.0, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

    *** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #25 dnia: 2006-01-29, 19:45:46 »
2006-01-29 19:39:42 Gordon Gedeon napisał:

 > same compiler as we do, or use --disable-gcc-checking but
Spróbuj użyć tej flagi.

Chodziło mi o błędy przy instalacji RPMa,
myślę, że mimo wszystko prościej będzie
zainstalowac z rpm niż kompilować.

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #26 dnia: 2006-01-29, 20:20:02 »
2006-01-29 19:45:46 jk33 napisał:

> 2006-01-29 19:39:42 Gordon Gedeon napisał:
 >
 >  > same compiler as we do, or use --disable-gcc-checking but
 > Spróbuj użyć tej flagi.
 >
 > Chodziło mi o błędy przy instalacji RPMa,
 > myślę, że mimo wszystko prościej będzie
 > zainstalowac z rpm niż kompilować.
 >
zainstalowałem wszystkie brakujące biblioteki wymagane przez mplayera. Ostatnią była mplayer-fonts. Przy ponownej próbie zainstalowania mplayera pojawia się komunikat o braku mplayer-fonts.

jk33

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #27 dnia: 2006-01-29, 20:36:54 »
2006-01-29 20:20:02 Gordon Gedeon napisał:

 > zainstalowałem wszystkie brakujące biblioteki wymagane przez mplayera. Ostatnią była
 > mplayer-fonts. Przy ponownej próbie zainstalowania mplayera pojawia się komunikat o braku
 > mplayer-fonts.

Zamiast ręcznie instalować biblioteki,
skorzystaj z URPMI, będzie prościej
(w dziale artykuły chyba było opisane jak
to zrobić)

Gordon Gedeon

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #28 dnia: 2006-01-29, 21:28:54 »
2006-01-29 20:36:54 jk33 napisał:

> 2006-01-29 20:20:02 Gordon Gedeon napisał:
 >
 >  > zainstalowałem wszystkie brakujące biblioteki wymagane przez mplayera. Ostatnią była
 >  > mplayer-fonts. Przy ponownej próbie zainstalowania mplayera pojawia się komunikat o
 > braku
 >  > mplayer-fonts.
 >
 > Zamiast ręcznie instalować biblioteki,
 > skorzystaj z URPMI, będzie prościej
 > (w dziale artykuły chyba było opisane jak
 > to zrobić)
 >
Ok. Spróbuję, ale w FC 4 to jest Yum.
Udało mi się, tak mi się zdaje, zainstalować mplayera, ale nie mogę go nigdzie znaleźć. Wcześniej też zainstalowałem pakiet xina. Chciałem odtworzyć dvd na Totemie i niestety nie działa. Jeśli nie jesteś jeszcze zmęczony moim szkoleniem to proszę o wskazówki.

Bloq

  • Gość
"Unable to determine the NVIDIA kernel module filename"
« Odpowiedź #29 dnia: 2006-01-22, 17:19:56 »
Jak w temacie, przy instalacji sterownikow nvidii, instalujac przez komende sh po tym jak instalator niby cos probuje sciagnac a pozniej skompilowac modul kernela wyskakuje mi blad "Unable to determine the NVIDIA kernel module filename". Mam zainstalowane kernel-source tak jak jest opisane w artykule na tej stronie, zrobilem tez dowiazanie.Czytalem gdzies ze trzeba tez zainstalowac kernel-headers tak tez zrobilem ale nic to nie dalo.Linux ktorego uzywam to Debian 3.1 Sarge, wersja kernela 2.4.27. Wklejam tez to co bylo w nvidia-installer.log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 21 13:19:21 2006

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  XFree86 install prefix  : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : /usr/src/linux-2.4.27
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> You appear to be running in runlevel 1; this may cause problems.  For exampl
   e: some distributions that use devfs do not run the devfs daemon in runlevel
   1, making it difficult for nvidia-installer to correctly setup the kernel mo
   dule configuration files.  It is recommended that you quit installation now
   and switch to runlevel 3 (`telinit 3`) before installing.
   
   Quit installation now? (select 'No' to continue installation) (Answer: No)
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Using the kernel source path '/usr/src/linux-2.4.27' as specified by the
   '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.27'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.