Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
GNokii - problem przy kompilacji http://forum.freesco.pl/viewtopic.php?f=24&t=18491 |
Strona 1 z 1 |
Autor: | oset17 [ czwartek, 3 lutego 2011, 00:42 ] |
Tytuł: | GNokii - problem przy kompilacji |
Witam Czy używa ktoś pakietu GNokii? Właśnie staram się podłączyć telefon pod NND i napotykam problem przy kompilacji GNokii v. 0.6.29 Cytuj: gnokii-0.6.29]# ./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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for rm... /bin/rm checking for find... /usr/bin/find checking for gmake... no checking for make... make checking for ar... ar checking whether NLS is requested... yes checking for intltool >= 0.35.0... ./configure: line 5762: intltool-update: command not found found configure: error: Your intltool is too old. You need intltool 0.35.0 or later. Ściągnąłem intltool : Cytuj: intltool-0.41.1]# ./configure
checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.8.8 checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool Lecz teraz za bardzo nie wiem co ściągnąć, szukam w Google i nie mogę znaleźć parser xml Miał ktoś podobny problem podczas kompilacji GNokii? |
Autor: | Maciek [ czwartek, 3 lutego 2011, 00:52 ] |
Tytuł: | |
Na NND może to być problem wszystko jest przestarzałe. Spróbuj zainstalować moduł perla - poszukaj go w cpan. Potem dopiero reszta. |
Autor: | oset17 [ czwartek, 3 lutego 2011, 01:10 ] |
Tytuł: | |
Właśnie zainstalowałem perl'a lecz w dalszym ciągu pojawia się error o XML::Parser A czy jest możliwość dokompilowania samego Parser'a ? |
Autor: | Maciek [ czwartek, 3 lutego 2011, 01:19 ] |
Tytuł: | |
XML::Parser - ten moduł perla musisz dokompilować. http://search.cpan.org/~chorny/XML-Pars ... /Parser.pm |
Autor: | oset17 [ czwartek, 3 lutego 2011, 01:30 ] |
Tytuł: | |
Nigdy nie robiłem czegoś takiego z modułami perla. Mam laiczne pytanie jak się za to zabrać? ./configure wywala że nie ma takiego pliku. A po wejściu do pliku readme muszę do tego zainstalować jeszcze Expact? |
Autor: | Maciek [ czwartek, 3 lutego 2011, 01:45 ] |
Tytuł: | |
Rozpakuj archiwum , wykonaj perl Makefile.PL (tak jakoś to się chyba nazywa), a potem już normalnie make i make install. |
Autor: | oset17 [ czwartek, 3 lutego 2011, 01:53 ] |
Tytuł: | |
Dzięki wielkie za pomoc. Teraz inny problem, kompilacja intltool przechodzi OK a natomiast samego gnokii wywala nadal: Cytuj: checking for intltool >= 0.35.0... ./configure: line 5762: intltool-update: command not found
found configure: error: Your intltool is too old. You need intltool 0.35.0 or later. |
Autor: | Maciek [ czwartek, 3 lutego 2011, 02:02 ] |
Tytuł: | |
A intltool masz na pewno zainstalowane? Komendy make i make install były bez błędów? Możesz ewentualnie sprawdzić, co jest w configure w tej linii, może ten warunek nie jest potrzebny? |
Autor: | oset17 [ czwartek, 3 lutego 2011, 02:18 ] |
Tytuł: | |
To wszystko co poszło: Cytuj: [xxx@xxx intltool-0.41.1]$ ./configure
checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.8.8 checking for XML::Parser... ok configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating intltoolize config.status: creating tests/Makefile config.status: creating tests/cases/Makefile config.status: creating tests/results/Makefile config.status: creating tests/selftest.pl [xxx@xxx intltool-0.41.1]$ make Making all in tests make[1]: Entering directory `/home/piotrk/intltool-0.41.1/tests' Making all in cases make[2]: Entering directory `/home/piotrk/intltool-0.41.1/tests/cases' make[2]: Nie nic do roboty w `all'. make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/tests/cases' Making all in results make[2]: Entering directory `/home/piotrk/intltool-0.41.1/tests/results' make[2]: Nie nic do roboty w `all'. make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/tests/results' make[2]: Entering directory `/home/piotrk/intltool-0.41.1/tests' make[2]: Nie nic do roboty w `all-am'. make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/tests' make[1]: Leaving directory `/home/piotrk/intltool-0.41.1/tests' Making all in doc make[1]: Entering directory `/home/piotrk/intltool-0.41.1/doc' make[1]: Nie nic do roboty w `all'. make[1]: Leaving directory `/home/piotrk/intltool-0.41.1/doc' make[1]: Entering directory `/home/piotrk/intltool-0.41.1' sed -e 's|[@]PACKAGE@|intltool|g' -e 's|[@]VERSION@|0.41.1|g' -e "s|[@]INTLTOOL_PERL@|/usr/bin/perl|g" -e "s|[@]INTLTOOL_LIBDIR@|/usr/local/lib|g" < intltool-extract.in > intltool-extract chmod +x intltool-extract sed -e 's|[@]PACKAGE@|intltool|g' -e 's|[@]VERSION@|0.41.1|g' -e "s|[@]INTLTOOL_PERL@|/usr/bin/perl|g" -e "s|[@]INTLTOOL_LIBDIR@|/usr/local/lib|g" < intltool-merge.in > intltool-merge chmod +x intltool-merge sed -e 's|[@]PACKAGE@|intltool|g' -e 's|[@]VERSION@|0.41.1|g' -e "s|[@]INTLTOOL_PERL@|/usr/bin/perl|g" -e "s|[@]INTLTOOL_LIBDIR@|/usr/local/lib|g" < intltool-update.in > intltool-update chmod +x intltool-update sed -e 's|[@]PACKAGE@|intltool|g' -e 's|[@]VERSION@|0.41.1|g' -e "s|[@]INTLTOOL_PERL@|/usr/bin/perl|g" -e "s|[@]INTLTOOL_LIBDIR@|/usr/local/lib|g" < intltool-prepare.in > intltool-prepare chmod +x intltool-prepare make[1]: Leaving directory `/home/piotrk/intltool-0.41.1' [xxx@xxx intltool-0.41.1]$ su - Password: [root@xxx ~]# cd /home/piotrk/intltool-0.41.1 [root@xxx intltool-0.41.1]# make install Making install in tests make[1]: Entering directory `/home/piotrk/intltool-0.41.1/tests' Making install in cases make[2]: Entering directory `/home/piotrk/intltool-0.41.1/tests/cases' make[3]: Entering directory `/home/piotrk/intltool-0.41.1/tests/cases' make[3]: Nie nic do roboty w `install-exec-am'. make[3]: Nie nic do roboty w `install-data-am'. make[3]: Leaving directory `/home/piotrk/intltool-0.41.1/tests/cases' make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/tests/cases' Making install in results make[2]: Entering directory `/home/piotrk/intltool-0.41.1/tests/results' make[3]: Entering directory `/home/piotrk/intltool-0.41.1/tests/results' make[3]: Nie nic do roboty w `install-exec-am'. make[3]: Nie nic do roboty w `install-data-am'. make[3]: Leaving directory `/home/piotrk/intltool-0.41.1/tests/results' make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/tests/results' make[2]: Entering directory `/home/piotrk/intltool-0.41.1/tests' make[3]: Entering directory `/home/piotrk/intltool-0.41.1/tests' make[3]: Nie nic do roboty w `install-exec-am'. make[3]: Nie nic do roboty w `install-data-am'. make[3]: Leaving directory `/home/piotrk/intltool-0.41.1/tests' make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/tests' make[1]: Leaving directory `/home/piotrk/intltool-0.41.1/tests' Making install in doc make[1]: Entering directory `/home/piotrk/intltool-0.41.1/doc' make[2]: Entering directory `/home/piotrk/intltool-0.41.1/doc' make[2]: Nie nic do roboty w `install-exec-am'. test -z "/usr/local/share/man/man8" || /bin/mkdir -p "/usr/local/share/man/man8" /bin/install -c -m 644 intltoolize.8 intltool-extract.8 intltool-merge.8 intltool-prepare.8 intltool-update.8 '/usr/local/share/man/man8' make[2]: Leaving directory `/home/piotrk/intltool-0.41.1/doc' make[1]: Leaving directory `/home/piotrk/intltool-0.41.1/doc' make[1]: Entering directory `/home/piotrk/intltool-0.41.1' make[2]: Entering directory `/home/piotrk/intltool-0.41.1' test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /bin/install -c intltool-extract intltool-merge intltool-update intltoolize intltool-prepare '/usr/local/bin' test -z "/usr/local/share/aclocal" || /bin/mkdir -p "/usr/local/share/aclocal" /bin/install -c -m 644 intltool.m4 '/usr/local/share/aclocal' test -z "/usr/local/share/intltool" || /bin/mkdir -p "/usr/local/share/intltool" /bin/install -c -m 644 Makefile.in.in '/usr/local/share/intltool' make[2]: Leaving directory `/home/piotrk/intltool-0.41.1' make[1]: Leaving directory `/home/piotrk/intltool-0.41.1' Chyba nie ma tu nic o niepowodzeniu? |
Autor: | Maciek [ czwartek, 3 lutego 2011, 02:31 ] |
Tytuł: | |
Wygląda na to, że wszystko poszło ok. Znajdź w configure ten warunek ">= 0.35.0." i zmień go na wersję, którą zainstalowałeś, może tam jest jakiś błąd składni. |
Autor: | oset17 [ czwartek, 3 lutego 2011, 02:35 ] |
Tytuł: | |
Błąd był w kompilacji intltool. nalezy przy ./configure dodać parametr --prefix=//usr && Cytuj: ./configure --prefix=/usr && Jestem ciekaw czy uda się teraz zmusić NND do współpracy z komórką, jak na razie GNokii wywala Cytuj: [piotrk@bidziny_info gnokii-0.6.29]$ make Making all in getopt make[1]: Entering directory `/home/piotrk/gnokii-0.6.29/getopt' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -fno-strict-aliasing -MT libgetopt_a-getopt1.o -MD -MP -MF .deps/libgetopt_a-getopt1.Tpo -c -o libgetopt_a-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c mv -f .deps/libgetopt_a-getopt1.Tpo .deps/libgetopt_a-getopt1.Po gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -fno-strict-aliasing -MT libgetopt_a-getopt.o -MD -MP -MF .deps/libgetopt_a-getopt.Tpo -c -o libgetopt_a-getopt.o `test -f 'getopt.c' || echo './'`getopt.c mv -f .deps/libgetopt_a-getopt.Tpo .deps/libgetopt_a-getopt.Po rm -f libgetopt.a ar cru libgetopt.a libgetopt_a-getopt1.o libgetopt_a-getopt.o ranlib libgetopt.a make[1]: Leaving directory `/home/piotrk/gnokii-0.6.29/getopt' Making all in include make[1]: Entering directory `/home/piotrk/gnokii-0.6.29/include' make all-recursive make[2]: Entering directory `/home/piotrk/gnokii-0.6.29/include' Making all in data make[3]: Entering directory `/home/piotrk/gnokii-0.6.29/include/data' make[3]: Nie nic do roboty w `all'. make[3]: Leaving directory `/home/piotrk/gnokii-0.6.29/include/data' Making all in devices make[3]: Entering directory `/home/piotrk/gnokii-0.6.29/include/devices' make[3]: Nie nic do roboty w `all'. make[3]: Leaving directory `/home/piotrk/gnokii-0.6.29/include/devices' Making all in gnokii make[3]: Entering directory `/home/piotrk/gnokii-0.6.29/include/gnokii' make[3]: Nie nic do roboty w `all'. make[3]: Leaving directory `/home/piotrk/gnokii-0.6.29/include/gnokii' Making all in links make[3]: Entering directory `/home/piotrk/gnokii-0.6.29/include/links' make[3]: Nie nic do roboty w `all'. make[3]: Leaving directory `/home/piotrk/gnokii-0.6.29/include/links' Making all in phones make[3]: Entering directory `/home/piotrk/gnokii-0.6.29/include/phones' make[3]: Nie nic do roboty w `all'. make[3]: Leaving directory `/home/piotrk/gnokii-0.6.29/include/phones' make[3]: Entering directory `/home/piotrk/gnokii-0.6.29/include' make[3]: Nie nic do roboty w `all-am'. make[3]: Leaving directory `/home/piotrk/gnokii-0.6.29/include' make[2]: Leaving directory `/home/piotrk/gnokii-0.6.29/include' make[1]: Leaving directory `/home/piotrk/gnokii-0.6.29/include' Making all in common make[1]: Entering directory `/home/piotrk/gnokii-0.6.29/common' Making all in phones make[2]: Entering directory `/home/piotrk/gnokii-0.6.29/common/phones' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -g -O2 -Wall -fno-strict-aliasing -MT libPHONES_la-generic.lo -MD -MP -MF .deps/libPHONES_la-generic.Tpo -c -o libPHONES_la-generic.lo `test -f 'generic.c' || echo './'`generic.c rm: cannot remove `.libs/libPHONES_la-generic.o': Permission denied libtool: compile: gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -g -O2 -Wall -fno-strict-aliasing -MT libPHONES_la-generic.lo -MD -MP -MF .deps/libPHONES_la-generic.Tpo -c generic.c -fPIC -DPIC -o .libs/libPHONES_la-generic.o Assembler messages: FATAL: can't create .libs/libPHONES_la-generic.o: Brak dostępu make[2]: *** [libPHONES_la-generic.lo] Błąd 1 make[2]: Leaving directory `/home/piotrk/gnokii-0.6.29/common/phones' make[1]: *** [all-recursive] Błąd 1 i make install pod koniec wywaliło Cytuj: libtool: compile: gcc -DLOCALEDIR=\"/usr/share/locale\" -DCOMPILING_LIBGNOKII -I. -I../include -DLIBDIR=\"/usr/lib\" -I../include -g -O2 -Wall -fno-strict-aliasing -MT libgnokii_la-gsm-sms.lo -MD -MP -MF .deps/libgnokii_la-gsm-sms.Tpo -c gsm-sms.c -fPIC -DPIC -o .libs/libgnokii_la-gsm-sms.o
gsm-sms.c:37:18: glib.h: Nie ma takiego pliku ani katalogu gsm-sms.c: In function `gn_sms_send': gsm-sms.c:1613: error: `gchar' undeclared (first use in this function) gsm-sms.c:1613: error: (Each undeclared identifier is reported only once gsm-sms.c:1613: error: for each function it appears in.) gsm-sms.c:1613: error: `str' undeclared (first use in this function) gsm-sms.c:1614: error: `gsize' undeclared (first use in this function) gsm-sms.c:1614: error: parse error before "inlen" gsm-sms.c:1616: warning: implicit declaration of function `g_locale_to_utf8' gsm-sms.c:1616: error: `inlen' undeclared (first use in this function) gsm-sms.c:1616: error: `outlen' undeclared (first use in this function) gsm-sms.c:1617: warning: implicit declaration of function `g_utf8_strlen' gsm-sms.c:1618: warning: implicit declaration of function `g_free' gsm-sms.c: In function `sms_send_long': gsm-sms.c:1764: warning: comparison is always true due to limited range of data type make[2]: *** [libgnokii_la-gsm-sms.lo] Błąd 1 make[2]: Leaving directory `/home/piotrk/gnokii-0.6.29/common' make[1]: *** [install-recursive] Błąd 1 make[1]: Leaving directory `/home/piotrk/gnokii-0.6.29/common' make: *** [install-recursive] Błąd 1 I na tym zakończyło |
Autor: | Maciek [ czwartek, 3 lutego 2011, 11:06 ] |
Tytuł: | |
Po pierwsze kompiluj zawsze z prefixem /usr (nie //usr) albo dodawaj /usr/local/bin do zmiennej PATH. Co do tej kompilacji,to nie wiem, czy pójdzie. |
Autor: | oset17 [ piątek, 4 lutego 2011, 01:36 ] |
Tytuł: | |
Sorki za pomyłkę oczywiście miało być "/usr" nie "//usr" zastanawiam się czy nie odpuścić sobie GNokii na NND i czy nie poszukać innej dystrybucji... Moją niewielka hobbistyczna wiedza w Linuxie niestety nie pozwala mi dojść do błędu kompilacji GNokii w NND. |
Autor: | Maciek [ piątek, 4 lutego 2011, 02:47 ] |
Tytuł: | |
W CDN jest pakiet GNokii. |
Autor: | adamol [ piątek, 4 lutego 2011, 04:36 ] |
Tytuł: | |
Maciek pisze: W CDN jest pakiet GNokii.
I tak trzeba było od razu |
Autor: | Maciek [ piątek, 4 lutego 2011, 15:35 ] |
Tytuł: | |
A dlaczego miałbym być przeszkodą dla twojej eksperiencji? |
Autor: | oset17 [ sobota, 5 lutego 2011, 14:50 ] |
Tytuł: | |
Powiem szczerze iż od ~2-3 lat NND u mnie chodziło jako serwer www i usług i od tamtego czasu się troszkę zatrzymałem. Jako router jest w sieci MT CDN to nastepcą NND? Lepiej wybrać CDN'a czy EOS'a? to tylko pod strony, ftp i do LMS, nic więcej no i te SMS'y . Szczerze myślałem już o PLD lub Debianie |
Autor: | Maciek [ sobota, 5 lutego 2011, 18:38 ] |
Tytuł: | |
EOS to gotowy serwer szkolny. Oczywiście ma www, ale też sporo innych rzeczy i jest okienkowy. Co prawda jest w nim sporo rzeczy, ale czy gnokii to nie wiem. |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |