Support for easystroke in opensuse 10.3

I’m interested in using easystroke, a new mouse gesture application (easystroke) on opensuse 10.3 64-bit. The author provides Ubuntu packages and the source code. I’m struggling to meet the dependency requirements for source code compilation (can’t find the right versions of packages).

Anybody got it working? Any chance of opensuse providing an RPM for this (I don’t seem to get on well with compiling stuff)?

Thanks.

g++ -Wall pkg-config gtkmm-2.4 gthread-2.0 dbus-glib-1 --cflags -Os -MT actiondb.o -MMD -MP -MF actiondb.Po -o actiondb.o -c actiondb.cc
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing gtkmm-2.4.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkmm-2.4' found Package gthread-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gthread-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gthread-2.0’ found
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘dbus-glib-1’ found
In file included from actiondb.cc:16:
actiondb.h:21:42: warning: boost/serialization/access.hpp: No such file or directory
actiondb.h:22:43: warning: boost/serialization/version.hpp: No such file or directory
actiondb.h:23:48: warning: boost/serialization/split_member.hpp: No such file or directory
In file included from actiondb.h:26,
from actiondb.cc:16:
stroke.h:19:26: warning: gdkmm/pixbuf.h: No such file or directory
stroke.h:21:32: warning: boost/shared_ptr.hpp: No such file or directory
In file included from prefdb.h:23,
from actiondb.h:27,
from actiondb.cc:16:
var.h:22:20: warning: glibmm.h: No such file or directory
In file included from actiondb.cc:18:
win.h:19:19: warning: gtkmm.h: No such file or directory
actiondb.cc:22:43: warning: boost/archive/text_oarchive.hpp: No such file or directory
actiondb.cc:23:43: warning: boost/archive/text_iarchive.hpp: No such file or directory
actiondb.cc:24:39: warning: boost/serialization/map.hpp: No such file or directory
actiondb.cc:25:39: warning: boost/serialization/set.hpp: No such file or directory
actiondb.cc:26:42: warning: boost/serialization/vector.hpp: No such file or directory
actiondb.cc:27:42: warning: boost/serialization/export.hpp: No such file or directory
actiondb.cc:28:46: warning: boost/serialization/shared_ptr.hpp: No such file or directory
In file included from actiondb.h:26,
from actiondb.cc:16:
stroke.h:32: error: ‘boost’ has not been declared
stroke.h:32: error: expected initializer before ‘<’ token
stroke.h:33: error: ‘boost’ has not been declared
stroke.h:33: error: expected initializer before ‘<’ token
stroke.h:57: error: ‘boost’ has not been declared
stroke.h:57: error: expected initializer before ‘<’ token
stroke.h:58: error: variable or field ‘update_triple’ declared void
stroke.h:58: error: ‘RTriple’ was not declared in this scope
stroke.h:58: error: expected primary-expression before ‘float’
stroke.h:58: error: expected primary-expression before ‘float’
stroke.h:58: error: expected primary-expression before ‘t’
stroke.h:59: error: ‘RTriple’ does not name a type
stroke.h:64: error: ‘boost’ has not been declared
stroke.h:64: error: friend declaration does not name a class or function
stroke.h:84: error: ‘RStroke’ has not been declared
stroke.h:84: error: ‘RStroke’ has not been declared
stroke.h:85: error: ‘RStroke’ has not been declared
stroke.h:85: error: ‘RStroke’ has not been declared
stroke.h:91: error: ‘Glib’ has not been declared
stroke.h:91: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
stroke.h:91: error: expected ‘;’ before ‘<’ token
stroke.h:92: error: ‘Glib’ has not been declared
stroke.h:92: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
stroke.h:92: error: expected ‘;’ before ‘<’ token
stroke.h:95: error: ‘Glib’ has not been declared
stroke.h:95: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
stroke.h:95: error: expected ‘;’ before ‘<’ token
stroke.h:96: error: ‘Glib’ has not been declared
stroke.h:96: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
stroke.h:96: error: expected ‘;’ before ‘<’ token
stroke.h:113: error: ‘RStroke’ does not name a type
stroke.h:115: error: ‘Glib’ has not been declared
stroke.h:115: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
stroke.h:115: error: expected ‘;’ before ‘<’ token
stroke.h:116: error: ‘Cairo’ has not been declared
stroke.h:116: error: expected ‘,’ or ‘…’ before ‘<’ token
stroke.h:120: error: ‘RStroke’ does not name a type
stroke.h:121: error: ‘RStroke’ has not been declared
stroke.h:121: error: ‘RStroke’ has not been declared
stroke.h:122: error: ‘RStroke’ has not been declared
stroke.h:122: error: ‘RStroke’ has not been declared
stroke.h:123: error: ‘Glib’ has not been declared
stroke.h:123: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
stroke.h:123: error: expected ‘;’ before ‘<’ token
stroke.h:129: error: expected identifier before numeric constant
stroke.h:129: error: expected ‘,’ or ‘…’ before numeric constant
stroke.h:131: error: expected constructor, destructor, or type conversion before ‘class’
make: *** [actiondb.o] Error 1

Hi
You need to install gtkmm2-devel, glib2-devel and dbus-1-glib-devel.
Generally when “No package” and it’s looking for a .pc file it’s the
development rpms you need to install.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 5 days 3:48, 1 user, load average: 0.16, 0.19, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Thanks, I’ve now got further but have hit more errors.

I had to do

export PKG_CONFIG_PATH=/usr/lib/pkgconfig/

and install boost-devel
Then I get to:

/usr/include/boost/serialization/export.hpp: In static member function ‘static v
oid boost::archive::detail::guid_initializer::export_register(const char*) [w
ith T = StrokeSet]’:
/usr/include/boost/serialization/export.hpp:155: instantiated from ‘boost::arc
hive::detail::guid_initializer::guid_initializer(const char*) [with T = Strok
eSet]’
actiondb.cc:32: instantiated from here
/usr/include/boost/serialization/export.hpp:146: error: incomplete type ‘boost::
serialization::extended_type_info_null’ used in nested name specifier
/usr/include/boost/serialization/export.hpp: In static member function ‘static v
oid boost::archive::detail::guid_initializer::export_register(const char*) [w
ith T = Action]’:
/usr/include/boost/serialization/export.hpp:155: instantiated from ‘boost::arc
hive::detail::guid_initializer::guid_initializer(const char*) [with T = Actio
n]’
actiondb.cc:34: instantiated from here
/usr/include/boost/serialization/export.hpp:146: error: incomplete type ‘boost::
serialization::extended_type_info_null’ used in nested name specifier
/usr/include/boost/serialization/export.hpp: In static member function ‘static v
oid boost::archive::detail::guid_initializer::export_register(const char*) [w
ith T = Command]’:
/usr/include/boost/serialization/export.hpp:155: instantiated from ‘boost::arc
hive::detail::guid_initializer::guid_initializer(const char*) with T = Comma

etc.

There’s also a compilted version available but this says

./easystroke-0.2.2
./easystroke-0.2.2: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory

and I can’t install libgio as

rpm -Uvih libgio-2_0-0-2.17.6-7.1.x86_64.rpm
warning: libgio-2_0-0-2.17.6-7.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 2855a6df
error: Failed dependencies:
        glib2 = 2.17.6 is needed by libgio-2_0-0-2.17.6-7.1.x86_64
root@/home/RJW/Desktop> rpm -Uvih glib2-2.17.6-7.1.x86_64.rpm libgio-2_0-0-2.17.6-7.1.x86_64.rpm
warning: glib2-2.17.6-7.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 2855a6df
error: Failed dependencies:
        glib2-lang = 2.17.6 is needed by glib2-2.17.6-7.1.x86_64
        glib2-branding is needed by glib2-2.17.6-7.1.x86_64
        gnome-vfs2 < 2.22.0 conflicts with glib2-2.17.6-7.1.x86_64
        libglib-2.0.so.0()(64bit) is needed by libgio-2_0-0-2.17.6-7.1.x86_64
        libgmodule-2.0.so.0()(64bit) is needed by libgio-2_0-0-2.17.6-7.1.x86_64
        libgobject-2.0.so.0()(64bit) is needed by libgio-2_0-0-2.17.6-7.1.x86_64
        libglib-2.0.so.0()(64bit) is needed by (installed) atk-1.20.0-5.x86_64
        libglib-2.0.so.0()(64bit) is needed by (installed) gstreamer010-0.10.13-34.x86_64                                                                       

etc.

I think I might give up and wait for a suse RPM.

Hi
Dependency hell… I think you may be waiting until you update 11 :frowning:

It does compile ok on 11.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 5 days 8:22, 1 user, load average: 0.00, 0.04, 0.10
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Hmm, okay thanks for your help. I’ll wait for 11.1 to see if they’ve fixed the kernel issue with Samsung Q45s so I can keep my PC and Laptop in version synch…

UPDATE for opensuse 11.1

It works!

On opensuse 11.1 64-bit I have now successfully compiled and run easystroke 0.3.1

steps are:


zypper in gtkmm2-devel glib2-devel dbus-1-glib-devel boost-devel
tar -xf easystroke-0.3.1.tar.gz
cd easystroke-0.3.1
make
make install

Then run easystroke to launch the app (tested on KDE).

All seems to be working. Functionality looks similar to gmote/strokeit for those who know either of those Windows apps.

Excellent.

UPDATE for opensuse 11.1

It works!

On opensuse 11.1 64-bit I have now successfully compiled and run
easystroke 0.3.1

steps are:

Code:

zypper in gtkmm2-devel glib2-devel dbus-1-glib-devel boost-devel
tar -xf easystroke-0.3.1.tar.gz
cd easystroke-0.3.1
make
make install


Then run easystroke to launch the app (tested on KDE).

All seems to be working. Functionality looks similar to gmote/strokeit
for those who know either of those Windows apps.

Excellent.


MSI K9N SLI Platinum rev 1.11 | Athlon64 X2 4600 65W | 3GB 667MHz RAM |
512MB POV 8800GT PCI-E | LG GSA-H30N |Netgear WG311T | opensuse 10.3
x86_64 (250 GB) & Win XP Pro SP3 (160GB) | Samsung 206BW 1680x1050 DVI |
Logitech MX3000 | Freecom USB DVB-T 25452

rjwilmsi’s Profile: http://forums.opensuse.org/member.php?userid=4236
View this thread: http://forums.opensuse.org/showthread.php?t=395474