LinuxForum.Fans
Тема

Вопросы от новичка

Автор: tomchita 45 сообщений 10810 просмотров
#51795

Помогите с дравами на Atheros AR9285 Wireless в deb пакете. С исходника немогу поставить. У меня походу руки кревые.

#51796

ссылку на страницу с исходником дайте

#51816

проблема в том что я немогу поставить драва из исходников

#51818

не могу понятие растяжимое.
вы не можете компьютер включить чтоб поставить или ошибки какие? я же просил почитать по ссылке в которой всё крайне понятно написано. что именно "не могу"?

#51842

нашел вроде в чем проблема надо поставить
linux-headers-2.6.хх
linux-libc-dev
gcc
gcc-3.4
gcc-3.4-base
gcc-4.1
gcc-4.1-base
make-dev
севодня попробую

#51853

Что делать с ошибкой?

#make

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o ccnet.o ccnet.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cd_file.o cd_file.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cd_sys.o cd_sys.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

cd_sys.c: In function ‘Update_CD_Audio’:

cd_sys.c:1113: warning: matching constraint does not allow a register

cd_sys.c:1082: warning: matching constraint does not allow a register

cd_sys.c:1159: warning: matching constraint does not allow a register

cd_sys.c: At top level:

cd_sys.c:1159: warning: matching constraint does not allow a register

cd_sys.c: In function ‘Update_CD_Audio’:

cd_sys.c:1042: warning: matching constraint does not allow a register

cd_sys.c:1042: warning: matching constraint does not allow a register

cd_sys.c:1082: warning: matching constraint does not allow a register

cd_sys.c:1082: warning: matching constraint does not allow a register

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cdda_mp3.o cdda_mp3.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

cdda_mp3.c: In function ‘MP3_Update_IN’:

cdda_mp3.c:157: warning: array subscript has type ‘char’

cdda_mp3.c:159: warning: array subscript has type ‘char’

cdda_mp3.c:160: warning: array subscript has type ‘char’

cdda_mp3.c:174: warning: array subscript has type ‘char’

cdda_mp3.c:178: warning: array subscript has type ‘char’

cdda_mp3.c:183: warning: array subscript has type ‘char’

cdda_mp3.c:188: warning: array subscript has type ‘char’

cdda_mp3.c:189: warning: array subscript has type ‘char’

cdda_mp3.c:190: warning: array subscript has type ‘char’

cdda_mp3.c:194: warning: pointer targets in passing argument 6 of ‘decodeMP3’ differ in signedness

cdda_mp3.c:196: warning: array subscript has type ‘char’

cdda_mp3.c:197: warning: array subscript has type ‘char’

cdda_mp3.c:200: warning: pointer targets in passing argument 6 of ‘decodeMP3’ differ in signedness

cdda_mp3.c: In function ‘MP3_Update_OUT’:

cdda_mp3.c:211: warning: pointer targets in passing argument 6 of ‘decodeMP3’ differ in signedness

cdda_mp3.c: In function ‘MP3_Play’:

cdda_mp3.c:224: warning: array subscript has type ‘char’

cdda_mp3.c:230: warning: array subscript has type ‘char’

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_68k.o cpu_68k.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_sh2.o cpu_sh2.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_z80.o cpu_z80.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o lc89510.o lc89510.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o m68kd.o m68kd.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

m68kd.c: In function ‘M68KDisasm’:

m68kd.c:518: warning: suggest parentheses around + or - in operand of &

m68kd.c:523: warning: suggest parentheses around + or - in operand of &

m68kd.c:544: warning: suggest parentheses around + or - in operand of &

m68kd.c:749: warning: suggest parentheses around + or - in operand of &

m68kd.c:786: warning: suggest parentheses around + or - in operand of &

m68kd.c:872: warning: suggest parentheses around + or - in operand of &

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o pcm.o pcm.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o port.o port.c

/bin/sh: sdl-config: команда не найдена

Package gtk+-2.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gtk+-2.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gtk+-2.0' found

port.c:10:21: error: gtk/gtk.h: Нет такого файла или каталога

In file included from port.c:11:

glade/support.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/support.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/support.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/support.h:34: warning: type defaults to ‘int’ in declaration of ‘gchar’

glade/support.h:34: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token

glade/support.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/support.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/support.h:49: error: expected ‘)’ before ‘*’ token

glade/support.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/support.h:59: error: expected ‘)’ before ‘*’ token

In file included from port.c:12:

glade/interface.h:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

glade/interface.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

port.c: In function ‘MessageBox’:

port.c:49: error: ‘GtkWidget’ undeclared (first use in this function)

port.c:49: error: (Each undeclared identifier is reported only once

port.c:49: error: for each function it appears in.)

port.c:49: error: ‘dialog’ undeclared (first use in this function)

port.c:50: error: ‘label’ undeclared (first use in this function)

port.c:51: warning: implicit declaration of function ‘create_msgbox’

port.c:52: warning: implicit declaration of function ‘gtk_window_set_title’

port.c:52: warning: implicit declaration of function ‘GTK_WINDOW’

port.c:53: warning: implicit declaration of function ‘lookup_widget’

port.c:54: warning: implicit declaration of function ‘gtk_label_set_text’

port.c:54: warning: implicit declaration of function ‘GTK_LABEL’

port.c:55: warning: implicit declaration of function ‘gtk_dialog_run’

port.c:55: warning: implicit declaration of function ‘GTK_DIALOG’

port.c:56: warning: implicit declaration of function ‘gtk_widget_destroy’

make: *** [port.o] Ошибка 1

#51902

Вообще то везде пишет:
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path
Как у Вас отработало ./configure?
Ошибки были?

#52178
system-root написал:
tomchita, я так понял вы сами с собой общаетесь? вам ссылку дали - http://linuxforum.ru/viewtopic.php?pid=18545#p18545
читайте же
или обзовут вас Чипом.

Читал, непомогло. Там все ссылается на инет а у меня его сейчас нет. Поэтому карячюсь с диском.

durc написал:
, Вообще то везде пишет:
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path
Как у Вас отработало ./configure?
Ошибки были?

Не как написал нет токого файла или котолога

#52209
tomchita написал:

[quote=durc] Вообще то везде пишет:
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path
Как у Вас отработало ./configure?
Ошибки были?

Не как написал нет токого файла или котолога[/quote]

Зайдите в каталог, куда были распакованы исходники, и внимательно почитайте README или INSTALL. Там всё расписано, как правило.

P.S. Кстати, да. configure там и правда нет.
Попробуйте запустить
#make KERNELPATH=/usr/src/linux
только предварительно посмотрите вывод комманды
$ ls -l /usr/src/linux
Должно выйти что то похожее на это
linux -> /usr/src/linux-headers-2.6.32-5-686,
где linux-headers-2.6.32-5-686 - хедеры актуального ядра.

#52637
durc написал:
P.S. Кстати, да. configure там и правда нет.
Попробуйте запустить
#make KERNELPATH=/usr/src/linux
только предварительно посмотрите вывод комманды
$ ls -l /usr/src/linux
Должно выйти что то похожее на это
linux -> /usr/src/linux-headers-2.6.32-5-686,
где linux-headers-2.6.32-5-686 - хедеры актуального ядра.

$ ls -l /usr/src/linux фаил или каталог не найден
в синаптике сам лично руками ставил linux-headers-2.6.26-2-686

#52664
tomchita написал:
[quote=durc]P.S. Кстати, да. configure там и правда нет.
Попробуйте запустить
#make KERNELPATH=/usr/src/linux
только предварительно посмотрите вывод комманды
$ ls -l /usr/src/linux
Должно выйти что то похожее на это
linux -> /usr/src/linux-headers-2.6.32-5-686,
где linux-headers-2.6.32-5-686 - хедеры актуального ядра.

$ ls -l /usr/src/linux фаил или каталог не найден
в синаптике сам лично руками ставил linux-headers-2.6.26-2-686[/quote]

Я же писал что linux-headers-2.6.xx-x-686 - актуальное ядро. ( у меня 2.6.32-5-686, а у Вас значит 2.6.26-2-686)
Сделайте симлинк на хедеры
# ln -s /usr/src/linux-headers-2.6.26-2-686/ /usr/src/linux
на всякий случай проверьте
ls -l /usr/src/linux
должно появиться что-то похожее
lrwxrwxrwx 1 root root 27 Июн 11 10:42 /usr/src/linux -> linux-headers-2.6.26-2-686/
если всё так, то
#make KERNELPATH=/usr/src/linux

#52676
tomchita написал:
Там все ссылается на инет а у меня его сейчас нет.

Нет инета - нет линукса :-). А исходники из инета ещё больше всего по просят чем пакеты :lol:, тока ещё и руками надо будет, или опять же пакетами. Второй вариант правильный, но тогда зачем исходники вообще? А первый тоже ничего, но тогда зачем Дебиан?

#52739
tomchita написал:
2. Какие кодеки и где скачать что бы смотреть фильмы в mkv? пользуюсь mplayer

Мож я туплю, но в роде в пакете ffmpeg уже есть поддержка mkv (где то с 2007го). И он должен быть в DVD Дебиановском.

#54482

народ в чем проблема может быть скачал с сайта тестовый образ debian-testing-i386-DVD-1 начинаю устанавливать а он при разбивки винта пишет что ext3 не может быть записана пробывал минять в биосе анчи и иде непомогло поменял винт проделал все повнорно тоже не ставится а старая ленни только в путь залетает

#55455

Народ есть ли хороший сайт с софтом для дебиана. С описание проги и скринами?

#55457

Как узнать какие драва установлены а какие нет?

#55508

Господа, ногами не пинайте: Lenny локализован или нет? Что-то не хочется скачать DVD и не обнаружить там великого и могучего.
Посто на LiveCD русского нет и это настораживает:)

Войдите или зарегистрируйтесь, чтобы ответить.