Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-04-15 3:27:14 pm

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

gnokii installation from source

Has anyone tried installing gnokii from source or got the package from apt-get working successfully?   The package appears to be an old version (0.6.14), whilst installing from source runs into problems at the ./configure stage.

I'm actually looking for something similar to Nokia PC suite to manage my mobile phone and send SMS msgs.

Michael

Offline

 

#2 2008-04-15 3:28:35 pm

Neil
Moderator
From: Berkshire, England
Registered: 2007-11-25
Posts: 6543
Website

Re: gnokii installation from source

Does it say what the problems are?

Offline

 

#3 2008-04-16 12:01:40 am

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: gnokii installation from source

I compiled 0.6.24 from source and I don't remember it being hard. What error does configure give? The main reason I wanted 0.6.24 over 0.6.14 was support for text messages over 160characters

Offline

 

#4 2008-04-17 2:03:22 pm

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

Re: gnokii installation from source

Hi Neil,

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

Offline

 

#5 2008-04-17 5:06:29 pm

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: gnokii installation from source

Try
sudo apt-get install libxml-parser-perl
then ./configure again

Offline

 

#6 2008-04-18 4:16:02 am

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

Re: gnokii installation from source

Eureka!  That really helped.  Thank you.   I'm now here, and stuck again

G N O K I I

  A toolset and driver for the mobile phones.

  Copyright (C) 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

Offline

 

#7 2008-04-18 4:25:58 am

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: gnokii installation from source

Hmmm. You did do
sudo apt-get install build-essential
to install the full build environment, not just gcc, didn't you?

Offline

 

#8 2008-04-19 9:10:47 am

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

Re: gnokii installation from source

Now I have!   Started from scratch again, hit make and got this far:

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

Offline

 

#9 2008-04-19 1:30:10 pm

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: gnokii installation from source

It's all coming flooding back. It was a bit of a pain. Try
sudo apt-get install gettext
then rerun configure and make

Offline

 

#10 2008-04-20 6:38:06 am

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

Re: gnokii installation from source

cdshaw, I really appreciate your help.  Thank you.

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

Offline

 

#11 2008-04-20 9:10:58 am

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: gnokii installation from source

Most installs need super-user privileges, so try
sudo make install

Offline

 

#12 2008-04-20 9:27:37 am

Jamescondron
New member
Registered: 2008-04-19
Posts: 6

Re: gnokii installation from source

All builds from source ideally should be done as root, where the instructions

#./configure
# make
# make install

are given, the # means as root- else do

$./configure
$make
$ sudo make install

($ as normal user)


Try: http://wiki.gnokii.org/index.php/Installation for help, the best place to get help on a package is from the developers of a package themselves

Offline

 

#13 2008-04-20 11:01:59 am

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

Re: gnokii installation from source

Software successfully installed.  Thanks for all your help.  It's the 1st time I've installed from source.  You can tell can't you!   . .  and yes, I shall study the gnokii support forum in great detail.

Michael

Offline

 

#14 2008-04-20 12:36:41 pm

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: gnokii installation from source

Glad to help. What phone are you using it with? My Nokia N95 has very limited support, but with the AT driver at least I can type text messages on my Eee.

Offline

 

#15 2008-04-23 4:33:40 pm

Michael06
Member
From: Maidenhead, UK & Nice, France
Registered: 2008-03-12
Posts: 22

Re: gnokii installation from source

I'm using an old Nokia 6230.  I'm also able to connect via AT but am not able to understand very much more from the commands entered.  Would really like to get the xgnokii GUI working but haven't had time to work this out yet.

Michael

Offline

 

#16 2008-09-20 12:27:38 pm

fresh08
Member
Registered: 2008-08-10
Posts: 10

Re: gnokii installation from source

hi,

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

Last edited by fresh08 (2008-09-20 12:39:35 pm)


-------------------------------------------------
EEEPC 701 512 MB

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson