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

Linux секция за начинаещи => Настройка на програми => Темата е започната от: liktion в Apr 28, 2008, 14:15



Титла: Kbedic-4.0...
Публикувано от: liktion в Apr 28, 2008, 14:15
Не намерих rpm (Mandriva) на този речник и пробвах да го инсталирам ръчно, но:

Примерен код
[root@localhost kbedic-4.0]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-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++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.


Нямам си и идея...

Преди бях с Хубунту и го инсталирах с apt-get и бях доволен :(





Титла: Kbedic-4.0...
Публикувано от: neter в Apr 28, 2008, 17:58
Примерен код
yum install gcc
yum install cpp

Може би и
Примерен код
yum install gcc-c++






Титла: Kbedic-4.0...
Публикувано от: kbanev в Apr 28, 2008, 18:43
Нетер пича е с Мандрива и yum е за Ред Хат(и още). За Мандрива е
Примерен код
urpmi gcc cpp
или от rpmdrake си инсталирай gcc и cpp





Титла: Kbedic-4.0...
Публикувано от: liktion в Apr 29, 2008, 09:32
Стигнахме до "make":

Примерен код
[root@localhost kbedic-4.0]# make
Making all in src
make[1]: Entering directory `/home/alexander/Desktop/kbedic-4.0/src'
source='win.cpp' object='win.o' libtool=no \
        depfile='.deps/win.Po' tmpdepfile='.deps/win.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        c++ -DPACKAGE=\"kbedic\" -DVERSION=\"4.0\" -DSTDC_HEADERS=1  -I. -I.  -I/usr/lib/qt3//include   -Wall  -O2 -c -o win.o `test -f win.cpp || echo './'`win.cpp
In file included from win.cpp:69:
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon.xpm:32: warning: deprecated conversion from string constant to ‘char*’
In file included from win.cpp:70:
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
kbedic_icon_mini.xpm:22: warning: deprecated conversion from string constant to ‘char*’
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/alexander/Desktop/kbedic-4.0/src'
make: *** [all-recursive] Error 1
[root@localhost kbedic-4.0]#


Имам чувството, че нещо не е наред ???


Титла: Kbedic-4.0...
Публикувано от: buboleck в Apr 29, 2008, 13:13
Цитат (liktion @ Април 28 2008,14:15)
Не намерих rpm (Mandriva) на този речник и пробвах да го инсталирам ръчно, но:

Примерен код
[root@localhost kbedic-4.0]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-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++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.


Нямам си и идея...

Преди бях с Хубунту и го инсталирах с apt-get и бях доволен :(

Старо е... Сложи си БГ-Офис помощник http://bgoffice.sourceforge.net/assistant/index.html