ďťż
 
 
   Instalacja ze źródeł - problem
 
 

Tematy

 
    
 

 

 

 

Instalacja ze źródeł - problem





Michal - 30-07-2007 01:10
Bardzo chcę zacząć instalować programy z archiwów *.tar.* ale chcę sobie zainstalować mały taki testowy programik do zarządzania plikami. Ok - rozpakowałem, wchodzę do katalogu tego programiku wpisuję ./configure i wywala mi to, że potrzebuje QT nowszego niż 1.41. W takim razie rodzi się pytanie - skąd to nowsze QT pobrać np QT4 albo QT3x? A gdy już je pobiorę to jak zainstalować? Zaznaczam, że szukałem tu na forum i w necie ogółem i nic nie znalazłem, co mogłoby się okazać dla mnie pomocne. Jeśli to by miało pomóc, zamieszczę komunikat, jaki wypluwa konsloka.

michal:/home/michal# cd /home/michal/Desktop/kruiser-0.4
michal:/home/michal/Desktop/kruiser-0.4# ./configure
loading cache ./config.cache
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... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for a C-Compiler...
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 how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... g++
checking whether the C++ compiler (g++  -s) works... yes
checking whether the C++ compiler (g++  -s) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking how to run the C++ preprocessor... g++ -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking whether ln -s works... yes
checking for object suffix... o
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.lo... yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking if g++ static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for X... libraries , headers
checking for main in -lcompat... no
checking for main in -lcrypt... yes
checking for the third argument of getsockname... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for killpg in -lucb... no
checking for Qt... configure: error: Qt >= 1.41 (headers and libraries) not found. Please check your installation!
michal:/home/michal/Desktop/kruiser-0.4# PS. ten programik instaluję tylko tak by sprawdzić czy da się obecnie na moim kompie instalować tary oraz by sprawdzić co zrobić aby nie mieć już takich podstawowych problemów.



Kaka' - 30-07-2007 06:41
Być może chodzi o paczkę libqt3-mt-dev - ale mogę się mylić. Jak nie zadziała, spróbuj jeszcze zainstalować odpowiednią paczkę dla Qt4.



Michal - 30-07-2007 17:06
A skąd to Qt4 wziąć i jak to zainstalować? Bo jak zainstalowałem tą paczkę co mi podałeś to dalej to samo - zbyt stara biblioteka Qt



ruun - 30-07-2007 17:16

A skąd to Qt4 wziąć i jak to zainstalować? Szukaj:

aptitude search libqt4



Michal - 30-07-2007 17:19
Ruun - pokazało mi te pliki jak wpisałem tą komendę:
aptitude search libqt4
p libqt4-core - Qt 4 core non-GUI functionality runtime li
p libqt4-debug - Qt 4 library debugging symbols
p libqt4-dev - Qt 4 development files
p libqt4-gui - Qt 4 core GUI functionality runtime librar
p libqt4-qt3support - Qt 3 compatibility library for Qt 4
p libqt4-ruby - ruby bindings for the Qt4 GUI library
p libqt4-ruby1.8 - ruby bindings for the Qt4 GUI library
p libqt4-sql - Qt 4 SQL database module

Które z nich mam zainstalować? Wszystkie?



ruun - 30-07-2007 17:26
Do kompilacji powinien wystarczyć ten z -dev na końcu.



Michal - 30-07-2007 17:28
Ok to ściągam plik libqt4-dev i zobaczymy co się będzie działo.

[ Dodano: 2007-07-30, 17:44 ]
Zainstalowałem i dalej to samo wywala mi to:

