Какие словари могут работать в Mandrake 9.2 ? Установил stardict-2.2.1-2mdk.i586.rpm , а загрузить словари не могу. Где найти словарь mueller для моей ОС. Заранее благодарен профи.
Я зашел на рекомендуемый вами сайт, скачал пакет stardict_dict_update и переместил, как рекомендованно в usr/share/stardict/dic/. Но ничего не изменилось, попрежнему сообщение, что ни один словарь не загружен. А в папке dic десяток словарей. .
Следуя вашим наставлениям, скачал stardict-2.4.5.tar.bz2, распаковал и: [root@localhost stardict-2.4.5]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gconftool-2... /usr/bin/gconftool-2 checking for intltool >= 0.22... 0.27.2 found checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool [root@localhost stardict-2.4.5]# make make: *** Не заданы цели и не найден make-файл. Останов.
Сделал как вы указали. Но следующую загадку разгадать не могу.
[root@localhost stardict-2.4.5]# ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gconftool-2... /usr/bin/gconftool-2 checking for intltool >= 0.22... 0.27.2 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... msgfmt checking for msgmerge... msgmerge checking for xgettext... xgettext checking build system type... i686-pc-linux-gnuoldld checking host system type... i686-pc-linux-gnuoldld checking for style of include used by make... GNU checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
Уважаемый невидимый Учитель! Следуя вашим наставлениям, я установил несколько C Compiler. Но все только услажняется. Это последние строки после ./configure checking for libgnomeui-2.0 >= 2.2.0... Package libgnomeui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found
configure: error: Library requirements (libgnomeui-2.0 >= 2.2.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
Затем я скачал "libgnomeui2_0-devel-2.0.3-2mdk.i586.rpm", но устанавить не удалось, еще нужно несколько пакетов. ---[root@localhost Desktop]# rpm -Uhv libgnomeui2_0-devel-2.0.3-2mdk.i586.rpm ошибка: Неудовлетворенные зависимости: libgnomeui2_0 = 2.0.3 нужен для libgnomeui2_0-devel-2.0.3-2mdk libgnomeui2 = 2.0.3 нужен для libgnomeui2_0-devel-2.0.3-2mdk libbonoboui2_0-devel >= 2.0.0 нужен для libgnomeui2_0-devel-2.0.3-2mdk libgnomecanvas2_0-devel >= 2.0.0 нужен для libgnomeui2_0-devel-2.0.3-2
Может есть более простой способ установить stardict? Я живу в деревне, у меня мобильный интернет, довольно слабенький. Мнаго скачивать не могу. С уважением Сергей.
Зделал как рекомендовано, последние строки ---- checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.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) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
А что значит добавить директорию `gtk+-2.0.pc'?,и где взять gtk+-2.0
Установил g++, сделал make и вот ошибка в файле libintl.h, как ее исправить? Что такое "User Line break" ".deps/stardict-application-server.Tpo"; exit 1; fi In file included from /usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/c++locale.h:44, from /usr/include/c++/3.3.1/iosfwd:46, from /usr/include/c++/3.3.1/bits/stl_algobase.h:70, from /usr/include/c++/3.3.1/memory:54, from /usr/include/c++/3.3.1/string:48, from lib.h:10, from stardict.h:16, from stardict-application-server.cpp:12: /usr/include/libintl.h:40: error: syntax error before `__const' /usr/include/libintl.h:44: error: syntax error before `__const' /usr/include/libintl.h:52: error: syntax error before `__const' /usr/include/libintl.h:81: error: syntax error before `__const' /usr/include/libintl.h:86: error: syntax error before `__const' /usr/include/libintl.h:91: error: syntax error before `__const' make[3]: *** [stardict-application-server.o] Ошибка 1 make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src' make[2]: *** [all-recursive] Ошибка 1 make[2]: Leaving directory `/home/das/Documents/stardict-2.4.5/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/home/das/Documents/stardict-2.4.5' make: *** [all] Ошибка 2 [root@localhost stardict-2.4.5]#
make[1]: Entering directory `/home/das/Documents/stardict-2.4.5' Making all in src make[2]: Entering directory `/home/das/Documents/stardict-2.4.5/src' Making all in pixmaps make[3]: Entering directory `/home/das/Documents/stardict-2.4.5/src/pixmaps' make[3]: Цель `all' не требует выполнения команд. make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/pixmaps' Making all in sounds make[3]: Entering directory `/home/das/Documents/stardict-2.4.5/src/sounds' make[3]: Цель `all' не требует выполнения команд. make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/sounds' Making all in tools make[3]: Entering directory `/home/das/Documents/stardict-2.4.5/src/tools' make[4]: Entering directory `/home/das/Documents/stardict-2.4.5/src/tools' make[4]: Цель `all-am' не требует выполнения команд. make[4]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/tools' make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/tools' Making all in win32 make[3]: Entering directory `/home/das/Documents/stardict-2.4.5/src/win32' Making all in nsis make[4]: Entering directory `/home/das/Documents/stardict-2.4.5/src/win32/nsis' make[4]: Цель `all' не требует выполнения команд. make[4]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/win32/nsis' make[4]: Entering directory `/home/das/Documents/stardict-2.4.5/src/win32' make[4]: Цель `all-am' не требует выполнения команд. make[4]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/win32' make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src/win32' make[3]: Entering directory `/home/das/Documents/stardict-2.4.5/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -DDATADIR=\""/usr/share"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/usr//locale"\" -DSTARDICT_DATA_DIR=\""/usr/share/stardict"\" -I/usr/X11R6/include -g -O2 -MT stardict-application-server.o -MD -MP -MF ".deps/stardict-application-server.Tpo" -c -o stardict-application-server.o stardict-application-server.cpp; \ then mv -f ".deps/stardict-application-server.Tpo" ".deps/stardict-application-server.Po"; else rm -f ".deps/stardict-application-server.Tpo"; exit 1; fi In file included from /usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/c++locale.h:44, from /usr/include/c++/3.3.1/iosfwd:46, from /usr/include/c++/3.3.1/bits/stl_algobase.h:70, from /usr/include/c++/3.3.1/memory:54, from /usr/include/c++/3.3.1/string:48, from lib.h:10, from stardict.h:16, from stardict-application-server.cpp:12: /usr/include/libintl.h:40: error: syntax error before `__const' /usr/include/libintl.h:44: error: syntax error before `__const' /usr/include/libintl.h:52: error: syntax error before `__const' /usr/include/libintl.h:81: error: syntax error before `__const' /usr/include/libintl.h:86: error: syntax error before `__const' /usr/include/libintl.h:91: error: syntax error before `__const' make[3]: *** [stardict-application-server.o] Ошибка 1 make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src' make[2]: *** [all-recursive] Ошибка 1 make[2]: Leaving directory `/home/das/Documents/stardict-2.4.5/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/home/das/Documents/stardict-2.4.5' make: *** [all] Ошибка 2 [root@localhost stardict-2.4.5]#
Выбрал User line breake, но как будто ничего не меняется. Может я что-то ни так делаю. В конце этого файла указывается на ошибки. Как же их исправить?
In file included from /usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/c++locale.h:44,
from /usr/include/c++/3.3.1/iosfwd:46,
from /usr/include/c++/3.3.1/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.1/memory:54,
from /usr/include/c++/3.3.1/string:48,
from lib.h:10,
from stardict.h:16,
from stardict-application-server.cpp:12:
/usr/include/libintl.h:40: error: syntax error before `__const'
/usr/include/libintl.h:44: error: syntax error before `__const'
/usr/include/libintl.h:52: error: syntax error before `__const'
/usr/include/libintl.h:81: error: syntax error before `__const'
/usr/include/libintl.h:86: error: syntax error before `__const'
/usr/include/libintl.h:91: error: syntax error before `__const'
make[3]: *** [stardict-application-server.o] Ошибка 1
make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/das/Documents/stardict-2.4.5/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/das/Documents/stardict-2.4.5'
make: *** [all] Ошибка 2
[root@localhost stardict-2.4.5]# ./configure --disable-gnome-support
весь расклад не пропускает Linux.org.ru
ype "make" to compile StarDict.
[root@localhost stardict-2.4.5]# make
gnome-about.c: In function `gnome_about_class_init':
gnome-about.c:439: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:439: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:447: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:447: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:454: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:454: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:462: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:462: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:472: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:472: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:473: warning: passing arg 2 of `g_param_spec_value_array' makes pointer from integer without a cast
gnome-about.c:473: warning: passing arg 3 of `g_param_spec_value_array' makes pointer from integer without a cast
gnome-about.c:483: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:483: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:484: warning: passing arg 2 of `g_param_spec_value_array' makes pointer from integer without a cast
gnome-about.c:484: warning: passing arg 3 of `g_param_spec_value_array' makes pointer from integer without a cast
gnome-about.c:492: warning: passing arg 2 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:492: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
gnome-about.c:500: warning: passing arg 2 of `g_param_spec_object' makes pointer from integer without a cast
gnome-about.c:500: warning: passing arg 3 of `g_param_spec_object' makes pointer from integer without a cast
gnome-about.c: In function `gnome_about_set_name':
gnome-about.c:577: warning: passing arg 1 of `g_strdup_printf' makes pointer from integer without a cast
make[3]: *** [gnome-about.o] Ошибка 1
make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/das/Documents/stardict-2.4.5/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/das/Documents/stardict-2.4.5'
make: *** [all] Ошибка 2
[root@localhost stardict-2.4.5]#
then mv -f ".deps/stardict-application-server.Tpo" ".deps/stardict-application-server.Po"; else rm -f Я Я
Я каким-то образом исправил три строки в файле /usr/include/libintl.h. Подскажите что вписать перед __const в оставшихся строках.
".deps/stardict-application-server.Tpo"; exit 1; fi
In file included from /usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/c++locale.h:44,
from /usr/include/c++/3.3.1/iosfwd:46,
from /usr/include/c++/3.3.1/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.1/memory:54,
from /usr/include/c++/3.3.1/string:48,
from lib.h:10,
from stardict.h:16,
from stardict-application-server.cpp:12:
/usr/include/libintl.h:52: error: syntax error before `__const'
/usr/include/libintl.h:86: error: syntax error before `__const'
/usr/include/libintl.h:91: error: syntax error before `__const'
make[3]: *** [stardict-application-server.o] Ошибка 1
make[3]: Leaving directory `/home/das/Documents/stardict-2.4.5/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/das/Documents/stardict-2.4.5/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/das/Documents/stardict-2.4.5'
make: *** [all] Ошибка 2
>gnome-about.c: In function `gnome_about_class_init':
>gnome-about.c:439: warning: passing arg 2 of `g_param_spec_string' makes pointer >from integer without a cast
>gnome-about.c:439: warning: passing arg 3 of `g_param_spec_string' makes pointer from integer without a cast
здесь только предупреждения и ни одной ошибки,
если вам эта тема не наскучила пришлите на
dushistov at mail dot ru полный лог
>Я каким-то образом исправил три строки в файле /usr/include/libintl.h. Подскажите >что вписать перед __const в оставшихся строках
это системная ошибка (gcc+glibc+gettext), у меня ее не возникает вывод
у меня другое содержимое libintl.h, следовательно подсказать я вряд ли что-нибудь могу.
>Системная ошибка -- это значит программу менять надо, да?
значит надо обновить gettext
>Пытаться исправить libntl.h нет смысла? Так?
проще обновить,
если воспользоваться google то можно увидеть
что эта ошибка возникает в программах пользующихся для сборке autotools,
собираемых на старых дистрибутивах,
обычно лечится вставлением
#ifdef HAVE_CONFIG_H
#include "config.h"