gnokii installation from source
#1
Posted 15 April 2008 - 07:27 PM
I'm actually looking for something similar to Nokia PC suite to manage my mobile phone and send SMS msgs.
Michael
#2
Posted 15 April 2008 - 07:28 PM
#3
Posted 16 April 2008 - 04:01 AM
#4
Posted 17 April 2008 - 06:03 PM
Many thanks for the superfast reply. This is what I get once I try to configure the tarball:
home/user/gnokii-0.6.24> ./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 for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
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 for style of include used by make... none
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for flex... no
checking for lex... no
checking for rm... /bin/rm
checking for find... /usr/bin/find
checking for gmake... no
checking for make... no
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for intltool >= 0.35.0... 0.36.2 found
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
I see a few no's and don't know whether they matter, and am not sure what the perl module is I appear to require.
Michael
#5
Posted 17 April 2008 - 09:06 PM
sudo apt-get install libxml-parser-perl
then ./configure again
#6
Posted 18 April 2008 - 08:16 AM
G N O K I I
A toolset and driver for the mobile phones.
Copyright © 1999-2006 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.24
Xgnokii version: 1.0
X (GTK+) support: no
smsd support: no
Postgres support: no
MySQL support: no
Debug: yes
XDebug: yes
RLPDebug: yes
NLS: yes
IrDA: yes
ical read support: no
Bluetooth: no
libusb support: no
libpcsclite support:no
Security: no
Build Shared Lib: yes
Build Static Lib: yes
Win32: no
Prefix: /usr/local
Type '' for compilation and then ' install', to
install gnokii.
I thought I'd have to enter make followed by make configure, but the response I get is:
home/user/gnokii-0.6.24> make
bash: make: command not found
and I'm not quite sure how to handle the quotation mark instructions at the end of the script.
Michael
#7
Posted 18 April 2008 - 08:25 AM
sudo apt-get install build-essential
to install the full build environment, not just gcc, didn't you?
#8
Posted 19 April 2008 - 01:10 PM
creating gnokii
make[1]: Leaving directory `/home/user/gnokii-0.6.24/gnokii'
Making all in po
make[1]: Entering directory `/home/user/gnokii-0.6.24/po'
file=`echo cs | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file cs.po
/bin/sh: line 1: -o: command not found
make[1]: *** [cs.gmo] Error 127
make[1]: Leaving directory `/home/user/gnokii-0.6.24/po'
make: *** [all-recursive] Error 1
/home/user/gnokii-0.6.24>
Any ideas??
Michael
#9
Posted 19 April 2008 - 05:30 PM
sudo apt-get install gettext
then rerun configure and make
#10
Posted 20 April 2008 - 10:38 AM
Think I've now successfully complete make and tried make install, but got stuck here:
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/gnokii" || /bin/mkdir -p "/usr/local/include/gnokii"
/bin/mkdir: cannot create directory `/usr/local/include/gnokii': Permission denied
make[3]: *** [install-gnokiisubHEADERS] Error 1
make[3]: Leaving directory `/home/user/gnokii-0.6.24/include/gnokii'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/user/gnokii-0.6.24/include/gnokii'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/user/gnokii-0.6.24/include'
make: *** [install-recursive] Error 1
/home/user/gnokii-0.6.24>
Any ideas?
Michael
#11
Posted 20 April 2008 - 01:10 PM
sudo make install
#12
Posted 20 April 2008 - 01:27 PM
#./configure
# make
# make install
are given, the # means as root- else do
$./configure
$make
$ sudo make install
($ as normal user)
Try: http://wiki.gnokii.o...hp/Installation for help, the best place to get help on a package is from the developers of a package themselves
#13
Posted 20 April 2008 - 03:01 PM
Michael
#14
Posted 20 April 2008 - 04:36 PM
#15
Posted 23 April 2008 - 08:33 PM
Michael
#16
Posted 20 September 2008 - 04:27 PM
I have just installed gnokii0.6.26, built up from the source codes (was also my first time, so your tips above were very helpful!)
I have a nokia 6230i, connected with a CA53 (equals the dku2 apparently)
It all seemed to work, I unzipped the files and run /.configure. This ended with the following message:
checking for flex... no
checking for lex... no
You need one of the following:
- installed lex/flex
- generated common/gnvcal.c file (included in release tarballs, not included in CVS)
Ignoring this for now, I did the make and make install, and make clean and it all seems fine, after also installing the full builder and gettext aps. Although I did get some messages as: "xxxx defined but not used."
I changed to .gnokiirc file to match the settings as given on the wiki file:
model = 6510
port = /dev/ttyUSB0
connection = dku2
But running gnokii or xnokii gives the following error:
<i>
....
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyUSB0
Gnokii serial_open: open: No such file or directory
Couldn't open PHONET device: No such file or directory
Error in link initialisation: 1
Telephone interface init failed: Command failed.
Quitting.
Command failed.
Serial device: closing device
</i>
What can I do?
Thanks!
PS I did the whole process again and the make command now ended with:
gcc: ./gnvcal.c: No such file or directory
gcc: no input files
make[2]: *** [libgnokii_la-gnvcal.lo] Error 1
make[2]: Leaving directory `/home/user/gnokii/gnokii-0.6.26/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/gnokii/gnokii-0.6.26/common'
make: *** [all-recursive] Error 1
Edited by fresh08, 20 September 2008 - 04:39 PM.
EEEPC 701 512 MB
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












