Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: Nik123 в Mar 26, 2006, 15:45



Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Mar 26, 2006, 15:45
Здравейте! Исках да си инстална новия GNOME и изтеглих от gnome.org garnome 2.14.0, разархивирах го според всички изисквания в README-то в архива, cd  ~source/garnome-0.2.14/desktop
и оттам
make paranoid-install
и в един момент следното:
if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol -I../lib -I ../libgamin -I/home/nik/garnome/include/glib-2.0 -I/home/nik/garnome/lib/glib-2. 0/include   -DBINDIR=\""/home/nik/garnome/libexec"\" -DG_DISABLE_DEPRECATED   -I /home/nik/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations -Wmiss ing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -O2 -MT gam_ino tify.o -MD -MP -MF ".deps/gam_inotify.Tpo" -c -o gam_inotify.o gam_inotify.c; \
then mv -f ".deps/gam_inotify.Tpo" ".deps/gam_inotify.Po"; else rm -f ".deps/gam _inotify.Tpo"; exit 1; fi
gam_inotify.c: In function 'mask_to_gam_event':
gam_inotify.c:259: error: 'IN_MOVE_SELF' undeclared (first use in this function)
gam_inotify.c:259: error: (Each undeclared identifier is reported only once
gam_inotify.c:259: error: for each function it appears in.)
gam_inotify.c: In function 'gam_inotify_mask_to_gam_file_event':
gam_inotify.c:295: error: 'IN_MOVE_SELF' undeclared (first use in this function)
gam_inotify.c: In function 'gam_inotify_mask_to_gam_dir_event':
gam_inotify.c:325: error: 'IN_MOVE_SELF' undeclared (first use in this function)
gam_inotify.c: In function 'gam_inotify_process_event':
gam_inotify.c:551: error: 'IN_MOVE_SELF' undeclared (first use in this function)
gam_inotify.c: In function 'gam_inotify_add_subscription':
gam_inotify.c:824: error: 'IN_MOVE_SELF' undeclared (first use in this function)
gam_inotify.c: In function 'gam_inotify_rm_watch':
gam_inotify.c:1026: warning: unused variable 'e'
gam_inotify.c: In function 'gam_inotify_nolonger_missing':
gam_inotify.c:1193: error: 'IN_MOVE_SELF' undeclared (first use in this function )
gam_inotify.c: In function 'gam_inotify_nolonger_link':
gam_inotify.c:1299: error: 'IN_MOVE_SELF' undeclared (first use in this function )
make[10]: *** [gam_inotify.o] Error 1
make[10]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gami n/work/main.d/gamin-0.1.7/server'
make[9]: *** [all] Error 2
make[9]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin /work/main.d/gamin-0.1.7/server'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin /work/main.d/gamin-0.1.7'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin /work/main.d/gamin-0.1.7'
make[6]: *** [build-work/main.d/gamin-0.1.7/Makefile] Error 2
make[6]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin '
make[5]: *** [../../bootstrap/gamin/cookies/main.d/install] Error 2
make[5]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/gnome- vfs'
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[4]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/libgno me'
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/libbon oboui'
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/libgno meui'
make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/nik/source-code/garnome-2.14.0/desktop/bug-bud dy'
make: *** [paranoid-install] Error 2
[nik@localhost desktop]$

Ползвам Мандрива 2006, кернел 2.6.12-15mdk, настояща графичнa среда GNOME 2.10
Моля, който знае нещо по въпроса, да постне тук- благодаря предварително


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Mar 27, 2006, 03:45
Няма ли някой вещ по въпроса??


Титла: Garnome 2.14.0  проблем
Публикувано от: GoodT в Mar 27, 2006, 20:09
Аз не съм вещ по въпроса. :)
Само да кажа - инсталирай го в текстов режим с права на root.


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Mar 27, 2006, 22:02
Току-що опитах в текстов режим като root (в readme-to пишеше, че няма нужда от роот права, затова първия път пробвах като юзър), но и като роот все същата грешка...