michal:/home/michal/Desktop/kruiser-0.4# ./configure
loading cache ./config.cache
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... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a C-Compiler...
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 how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... g++
checking whether the C++ compiler (g++  -s) works... yes
checking whether the C++ compiler (g++  -s) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking how to run the C++ preprocessor... g++ -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking whether ln -s works... yes
checking for object suffix... o
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.lo... yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking if g++ static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for X... libraries , headers
checking for main in -lcompat... no
checking for main in -lcrypt... yes
checking for the third argument of getsockname... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for killpg in -lucb... no
checking for Qt... configure: error: Qt >= 1.41 (headers and libraries) not found. Please check your installation!
Ten mój komp jest jakiś porypany chyba :-(



Lorenzo - 30-07-2007 21:04
spróbuj dodać ścieżkę do bibliotek qt4 do zmiennej PATH, a ścieżkę do nagłówków ustaw w zmiennej QTDIR.



Michal - 30-07-2007 21:07
Lorenzo wytłumacz mi prosze krok po kroku jak mam to zrobić bo jestem początkujący i mało wiem w tej materii. Jeszcze :mrgreen:



Lorenzo - 30-07-2007 21:30
wykonaj w konsoli:
export QTDIR="/usr/share/qt4/" i w tej samej konsoli odpal ta kompilację.

Możesz jeszcze sprawdzić czy w opcjach configure jest flaga
    l--qtdir=
    lub
    --qt4dir=l
Jeśli jest, wówczas odpal configure z nią dodając po = /usr/share/qt4.

Ewentualnie spróbuj zastąpić tą ścieżkę taką - "/usr/include/qt4"

P.S. Zakładam, że libqt4-core i libqt4-debug równiez masz zainstalowane.
P.P.S. Jak nadal nie ruszy to zarzuć config.log.



ruun - 30-07-2007 21:32
Czytałeś dokumenty README i INSTALL, na pewno w archiwum z programem są jakieś pomocne informacje.



Kaka' - 30-07-2007 21:38

Ten mój komp jest jakiś porypany chyba :-( Tutaj komputer raczej nic do gadania nie ma - po prostu brakuje Ci jakiejś paczki/paczek i tyle (IMO).



Michal - 30-07-2007 21:42
Ruun - nie czytałem bo korzystam z repo wyłącznie. Lorenzo - nie mam debuga i Core zainstalowanych. Jak je zainstaluje to wykonam tą komendę, którą mi poleciłeś. NIe poddam się -będę walczył do ostatniego bita krwi! :mrgreen:



Kaka' - 30-07-2007 21:44

Ruun - nie czytałem No to źle, bo to są pliki, której przed kompilacją należy przeczytać (IMO).



Michal - 30-07-2007 21:48
Ruun - nie wiem o który program Ci chodzi - o ten ch chce zainstalować testowo czy o Qt? Bo testowy to czytałem i tam nie ma nic prócz: ./configure, make, make install. A Qt to operuję tylko na repo.

[ Dodano: 2007-07-30, 22:08 ]
A w jakiej lokalizacji znajduje się config.log bo dalej nie działa...

[ Dodano: 2007-07-30, 22:13 ]
Jeśłi o chodzi o config.log to znalazłem go w katalogu programiku, który chcę zainstalować mam nadzieję, że o ten chodzi:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:597: checking for a BSD compatible install
configure:654: checking whether build environment is sane
configure:711: checking whether make sets ${MAKE}
configure:758: checking for working aclocal
configure:771: checking for working autoconf
configure:784: checking for working automake
configure:797: checking for working autoheader
configure:810: checking for working makeinfo
configure:858: checking for a C-Compiler
configure:864: checking for gcc
configure:970: checking whether the C compiler (gcc  ) works
configure:986: gcc -o conftest    conftest.c  1>&5
configure:1012: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1017: checking whether we are using GNU C
configure:1026: gcc -E conftest.c
configure:1091: checking how to run the C preprocessor
configure:1112: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1153: checking for a C++-Compiler
configure:1159: checking for g++
configure:1275: checking whether the C++ compiler (g++  -s) works
configure:1291: g++ -o conftest  -s conftest.C  1>&5
configure:1317: checking whether the C++ compiler (g++  -s) is a cross-compiler
configure:1322: checking whether we are using GNU C++
configure:1331: g++ -E conftest.C
configure:1417: checking how to run the C++ preprocessor
configure:1436: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:1472: checking host system type
configure:1513: checking build system type
configure:1554: checking for ranlib
configure:1593: checking for ld used by GCC
configure:1686: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld (GNU Binutils for Debian) 2.17.50.20070718
configure:1702: checking for BSD-compatible nm
configure:1738: checking command to parse /usr/bin/nm -B output
configure:1801: gcc -c -O2 -Wall  conftest.c 1>&5
conftest.c: In function 'main':
conftest.c:9: warning: statement with no effect
configure:1804: /usr/bin/nm -B conftest.o | sed -n -e 's/^.* [ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1862: gcc -o conftest -O2 -Wall  -s conftest.c conftestm.o 1>&5
conftest.c:5: warning: 'main' is usually a function
configure:1898: checking whether ln -s works
ltconfig:552: checking for object suffix
ltconfig:553: g++ -c -O2 -Wall  conftest.c 1>&5
ltconfig:674: checking if g++ PIC flag -fPIC works
ltconfig:675: g++ -c -O2 -Wall -fPIC -DPIC  conftest.c 1>&5
ltconfig:709: checking if g++ supports -c -o file.o
ltconfig:710: g++ -c -O2 -Wall -c -o conftest2.o  conftest.c 1>&5
ltconfig:737: checking if g++ supports -c -o file.lo
ltconfig:738: g++ -c -O2 -Wall -c -o conftest.lo  conftest.c 1>&5
ltconfig:789: checking if g++ supports -fno-rtti -fno-exceptions
ltconfig:790: g++ -c -O2 -Wall -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:833: checking if g++ static flag -static works
ltconfig:834: g++ -o conftest -O2 -Wall  -static conftest.c  1>&5
conftest.c:1: warning: ISO C++ forbids declaration of 'main' with no type
GNU ld (GNU Binutils for Debian) 2.17.50.20070718
ltconfig:1425: checking if global_symbol_pipe works
ltconfig:1426: g++ -c -O2 -Wall  conftest.c 1>&5
conftest.c:9: warning: ISO C++ forbids declaration of 'main' with no type
ltconfig:1429: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.* [ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm"
ltconfig:1487: g++ -o conftest -O2 -Wall -fno-builtin -fno-rtti -fno-exceptions  conftest.c conftestm.o 1>&5
configure:2173: checking whether NLS is requested
configure:2201: checking for msgfmt
configure:2235: checking for gmsgfmt
configure:2280: checking for xgettext
configure:2328: checking for X
configure:2353: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2429: gcc -o conftest -O2 -Wall  -s conftest.c -lXt  1>&5
configure: In function 'main':
configure:2425: warning: implicit declaration of function 'XtMalloc'
configure:2585: checking for main in -lcompat
configure:2600: gcc -o conftest -O2 -Wall  -s conftest.c -lcompat  1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 2593 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2621: checking for main in -lcrypt
configure:2636: gcc -o conftest -O2 -Wall  -s conftest.c -lcrypt  1>&5
configure:2657: checking for the third argument of getsockname
configure:2682: g++ -c -O2 -Wall  conftest.C 1>&5
configure:2746: checking for dnet_ntoa in -ldnet
configure:2765: gcc -o conftest -O2 -Wall  -s conftest.c -ldnet  1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2754 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2787: checking for dnet_ntoa in -ldnet_stub
configure:2806: gcc -o conftest -O2 -Wall  -s conftest.c -ldnet_stub  1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2795 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2828: checking for inet_ntoa
configure:2857: gcc -o conftest -O2 -Wall  -s conftest.c  1>&5
configure:2919: checking for connect
configure:2948: gcc -o conftest -O2 -Wall  -s conftest.c  1>&5
configure:3011: checking for remove
configure:3040: gcc -o conftest -O2 -Wall  -s conftest.c  1>&5
configure:3104: checking for shmat
configure:3133: gcc -o conftest -O2 -Wall  -s conftest.c  1>&5
configure:3199: checking for killpg in -lucb
configure:3218: gcc -o conftest -O2 -Wall  -s conftest.c -lucb  1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 3207 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char killpg();

int main() {
killpg()
; return 0; }
configure:3292: checking for Qt
tried /usr/share/qt4//lib
tried /usr/share/qt4/
tried /usr/lib/qt/lib
tried /usr/X11R6/lib
configure:3396: g++ -o conftest -O2 -Wall -INO  -L/usr/lib  conftest.C  -lqt -lXext -lX11  1>&5
conftest.C:2:21: error: qglobal.h: No such file or directory
conftest.C:3:26: error: qapplication.h: No such file or directory
conftest.C:4:22: error: qobjcoll.h: No such file or directory
conftest.C:7:2: error: #error 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qobjcoll.h>

#if ! (QT_VERSION >= 141)
#error 1
#endif

int main() {
    return 0; }



ruun - 30-07-2007 22:13
ÂŚciągnąłem tak z ciekawości ten programik. Okazuje się że nie jest on już rozwijany, a ta wersja 0.4 jest z 1999 roku i była przeznaczona dla KDE 1.1. Ja bym sobie z tym dał spokój. Osiem lat to przepaść.



Michal - 30-07-2007 22:16
Wiem ale ja go instaluje tylko dla testu żeby sprawdzić, czy na moim systemieda się instalować programy ze źródeł. OK ściągnąłem sobie iny programik, NOWSZY i jak dałem ./configure wyskoczyło to:
michal:/home/michal/Desktop/gnokii-0.6.4# ./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 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 flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for rm... /bin/rm
checking for find... /usr/bin/find
checking for gmake... no
checking for make... make
checking for ar... ar
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library path variable... /bin/sh: config/config.libpath: No such file or directory
none
checking whether to activate relocatable installation... no
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for library containing strerror... none required
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for locale_charset... no
checking for include/config.h.in... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for tm_gmtoff in struct tm... yes
checking for timer operations... yes
checking for cfsetspeed in termios.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether libical is installed... no
checking for gethostbyname... yes
checking for linux/irda.h... yes
checking for the bluetooth support...
checking for the struct sockaddr_rc in <bluetooth/rfcomm.h>... no
checking for the MacOS X bluetooth support...
checking CoreFoundation/CoreFoundation.h usability... no
checking CoreFoundation/CoreFoundation.h presence... no
checking for CoreFoundation/CoreFoundation.h... no
checking IOBluetooth/Bluetooth.h usability... no
checking IOBluetooth/Bluetooth.h presence... no
checking for IOBluetooth/Bluetooth.h... no
checking IOBluetooth/IOBluetoothUserLib.h usability... no
checking IOBluetooth/IOBluetoothUserLib.h presence... no
checking for IOBluetooth/IOBluetoothUserLib.h... no
checking for the FreeBSD/netgraph bluetooth support...
checking for the struct sockaddr_rfcomm in <netgraph/.../ng_btsocket.h>... no
checking for X... libraries , headers
checking X11/xpm.h usability... no
checking X11/xpm.h presence... no
checking for X11/xpm.h... no
checking for XpmWriteFileFromXpmImage in -lXpm... no
configure: WARNING: Cannot found library libXpm - disabling XPM support.
checking for gtk-config... no
checking for gtk12-config... no
configure: WARNING: Cannot find gtk-config.
configure: WARNING: Disabling xgnokii.
checking for socket in -lsocket... no
checking for grantpt... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking for stddef.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for pid_t... yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for long long... yes
checking for long double... yes
checking for __ptr_t... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for mktime... yes
checking for gettimeofday... yes
checking for select... yes
checking for poll... yes
checking for wcrtomb... yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for strstr... yes
checking for strtol... yes
checking for strtok... yes
checking for strsep... yes
checking for asprintf... (cached) yes
checking for vasprintf... yes
checking for snprintf... (cached) yes
checking for vsnprintf... yes
checking for ISO C99 compliant snprintf... yes
checking for ISO C99 compliant vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile.global
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating packaging/RedHat/gnokii.spec
config.status: creating packaging/Slackware/SlackBuild
config.status: creating packaging/Slackware/SlackBuild-xgnokii
config.status: creating common/gnokii.pc
config.status: creating include/config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

  G N O K I I

  A Linux/Unix toolset and driver for Nokia mobile phones.

  Copyright (C) 1999-2002  The Gnokii Development Team.

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  See file COPYING for more details.

    Host system:        linux-gnu
    Gnokii version:    0.6.4
    Xgnokii version:    20040720
    X (GTK) support:    no
    Debug:              yes
    XDebug:            yes
    RLPDebug:          yes
    NLS:                yes
    IrDA:              yes
    ical read support:  no
    Bluetooth:          no
    Security:          no
    Build Shared Lib:  yes
    Build Static Lib:  yes
    Win32:              no
    Prefix:            /usr/local

  Type 'make' for compilation and then 'make install',
  'make install-suid', 'make install-strip' or 'make install-ss' to
  install gnokii. If you wish to install gnokii sgid gnokii (install-suid or
  install-ss) be sure to have 'gnokii' group in your system. A potem dałem make i pokazalo mi się to:
michal:/home/michal/Desktop/gnokii-0.6.4# make
make -C common/phones
make[1]: Wejście do katalogu `/home/michal/Desktop/gnokii-0.6.4/common/phones'
/bin/sh ../../libtool --mode=compile gcc -g -O2  -I../../include  -o nk7110.lo -c nk7110.c
 gcc -g -O2 -I../../include -c nk7110.c  -fPIC -DPIC -o .libs/nk7110.o
nk7110.c: In function 'NK7110_Functions':
nk7110.c:187: error: invalid lvalue in assignment
nk7110.c: In function 'NK7110_Initialise':
nk7110.c:325: error: invalid lvalue in assignment
nk7110.c:353: error: invalid lvalue in assignment
nk7110.c:371: error: invalid lvalue in assignment
make[1]: *** [nk7110.lo] Błąd 1
make[1]: Opuszczenie katalogu `/home/michal/Desktop/gnokii-0.6.4/common/phones'
make: *** [common/phones] Błąd 2 [ Dodano: 2007-07-31, 00:01 ]
Już wszystko jest ok :-) ÂŚmiga aż miło :mrgreen:
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis