Запомняне

» Здравейте
[ Вход :: Регистриране ]
Тема: kbgoffice, проблем при маке
Мнение #1 Skip to the next post in this topic.
Написано на: Април 11 2009, 13:25

Avatar




Група: Li fans
Мнения: 67
Регистриран: Май 2008

Оценка: няма

Offline
Моля подскажете как да поправя грешката при инсталиране то на kbgoffice
Код: 
niki@linux-g0q1:~/Program/kbgoffice-1.8> make
Making all in src                            
make[1]: Entering directory `/home/niki/Program/kbgoffice-1.8/src'
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bgoffice\" -DVERSION=\"1.8\" -DSTDC_HEADERS=1  -I. -I.  -I/usr/lib/qt3/include   -Wall  -O2 -c main.cpp                                                  
main.cpp: In function ‘int main(int, char**)’:                                                                                              
main.cpp:64: error: ‘getenv’ was not declared in this scope
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/niki/Program/kbgoffice-1.8/src'
make: *** [all-recursive] Error 1
Контакти:  zubizabi

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #2 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Април 11 2009, 23:07

Avatar




Група: Li fans
Мнения: 763
Регистриран: Февруари 2008

Оценка: 5

Offline
./configure ?

Контакти:  altoas

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
Мнение #3 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Април 13 2009, 16:53

Avatar




Група: Li fans
Мнения: 67
Регистриран: Май 2008

Оценка: няма

Offline
Код: 
niki@linux-g0q1:~> cd /home/niki/Program/kbgoffice-1.8
niki@linux-g0q1:~/Program/kbgoffice-1.8> ./configure  
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... missing                    
checking for working automake-1.4... missing                
checking for working autoheader... missing                  
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 , headers in standard search path
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 src/kbgoffice.desktop
config.status: creating icons/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') 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

niki@linux-g0q1:~/Program/kbgoffice-1.8>
Контакти:  zubizabi

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #4 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Април 14 2009, 11:07

Avatar




Група: Li fans
Мнения: 763
Регистриран: Февруари 2008

Оценка: 5

Offline
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

Контакти:  altoas

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
Мнение #5 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Април 14 2009, 16:52

Avatar




Група: Li fans
Мнения: 67
Регистриран: Май 2008

Оценка: няма

Offline
обърна ли внимание на този ред-
Код: 
main.cpp:64: error: ‘getenv’ was not declared in this scope
make[1]: *** [main.o] Error 1


и виж какво става после-
Код: 
niki@linux-g0q1:~> kbgoffice
bash: kbgoffice: command not found
Контакти:  zubizabi

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #6 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Април 14 2009, 21:47

No avatar chosen




Група: Li fans
Мнения: 55
Регистриран: Юли 2006

Оценка: няма

Offline