Титла: Garnome 2.14.0  проблем
Публикувано от: Izzy в Mar 27, 2006, 23:06
Няма ли RPM пакети за Mandriva, че се мъчиш от изходен код, разрови се в нета, не може някой да не го е пакетирал :D Ако държиш от изходен код виж коя версия на компилатора иска, мисля че от там ти идва проблема.  :D Успех!


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Mar 27, 2006, 23:21
Ами честно казано, изобщо не знам какви пакети да търся... gnome...rpm ли, и едва ли ще е само това.. А в readme- то няма (или поне аз не намерих) информация какъв компилатор иска


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 06, 2006, 10:46
Явно няма да се оправя с това garnome, а някой може ли да ми каже поне коя е обратната команда на make paranoid-install? Като пробвам с make paranoid-uninstall, дава някакви грешки- Error 2: no rule to make uninstall.Stop. А доколкото разбрах, garnome вече инсталира някои неща на gnome 2.14, искам да ги махна от машината
Edit: Оправих се, с няколко опита открих, че било make paranoid-clean





Титла: Garnome 2.14.0  проблем
Публикувано от: saturn_vk в Apr 06, 2006, 13:27
ти въобще имаш ли поддръжка за inotify в ядрото си?


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 06, 2006, 15:38
Честно казано, нямам представа- какво е inotify и какво е значението му за garnome и gnome? Как да проверя дали имам такава поддръжка?


Титла: Garnome 2.14.0  проблем
Публикувано от: saturn_vk в Apr 06, 2006, 16:13
$ cat /proc/config.gz | gunzip | grep INOTIFY
CONFIG_INOTIFY=y


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 06, 2006, 16:24
Изпълних я тая команда, сега пак отначало ли с гарноме?

