Ho un problema relativo all'installazione delle isdn4linux.
In questo periodo devo usare una connessione ISDN e non riesco ad installare il pacchetto contenuto in isdn4k-utils-CVS-2004-05-02.tar.bz2; ciò che faccio è entrare da shell nella directory in cui ho scompattato il tutto e digitare:
make config
(configuro, salvo la configurazione)
make
make install
ma mi si producono una lunga serie di errori e l'installazione fallisce.
Li riporto qui sotto:
# dopo il comando make
(...)
make[1]: Entering directory `/root/.../isdn4k-utils/isdn4k-utils-CVS-2004-05-02/icn'
gcc -Wall -O2 -I. -D__DEBUGVAR__ -c -o icnctrl.o icnctrl.c
icnctrl.c:149: error: parse error before '*' token
icnctrl.c: In function `dump_dev':
icnctrl.c:151: error: `p' undeclared (first use in this function)
icnctrl.c:151: error: (Each undeclared identifier is reported only once
icnctrl.c:151: error: for each function it appears in.)
icnctrl.c: In function `qdump':
icnctrl.c:166: error: invalid application of `sizeof' to an incomplete type
icnctrl.c:167: error: dereferencing pointer to incomplete type
icnctrl.c: At top level:
icnctrl.c:171: error: parse error before '*' token
icnctrl.c: In function `dump_card':
icnctrl.c:173: error: `p' undeclared (first use in this function)
icnctrl.c: In function `main':
icnctrl.c:226: warning: operation on `cmd' may be undefined
icnctrl.c:252: error: `icn_dev' undeclared (first use in this function)
icnctrl.c:253: error: parse error before ')' token
icnctrl.c:254: error: `icn_card' undeclared (first use in this function)
icnctrl.c:255: error: parse error before ')' token
make[1]: *** [icnctrl.o] Error 1
make[1]: Leaving directory `/root/.../isdn4k-utils/isdn4k-utils-CVS-2004-05-02/icn'
make: *** [subtargets] Error 2
# dopo il comando make install
Making with
gcc -Wall -pipe -DVERSION="4.68" -DI4LVERSION="3.3" -DISDN_XX=1 -DNATION="it" -DBIG_PHONE_NUMBERS=1 -I./isdnlog -I./connect -I./tools -I. -I../lib
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /etc/isdn
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /usr/bin
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /sbin
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /usr/man/man1
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /usr/man/man5
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /usr/man/man8
/usr/bin/ginstall -c -m 0755 -o 0 -g 0 -d /usr/lib/isdn
It looks like isdnlog doesn't know your countries config
Please read README.Internationalization.
It looks like isdnlog doesn't know your countries config
Please read README.Internationalization.
# (...) inoltre
/usr/bin/ginstall -c -m 0644 -o 0 -g 0 rate-'it'.dat /usr/lib/isdn
/usr/bin/ginstall: impossibile fare stat di `rate-it.dat': No such file or directory
make[1]: *** [install-data] Error 1
make[1]: Leaving directory `/root/.../isdn4k-utils/isdn4k-utils-CVS-2004-05-02/isdnlog'
make: *** [install] Error 2
Purtroppo non ho la minima idea di cosa stia sbagliando e dovrei correggere
Tra l'altro nel file README.Internationalization si parla di editarsi, personalizzandoli per l'Italia, i files:
> rate-CC.dat ... telephonrates per provider / zone / daytime
> zone-CC-PPP.gdbm ... zone files per provider PPP
> holiday-CC.dat ... exactly what it sounds like
> dest.gdbm ... international destinations
dove a CC dovrei sostituire IT ... spero che tariffe e giorni festivi non siano informazioni necessarie all'installazione...
Infinite grazie a chi mi darà una mano...

