LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2010, 03:31 AM   #1
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Rep: Reputation: 29
easystroke 0.5.3 build fails


using slakware64 13.1
modified sbo slackbuild for latest version...


Code:
echo "const char *desktop_file = \"\\" > desktop.c
sed 's/Exec=easystroke/Exec=%s/' easystroke.desktop | sed 's/"/\\"/g' | sed 's/.*/&\\n\\/' >> desktop.c
echo "\";" >> desktop.c
gcc -std=c99 -O2 -fPIC    -c -o desktop.o desktop.c
make: Circular version <- version.o dependency dropped.
echo 'const char *version_string = "0.5.3";' | g++ -O2 -fPIC -o version.o -c -xc++ -
g++ -O2 -fPIC  -o easystroke actiondb.o actions.o annotate.o composite.o dbus-server.o fire.o gesture.o grabber.o main.o prefdb.o prefs.o shape.o stats.o water.o win.o stroke.o gui.o desktop.o version.o  -lboost_serialization-mt -lXtst `pkg-config gtkmm-2.4 dbus-glib-1 --libs`
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: cannot find -lboost_serialization-mt
collect2: ld returned 1 exit status
make: *** [easystroke] Error 1
 
Old 06-23-2010, 03:52 AM   #2
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
Looks like a problem with Boost libraries. What version You have? Try to reinstall boost packages, or recompile it by hand and ensure, that serialization plugin is compiled.
 
Old 06-23-2010, 03:55 AM   #3
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Original Poster
Rep: Reputation: 29
the 0.4.9 version builds just fine....

boost-1.42.0
 
Old 06-23-2010, 04:59 AM   #4
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
Right, this is the standard library that comes with Slk 13.1... I try to compile easystroke myself and see what happens.
 
Old 06-23-2010, 05:45 AM   #5
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
Ok, seems to be some kind of problem with the programmers of easystroke They worked with multithreaded version of boost made on Debian, which has -mt suffix on library names. I've just applied this little patch to easystroke Makefile:

Code:
@@ -25,7 +25,7 @@
 CXXFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtkmm-2.4 dbus-glib-1 --cflags`
 LDFLAGS  = $(DFLAGS)
 
-LIBS     = $(DFLAGS) -lboost_serialization -lXtst `pkg-config gtkmm-2.4 dbus-glib-1 --libs`
+LIBS     = $(DFLAGS) -lboost_serialization-mt -lXtst `pkg-config gtkmm-2.4 dbus-glib-1 --libs`
 
 BINARY   = easystroke
 ICON     = easystroke.svg
and compiled easystroke without any problems
 
Old 06-23-2010, 05:47 AM   #6
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Original Poster
Rep: Reputation: 29
how can I apply this patch?
 
Old 06-23-2010, 06:41 AM   #7
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
By hand, or in slackbuild script

copy attached patch file (rename it to .patch) to slackbuild dir, and add this line to You slackbuild just before make invocation:
Code:
patch -p0 < $(CWD)/slack_boost.patch
During the execution of slackbuild script You may be warned, that "previous patch applied" - say yes on that question (You may be asked, but also You may be not it shouldn't ask, and I don't know, why it asked me .

If You have problems, PM me - I will send You my slackbuild script.

Good luck
Attached Files
File Type: txt slack_boost.patch.txt (486 Bytes, 11 views)
 
Old 06-23-2010, 08:42 AM   #8
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Original Poster
Rep: Reputation: 29
thx. worked like charm!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Easystroke cant record gesture eeeBu Linux - General 4 02-20-2011 07:10 AM
easystroke compile error m_kane Linux - Software 4 04-09-2010 02:15 PM
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
LXer: Setting mouse gestures with EasyStroke and Gestikk LXer Syndicated Linux News 0 10-17-2008 11:20 PM
'make' fails while trying to build jonnycarlos Linux - Software 0 04-29-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration