Автор Тема: Проблем с инсталацията на kbe dic 4.0  (Прочетена 910 пъти)

aurise

  • Участници
  • ***
  • Публикации: 8
    • Профил
Новак съм ползвам линукс от 2 седмици и си инсталирах
това онова, но този речник много се закучи
направо ужас... не мога да си сложа свестен
речник на пс то....

с Мандрива 2006   x86_64 съм

правя му стандартно в директорията на речника.

./configure

дава:



creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
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 for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ANSI C header files... yes
checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for QT libraries... /usr/lib/qt3//lib
checking for QT includes... /usr/lib/qt3//include
checking for QT 3.0 or higher... yes
checking for moc... /usr/lib/qt3//bin/moc
checking for KDE 3... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/config.h
creating data/Makefile

KDE 3 support : disabled. To enable use './configure --with-kde'.

Qt includes   : /usr/lib/qt3//include
Qt libraries  : /usr/lib/qt3//lib
Qt moc        : /usr/lib/qt3//bin/moc

Data directory: /usr/local/share

Good news! Look that you have all needed packages installed
Type 'make' (or 'gmake''<img'> to compile the program
After that type 'make install' to install the program and data
For 'make install' you must be root (su)
At the end in a X terminal window type 'kbedic' to run the program





след това давам

make



make
Making all in src
make[1]: Entering directory `/home/aurise/Download/kbedic-4.0/src'
cd .. && \
  /bin/sh /home/aurise/Download/kbedic-4.0/missing --run automake --gnu  src/Makefile
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
       [-l dir] [--localdir=dir] [--version] [template-file]
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
/usr//share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr//share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
src/Makefile.am: C++ source seen but `CXX' is undefined
src/Makefile.am:
src/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
src/Makefile.am: to `configure.in' and run `autoconf' again.
src/Makefile.am:2: `CPPFLAGS' is a user variable, you should not override it;
src/Makefile.am:2: use `AM_CPPFLAGS' instead.
WARNING: `automake' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd .. && \
  CONFIG_HEADERS= CONFIG_LINKS= \
  CONFIG_FILES=src/Makefile /bin/sh ./config.status
creating src/Makefile
make[1]: Leaving directory `/home/aurise/Download/kbedic-4.0/src'
make[1]: Entering directory `/home/aurise/Download/kbedic-4.0/src'
Makefile:127: database.Po: No such file or directory
Makefile:128: history.Po: No such file or directory
Makefile:129: main.Po: No such file or directory
Makefile:130: registry.Po: No such file or directory
Makefile:131: test.Po: No such file or directory
Makefile:132: test.moc.Po: No such file or directory
Makefile:133: translator.Po: No such file or directory
Makefile:134: win.Po: No such file or directory
Makefile:135: win.moc.Po: No such file or directory
Makefile:138: *** missing separator.  Stop.
make[1]: Leaving directory `/home/aurise/Download/kbedic-4.0/src'
make: *** [all-recursive] Error 1



и край ..... '<img'>

пробвах с

aclocal autoconf automake

aclocal - става

на аутоконф ми дава:

autoconf
FATAL ERROR: Autoconf version 2.54 or higher is required for this script

но това не е вярно версията ми е:

autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright © 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


но като изтрия файла - configure от директорията на речника
и след това дам autoconf
ми прави нов файл configure без проблеми
след това давам automake дава ми :

automake
src/Makefile.am:2: `CPPFLAGS' is a user variable, you should not override it;
src/Makefile.am:2: use `AM_CPPFLAGS' instead.

тогава променям CPPFLAGS в този файл на AM_CPPFLAGS

и пак давам automake - този път става....


след това отново

./configure




./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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 for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for QT libraries... /usr/lib/qt3//lib
checking for QT includes... /usr/lib/qt3//include
checking for QT 3.0 or higher... yes
checking for moc... /usr/lib/qt3//bin/moc
checking for KDE 3... "no"
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: creating data/Makefile
config.status: executing depfiles commands

KDE 3 support : disabled. To enable use './configure --with-kde'.

Qt includes   : /usr/lib/qt3//include
Qt libraries  : /usr/lib/qt3//lib
Qt moc        : /usr/lib/qt3//bin/moc

Data directory: /usr/local/share

Good news! Look that you have all needed packages installed
Type 'make' (or 'gmake''<img'> to compile the program
After that type 'make install' to install the program and data
For 'make install' you must be root (su)
At the end in a X terminal window type 'kbedic' to run the program




и накрая отново

make

този път дава друго:



make
Making all in src
make[1]: Entering directory `/home/aurise/Download/kbedic-4.0/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"kbedic\" -DVERSION=\"4.0\" -DSTDC_HEADERS=1  -I. -I. -I/usr/X11R6/include -I/usr/lib/qt3//include     -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
/usr/lib/qt3//bin/moc -o win.moc.cpp win.h
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"kbedic\" -DVERSION=\"4.0\" -DSTDC_HEADERS=1  -I. -I. -I/usr/X11R6/include -I/usr/lib/qt3//include     -O2 -MT win.o -MD -MP -MF ".deps/win.Tpo" \
  -c -o win.o `test -f 'win.cpp' || echo './'`win.cpp; \
then mv -f ".deps/win.Tpo" ".deps/win.Po"; \
else rm -f ".deps/win.Tpo"; exit 1; \
fi
win.cpp: In member function 'void Win::setView(int)':
win.cpp:1159: error: expected type-specifier before 'QMotifPlusStyle'
win.cpp:1159: error: expected `)' before 'QMotifPlusStyle'
win.cpp:1159: error: no matching function for call to 'QApplication::setStyle(int*)'
/usr/lib/qt3//include/qapplication.h:92: note: candidates are: static void QApplication::setStyle(QStyle*)
/usr/lib/qt3//include/qapplication.h:93: note:                 static QStyle* QApplication::setStyle(const QString&)
win.cpp:1162: error: expected type-specifier before 'QMotifStyle'
win.cpp:1162: error: expected `)' before 'QMotifStyle'
win.cpp:1162: error: no matching function for call to 'QApplication::setStyle(int*)'
/usr/lib/qt3//include/qapplication.h:92: note: candidates are: static void QApplication::setStyle(QStyle*)
/usr/lib/qt3//include/qapplication.h:93: note:                 static QStyle* QApplication::setStyle(const QString&)
win.cpp:1165: error: expected type-specifier before 'QPlatinumStyle'
win.cpp:1165: error: expected `)' before 'QPlatinumStyle'
win.cpp:1165: error: no matching function for call to 'QApplication::setStyle(int*)'
/usr/lib/qt3//include/qapplication.h:92: note: candidates are: static void QApplication::setStyle(QStyle*)
/usr/lib/qt3//include/qapplication.h:93: note:                 static QStyle* QApplication::setStyle(const QString&)
make[1]: *** [win.o] Error 1
make[1]: Leaving directory `/home/aurise/Download/kbedic-4.0/src'
make: *** [all-recursive] Error 1





Много ви моля помогнете ми много искам да го ползвам
този речник.
Активен

aurise

  • Участници
  • ***
  • Публикации: 8
    • Профил
Проблем с инсталацията на kbe dic 4.0
« Отговор #1 -: Jun 17, 2006, 20:52 »
Хмм проблема е решен....
не искаше да ми инсталира и офис помощника
с който има по-нов речник
даваше и на него подобни грешки - проблема се реши
така:

./configure --with-qt-libraries=/usr/lib/qt3/lib64

и вече всичко работи... изгежда идеално този офис
помощник + двупосочния речник само една
малка забележка... където вади транскрипцията
на думите някой букви ми излизат с [] вместо
буква примерно при ugly --- ['[]gli]
кой font да си избера или какво да настроя за
да ми се оправи....

благодаря.
Активен

aurise

  • Участници
  • ***
  • Публикации: 8
    • Профил
Проблем с инсталацията на kbe dic 4.0
« Отговор #2 -: Jun 17, 2006, 21:27 »
благодаря ви за помоща  '<img'>  от тези които пробвах
най добре работи с Microsoft Sans Serif
излизат идеално всички транскрипции...

то тва линуксче все по мазно става най ме кефи
IRkick как управлява програмите с помоща на
lirc разбира се... girdera за windows ряпа да яде...
Активен

redcure

  • Напреднали
  • *****
  • Публикации: 914
    • Профил
Проблем с инсталацията на kbe dic 4.0
« Отговор #3 -: Jun 18, 2006, 12:43 »
Е няма защо да благодариш ... за нас беше удоволствие да ти помогнем  ':p'
Аз тамън щях да пиша за библиотеките, но май си нацъкал всичко сам.
Искам само да кажа едно голямо БРАВО и смело напред.

Успех
Активен

Debian testing 2.6.18, Enlightenment DR17

http://www.debian.org/doc/manuals/apt-howto/index.en.html