[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with GSMD::Gnokii and Debian
From: |
Philip Kendall |
Subject: |
Problems with GSMD::Gnokii and Debian |
Date: |
Mon, 29 May 2006 22:20:35 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi.
I'm trying to use GSMD::Gnokii on Debian testing, but am getting
segfaults with even a trivial program:
#!/usr/bin/perl
use warnings;
use strict;
use GSMI;
my $gsm = GSMI->connect( "driver=Gnokii;device=/dev/nokia3120" );
$ ./gnokii.pl
Segmentation fault
A gdb backtrace, if this helps at all:
(gdb) bt
#0 0xb7cd930b in XS_GSMD__Gnokii_Initialize (my_perl=0x8151008, cv=0x81ccd98)
at Gnokii.xs:105
#1 0x080c4981 in Perl_pp_entersub ()
#2 0x080bd469 in Perl_runops_standard ()
#3 0x08065422 in perl_run ()
#4 0x0805ffcd in main ()
How I installed things:
# apt-get install libgnokii2-dev
which gives me
$ dpkg -l '*gnokii*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libgnokii2 0.6.8-0.3+b1 Gnokii library
ii libgnokii2-dev 0.6.8-0.3+b1 Gnokii library
Then GSMI 1.1 from the tarball (no problems), and GSMD::Gnokii v1.3 via
# export GNOKII_DIR=/usr/include
# perl Makefile.PL
# make
# make install
Are there any known problems with this setup?
Cheers,
Phil
--
"We're proud to say that the class of '99 has the lowest mortality rate of
any graduating class in Sunnydale history. [...] So the senior class offers
its thanks and gives you, uh... this. It's from all of us. And it has
written here: 'Buffy Summers - Class Protector'." Jonathan: Buffy: The Prom