Титла: проблем с бг офис Публикувано от: angela55 в Dec 28, 2004, 19:28 значи реших да си инсталирам kbgoffice-1.6 .както пише в инструкциите в директорията написах./ configure --with-kde и се получи това
angel@angel:~/kbgoffice-1.6> ./configure --with-kde checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing 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 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 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/lib, headers /usr/X11R6/include 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... libraries /opt/kde3/lib, headers NO configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: creating src/kbgoffice.desktop config.status: creating icons/Makefile KDE 3 support : enabled KDE 3 includes: NO KDE 3 libs : /opt/kde3/lib 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' 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 'kbgoffice' to run the program значи би трябвало всичко да е наредно като написах make в конзолата ми се получи това angel@angel:~/kbgoffice-1.6> make Making all in src make[1]: Entering directory `/home/angel/kbgoffice-1.6/src' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bgoffice\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1 -DWITH_KDE=1 -I. -I. -I/usr/lib/qt3/include -INO -Wall -O2 -c main.cpp main.cpp:32:18: kapp.h: No such file or directory main.cpp:33:26: kcmdlineargs.h: No such file or directory main.cpp:34:25: kmessagebox.h: No such file or directory In file included from win.h:33, from main.cpp:43: watchclipboard.h:33:24: dcopclient.h: No such file or directory watchclipboard.h:34:24: dcopobject.h: No such file or directory In file included from win.h:33, from main.cpp:43: watchclipboard.h:46: error: syntax error before `{' token watchclipboard.h:48: error: virtual outside class declaration watchclipboard.h:48: error: non-member function `const char* className()' cannot have `const' method qualifier watchclipboard.h:48: error: virtual outside class declaration watchclipboard.h:48: error: virtual outside class declaration watchclipboard.h:48: error: virtual outside class declaration watchclipboard.h:48: error: virtual outside class declaration watchclipboard.h: In function `QObject* qObject()': watchclipboard.h:48: error: invalid use of `this' in non-member function watchclipboard.h: At global scope: watchclipboard.h:48: error: syntax error before `private' watchclipboard.h:52: error: destructors must be member functions watchclipboard.h:62: error: syntax error before `protected' watchclipboard.h:69: error: syntax error before `private' watchclipboard.h:73: error: syntax error before `*' token watchclipboard.h:76: error: syntax error before `}' token In file included from win.h:34, from main.cpp:43: systemtray.h:33:26: kglobalaccel.h: No such file or directory systemtray.h:34:25: ksystemtray.h: No such file or directory In file included from win.h:34, from main.cpp:43: systemtray.h:46: error: syntax error before `{' token systemtray.h:48: error: virtual outside class declaration systemtray.h:48: error: non-member function `const char* className()' cannot have `const' method qualifier systemtray.h:48: error: virtual outside class declaration systemtray.h:48: error: virtual outside class declaration systemtray.h:48: error: virtual outside class declaration systemtray.h:48: error: virtual outside class declaration systemtray.h: In function `QObject* qObject()': systemtray.h:48: error: redefinition of `QObject* qObject()' watchclipboard.h:48: error: `QObject* qObject()' previously defined here systemtray.h:48: error: redefinition of `QObject* qObject()' watchclipboard.h:48: error: `QObject* qObject()' previously defined here systemtray.h:48: error: invalid use of `this' in non-member function systemtray.h: At global scope: systemtray.h:48: error: default argument given for parameter 2 of `QString tr(const char*, const char*)' watchclipboard.h:48: error: after previous specification in `QString tr(const char*, const char*)' systemtray.h:48: error: default argument given for parameter 2 of `QString trUtf8(const char*, const char*)' watchclipboard.h:48: error: after previous specification in `QString trUtf8(const char*, const char*)' systemtray.h:48: error: syntax error before `private' systemtray.h:52: error: destructors must be member functions systemtray.h:54: error: syntax error before `*' token systemtray.h:60: error: syntax error before `protected' systemtray.h:67: error: syntax error before `private' systemtray.h:72: error: syntax error before `}' token In file included from main.cpp:43: win.h:164: error: syntax error before `*' token win.h:165: error: syntax error before `*' token main.cpp: In function `int main(int, char**)': main.cpp:79: error: `KCmdLineArgs' undeclared (first use this function) main.cpp:79: error: (Each undeclared identifier is reported only once for each function it appears in.) main.cpp:79: error: syntax error before `::' token main.cpp:80: error: `KApplication' undeclared (first use this function) main.cpp:91: error: `QTranslator' undeclared (first use this function) main.cpp:91: error: syntax error before `(' token main.cpp:92: error: `qtr' undeclared (first use this function) main.cpp:93: error: `a' undeclared (first use this function) main.cpp:105: error: incomplete type 'QApplication' cannot be used to name a scope main.cpp:109: error: `KMessageBox' undeclared (first use this function) main.cpp:109: error: syntax error before `::' token translator_manager.h: At top level: systemtray.h:48: warning: `bool qt_static_property(QObject*, int, int, QVariant*)' declared `static' but never defined systemtray.h:48: warning: `QMetaObject* staticMetaObject()' declared `static' but never defined systemtray.h:48: warning: `QString tr(const char*, const char*)' declared `static' but never defined systemtray.h:48: warning: `QString trUtf8(const char*, const char*)' declared `static' but never defined make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/home/angel/kbgoffice-1.6/src' make: *** [all-recursive] Error 1 angel@angel:~/kbgoffice-1.6> предварително се извинявам за дългото четене от ваша страна но според мен това сте ви трябва за да разберете проблема та въпроса ми е какъв му е проблема на този офис-помощник и защо не иска да се компилира предварително благодаря на всички които ще помогнат Титла: проблем с бг офис Публикувано от: ray в Dec 28, 2004, 21:19 Здравей,
като първо предложение може да опиташ "./configure" без '--with-kde', ще си работи и без kde-интеграция. Иначе изглежда грешката идва от липсата на 'kde3-header' файловете. Виж тук: ...BEGIN... KDE 3 support : enabled KDE 3 includes: NO <-------------------------------- KDE 3 libs : /opt/kde3/lib Qt includes : /usr/lib/qt3/include Qt libraries : /usr/lib/qt3/lib Qt moc : /usr/lib/qt3/bin/moc ...END... Май затова после следва: ... main.cpp:32:18: kapp.h: No such file or directory main.cpp:33:26: kcmdlineargs.h: No such file or directory main.cpp:34:25: kmessagebox.h: No such file or directory In file included from win.h:33, from main.cpp:43: ... Тоест наистина липсват (filename.h) или не ги намира правилно. Ак искаш да е с KDE-интеграция трябва да ги инсталираш, как да стане това зависи от дистрото ти. PS:добре е още в началото да се дава поне основна информация, дистро, ядро, нещо особено ако има ... Успех. Румен Титла: проблем с бг офис Публикувано от: Pinball_Master в Dec 28, 2004, 22:10 Извинете, аз ли недовиждам или всичко по-нагоре е правено като юзер (гледам, че пише
Титла: проблем с бг офис Публикувано от: v_badev в Dec 28, 2004, 22:38
Трябва да си root само за make install. Според мен ray е прав за хедърите. Титла: проблем с бг офис Публикувано от: angela55 в Dec 28, 2004, 22:40 ами да като юзер е правено ама то нали пише че make install само се изпълнява като су ама може и да си прав
ами със сусе 9.2 про съм ако може ми кажи откаде да си го сваля тези файлове и как да ги инсталирам Титла: проблем с бг офис Публикувано от: angela55 в Dec 29, 2004, 01:08 браво бе ray ти си бил разбирач мерси на съветите на всички- стана
Титла: проблем с бг офис Публикувано от: angela55 в Dec 29, 2004, 01:11 ааа извинявайте ама като е трагнало на речници много ми трябва немско български поне от ранга на КОРАЛ за линукса има ли въобще такова чудо за линукс
Титла: проблем с бг офис Публикувано от: v_badev в Dec 29, 2004, 09:35
Мисля че няма, но може да се опиташ да пуснеш някой за Windows с Wine. Титла: проблем с бг офис Публикувано от: the_real_maniac в Dec 29, 2004, 11:21 Значи аз правя следното:
german -> english dict.cc и ако не знам английската дума или не мога да се ориентирам: sa.dir.bg english -> bulgarian Като са възможни всякакви други вариация <-> dict.cc - много добър !!! Титла: проблем с бг офис Публикувано от: CaBA в Dec 29, 2004, 20:29 Липсва ти пакета kdelibs3-devel, затова не се компилира.
Иначе може и така:
Взимаш горното, пляскаш го във файла /usr/src/packages/SPECS/kbgoffice.spec изпълняваш командата rpmbuild -bb /usr/src/packages/SPECS/kbgoffice.spec и после инсталираш изградения RPM пакет. |