Edit: Стартирах го вече make paranoid-install отново, ще пиша какъв е резултата, като приключи





Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 06, 2006, 17:42
Пак същото: (след make paranoid-install)
if cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../libgamin -I../protocol -I../lib -I../libgamin -I/home/nik/garnome/include/glib-2.0 -I/home/nik/garnome/lib/glib-2.0/include   -DBINDIR=\""/home/nik/garnome/libexec"\" -DG_DISABLE_DEPRECATED   -I/home/nik/garnome/include  -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -O2 -MT gam_inotify.o -MD -MP -MF ".deps/gam_inotify.Tpo" -c -o gam_inotify.o gam_inotify.c; \
then mv -f ".deps/gam_inotify.Tpo" ".deps/gam_inotify.Po"; else rm -f ".deps/gam_inotify.Tpo"; exit 1; fi
gam_inotify.c: In function 'mask_to_gam_event':
gam_inotify.c:259: error: 'IN_MOVE_SELF' undeclared (first use in this function)gam_inotify.c:259: error: (Each undeclared identifier is reported only once
gam_inotify.c:259: error: for each function it appears in.)
gam_inotify.c: In function 'gam_inotify_mask_to_gam_file_event':
gam_inotify.c:295: error: 'IN_MOVE_SELF' undeclared (first use in this function)gam_inotify.c: In function 'gam_inotify_mask_to_gam_dir_event':
gam_inotify.c:325: error: 'IN_MOVE_SELF' undeclared (first use in this function)gam_inotify.c: In function 'gam_inotify_process_event':
gam_inotify.c:551: error: 'IN_MOVE_SELF' undeclared (first use in this function)gam_inotify.c: In function 'gam_inotify_add_subscription':
gam_inotify.c:824: error: 'IN_MOVE_SELF' undeclared (first use in this function)gam_inotify.c: In function 'gam_inotify_rm_watch':
gam_inotify.c:1026: warning: unused variable 'e'
gam_inotify.c: In function 'gam_inotify_nolonger_missing':
gam_inotify.c:1193: error: 'IN_MOVE_SELF' undeclared (first use in this function)
gam_inotify.c: In function 'gam_inotify_nolonger_link':
gam_inotify.c:1299: error: 'IN_MOVE_SELF' undeclared (first use in this function)
make[10]: *** [gam_inotify.o] Error 1
make[10]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7/server'
make[9]: *** [all] Error 2
make[9]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7/server'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7'
make[6]: *** [build-work/main.d/gamin-0.1.7/Makefile] Error 2
make[6]: Leaving directory `/home/nik/source-code/garnome-2.14.0/bootstrap/gamin'
make[5]: *** [../../bootstrap/gamin/cookies/main.d/install] Error 2
make[5]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/gnome-vfs'
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[4]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/libgnome'
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/libbonoboui'
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/nik/source-code/garnome-2.14.0/platform/libgnomeui'
make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/nik/source-code/garnome-2.14.0/desktop/bug-buddy'
make: *** [paranoid-install] Error 2


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 07, 2006, 13:19
Някакви идеи?


Титла: Garnome 2.14.0  проблем
Публикувано от: saturn_vk в Apr 07, 2006, 14:01
е като си изпълнил командата какво ти върна, или си го пазиш в тайна?


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 07, 2006, 21:27
Sorry- забравих за това:
CONFIG_INOTIFY=y
Това върна



Никой ли не е инсталирал нов GNOME на Мандрива???





Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 10, 2006, 05:00
Писах по тоя проблем и в сайта с форума на ГНОМЕ- оттам един юзър предположи, че може би кернела ми е твърде стар- снощи си инсталирах последния наличен в мирърите на Мандрива- 2.6.12-18мдк, със сорса му, и все тая... пак същата грешка


Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 21, 2006, 20:32
Ще съживя малко тази тема- естествено, ако някой друг освен мен пише тук, би било чудесно..
Така- на въпроса по темата- след ровене из разни чуждестранни форуми и обяснения на проблема, стигнах до това:

"You should then try to skip the build of gamin. To do this, edit platform/gnome-vfs/Makefile and admin/sabayon/Makefile and remove all references to gamin."


Това е съвет, който ми дадоха във форума на ГНОМЕ.
Нещото, което ме вълнува е, какво точно е gamin, и как ще се отрази евентуалната му липса в ГНОМЕ??? Благодаря предварително


Титла: Garnome 2.14.0  проблем
Публикувано от: ray в Apr 21, 2006, 21:22
Здравей,
Мисля, че най-лесно ще стане като първо инсталираш "gamin" и после опиташ пак, но има голяма вероятност пак да не стане.
Сега малко информация:
1."inotify" е опция в ядрото, която позволява да се отчита когато има промяна на файл или в директория - това е важно да го има.
2.Gamin (и по-стария пакет е "hal") са демони (сървъри), които на база на тази информация извършват нещо (монтират файлова система, активират нещо друго и т.н.). Също са важни.
3.Защо са ти дали тази препоръка, защото "gnome-vfs" - виртуалната файлова система на Gnome по-подразбиране използва hal/gamin за да отчете промените и монтира файловата система.
Препоръчали са ти да изключиш ръчно тази функция на gnome-vfs.
Обаче това не е единствения подобен капан ;) (не ми се проверява но вероятно има и други). Тук положението допълнително се усложнява от факта, че смесваш два вида пакети - готови (предварително конфигурирани по определен начин, rpm от Mandriva) с такива компилирани от сорс-код, при това с нестандартни настройки ;)
Моят съвет е изчакай поне да излезе полу-официална версия в rpm-формат. Иначе много главоболия.
BTW: гноме-2.14.X е доста по-бърз от 2.12 (Foresight).
Успех.Румен





Титла: Garnome 2.14.0  проблем
Публикувано от: Nik123 в Apr 21, 2006, 21:43
ОК- ще изчакам...  просто ме ядоса това, че по никакъв начин не успях да се справя с този проблем. Дори и последната стейбъл версия ядро се пробвах да инсталирам от сорс(2.6.16.2)- от същия форум изказаха предположение, че ядрото ми е твърде старо, и в това е проблема с inotify- но и това не успях да направя... жалко, защото в мирърите на мандрива ядрата далеч не са от последните версии