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 03-06-2010, 07:01 AM   #1
Dinobot
Member
 
Registered: Nov 2009
Location: Not far from Moscow, Russia
Distribution: Slackware (forever!)
Posts: 46

Rep: Reputation: 15
Who can compile qstardict slackbuild for me? Please help..)


Hi guys!

I'm getting a stupid error, trying compile qstardict on my slackware64... (so, I need x86_64 qstardict package)

http://slackbuilds.org/result/?search=qstardict&sv=13.0

when I did it at the first time, everything was OK, but the error now... Please mail final package to dinobot@xakep.ru or attach it here.

Gr8 Thanx!!!

Last edited by Dinobot; 03-06-2010 at 07:03 AM. Reason: broken url(
 
Old 03-06-2010, 07:29 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
What was the error? Did you follow the right procedure for dealing with SlackBuilds? Do you really think it's OK to ask someone else to do your work for you?
 
Old 03-06-2010, 07:47 AM   #3
Dinobot
Member
 
Registered: Nov 2009
Location: Not far from Moscow, Russia
Distribution: Slackware (forever!)
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by brianL View Post
What was the error? Did you follow the right procedure for dealing with SlackBuilds? Do you really think it's OK to ask someone else to do your work for you?
my error is:
Quote:
g++ -c -O2 -fPIC -O2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -D_REENTRANT -fPIC -DHAVE_MMAP -DQSTARDICT_WITH_DBUS -DQSTARDICT_WITH_TRANSLATIONS -DQSTARDICT_VERSION=\"0.13.1\" -DQSTARDICT_INSTALL_PREFIX=\"/usr\" -DQSTARDICT_BIN_DIR=\"/usr/bin\" -DQSTARDICT_DATA_DIR=\"/usr/share/qstardict\" -DQSTARDICT_TRANSLATIONS_DIR=\"/usr/share/qstardict/translations\" -DQSTARDICT_PLUGINS_DIR=\"/usr/lib64/qstardict/plugins\" -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include -I/usr/lib64/qt/include/QtDBus -I../../../qstardict-0.13.1 -I. -I. -o dictziplib.o dictziplib.cpp
dictziplib.cpp:308:11: error: missing binary operator before token "Q_OS_WIN32"
make[2]: *** [dictziplib.o] Error 1
make[2]: Leaving directory `/tmp/SBo/qstardict-0.13.1/plugins/stardict'
make[1]: *** [sub-stardict-make_default] Error 2
make[1]: Leaving directory `/tmp/SBo/qstardict-0.13.1/plugins'
make: *** [sub-plugins-make_default] Error 2
Any ideas?

You're right. It's NOT OK. But I don't see another way how to get it...(

Who knows how to fix it?..
 
Old 03-06-2010, 07:57 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
No, no idea. Where did you get it from?
 
1 members found this post helpful.
Old 03-06-2010, 10:26 AM   #5
dolphin77
Member
 
Registered: May 2009
Posts: 200

Rep: Reputation: 54
http://gitorious.org/exherbo-cn/main...c1b4c3f3a11362
packages/app-dicts/qstardict/files/qstardict-gcc-4.4.patch
(0 / 14)

1 Source: Hong Hao <oahong@gmail.com>
2 Upstream: mail send
3 Reason: gcc 4.4
4 --- qstardict-0.13.1/plugins/stardict/dictziplib.cpp.orig 2009-05-17 17:48:37.605944568 +0800
5 +++ qstardict-0.13.1/plugins/stardict/dictziplib.cpp 2009-05-17 18:35:06.757994635 +0800
6 @@ -305,7 +305,7 @@
7
8 #ifdef Q_OS_UNIX
9 if (stat(fname.c_str(), &sb) || !S_ISREG(sb.st_mode))
10 -#elif def Q_OS_WIN32
11 +#elif defined Q_OS_WIN32
12 if (_stat(fname.c_str(), &sb) || !(sb.stMode & _S_IFREG))
13 #endif
14 {
 
1 members found this post helpful.
Old 03-06-2010, 10:42 AM   #6
Dinobot
Member
 
Registered: Nov 2009
Location: Not far from Moscow, Russia
Distribution: Slackware (forever!)
Posts: 46

Original Poster
Rep: Reputation: 15
Oh, great!!!!!!!! Thank you so much, guys!!!
 
Old 03-06-2010, 10:45 AM   #7
dolphin77
Member
 
Registered: May 2009
Posts: 200

Rep: Reputation: 54
One addition. I had it working, but after recent updates in -current it stopped to work. I just rebuilt a package from SVN http://qstardict.ylsoftware.com/svn.php
and it worked without any patches. So maybe you would like to do the same...
 
Old 03-06-2010, 11:47 AM   #8
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 111
Blog Entries: 1

Rep: Reputation: 20
The mother of matter:

#elif def Q_OS_WIN32
is bad

#elif defined Q_OS_WIN32
is well
....saint syntax
 
  


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
Compile error with slackbuild and auctex. Says I'm missing LaTeX. kevin01123 Slackware 9 07-07-2011 09:35 PM
[SOLVED] Who can compile qstardict slackbuild for me? Please help..) Dinobot Bluewhite64 2 04-04-2010 11:25 PM
qt4.SlackBuild won't compile qt-4.5.3 on Slack-12.2 based distro silencestone Slackware 8 11-09-2009 07:57 AM
MPlayer.Slackbuild cant compile. Scuzz Slackware 26 09-26-2009 04:54 PM
.SlackBuild optimize compile, need help chemtraX Slackware 4 05-27-2004 05:09 PM


All times are GMT -5. The time now is 01:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration