Поиск  Пользователи  Правила 
Закрыть
Логин:
Пароль:
Забыли свой пароль?
Войти
 
Страницы: 1
RSS
HydraGTK_5.4, проблемы с установкой
 
Решил потестить новую гидру
при установки GTK из тойже папочки выдало вот такую ошибку
..........
..........
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0... 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
configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Как пофиксить подскажите??  (Убунта 9.10)
 
Я конечно в Linux несилен, но судя по логам вам по моему нужно установить пакет libgtk2.0-dev
Изменено: bonubonu - 08.01.2010 20:09:19
 
Цитата
bonubonu пишет:
Я конечно в Linux несилен, но судя по логам вам по моему нужно установить пакет libgtk2.0-dev
к сожелению sudo apt-get install libgtk2.0-dev Не помогло.. :cry:
 
Гугель, конечно, заблокирован?
1. Общий резальтат для "особо продвинутых лентяев" - http://www.google.ru/#hl=ru&newwindow=1&q=HydraGTK+Package+gtk%2B-2.0+was+not+found&lr=&aq=f&oq=HydraGTK+Package+gtk%2B-2.0+was+not+found&fp=3af9973a18a5c45f
2. Необщий результат - http://ubuntuforums.org/archive/index.php/t-920921.html
Тупить дальше будем, товарисч?  :sensored:
 
Частное мнение - Вы не своим делом занимаетесь.
 
Цитата
SOLDIER пишет:
1. Общий резальтат для "особо продвинутых лентяев" - http://www.google.ru/#hl=ru&newwindow...3a18a5c45f
2. Необщий результат - http://ubuntuforums.org/archive/index...20921.html
Вы что....... там же знание английского языка требуется.  :)
 
o_O
ппц ...

Код
apt-cache search gtk2 | grep -i dev
 
спасибо за столь обильное внимание и "красноречивые" коменты НО у меня нестыковочка вот в каком месте...

Код
root@DM:~/Общедоступные/hydra-5.4-src/hydra-gtk# make
make  all-recursive                                  
make[1]: Вход в каталог `/home/dark/Общедоступные/hydra-5.4-src/hydra-gtk'
Making all in src                                                         
make[2]: Вход в каталог `/home/dark/Общедоступные/hydra-5.4-src/hydra-gtk/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\"      -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\"  -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -c callbacks.c                                          
callbacks.c: In function ‘popen_re_unbuffered’:                                                                        
callbacks.c:532: warning: format not a string literal and no format arguments                                          
callbacks.c: In function ‘on_btnSave_clicked’:                                                                         
callbacks.c:668: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result                 
In file included from /usr/include/fcntl.h:217,                                                                        
                 from callbacks.c:27:                                                                                  
In function ‘open’,                                                                                                    
    inlined from ‘on_btnSave_clicked’ at callbacks.c:666:                                                              
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments                                                                                     
In file included from /usr/include/stdio.h:910,                                                                        
                 from /usr/include/pango-1.0/pango/pango-utils.h:25,                                                   
                 from /usr/include/pango-1.0/pango/pango.h:46,                                                         
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,                                                          
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,                                                         
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,                                               
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,                                                               
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,                                                               
                 from callbacks.c:11:                                                                                  
In function ‘snprintf’,                                                                                                
    inlined from ‘hydra_get_options’ at callbacks.c:247:                                                               
/usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer       
make[2]: *** [callbacks.o] Ошибка 1                                                                                    
make[2]: Выход из каталога `/home/dark/Общедоступные/hydra-5.4-src/hydra-gtk/src'                                      
make[1]: *** [all-recursive] Ошибка 1                                                                                  
make[1]: Выход из каталога `/home/dark/Общедоступные/hydra-5.4-src/hydra-gtk'
make: *** [all-recursive-am] Ошибка 2


если кто в курсе подскажите в каком направлении ковырять?????

PS >SOLDIER спасибо,
  >°°°Trojan°°°™  все либы на месте
Изменено: серёга я - 10.01.2010 00:41:02
 
http://www.linuxquestions.org/questions/linux-software-2/error-when-compiling-hydra-on-ubuntu-9.10-776753/
Цитата

Hydra is very old software, and doesn't work with modern versions of libssh. There is a Hydra patch (written by the libssh maintainers), that is supposed to add support for newer libssh releases, but I have not personally used it.

Though it also looks like you are running into some sort of X-related issue there. I would still try applying the patch and seeing if that helps, since that is certainly required on a modern system no matter what.
И до кучи - http://ubuntuforums.org/showthread.php?t=1091074
 
Кстати мои поздравления ...
Чтоб стояло и не висло.

TRJ
Страницы: 1
Читают тему