Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]stardict compilation error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
r0ck80y
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2007
Posts: 98

PostPosted: Thu Aug 28, 2008 5:27 am    Post subject: [SOLVED]stardict compilation error Reply with quote

I am trying to install stardict (tried the stable version first, then the latest masked one) and i'm getting the following error:
Code:
make[1]: Entering directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1'
Making all in m4
make[2]: Entering directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/m4'
Making all in src
make[2]: Entering directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/src'
Making all in sigc++
make[3]: Entering directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/src/sigc++'
make  all-am
make[4]: Entering directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/src/sigc++'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I../.. -I../../src -I../../src/sigc++config   -O2 -march=k8 -pipe -MT signal.o -MD -MP -MF .deps/signal.Tpo -c -o signal.o signal.cc
In file included from signal.cc:21:
../../src/sigc++/signal.h:1675: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal0<T_return, T_accumulator>::slot_list'
../../src/sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
../../src/sigc++/signal.h:1784: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal1<T_return, T_arg1, T_accumulator>::slot_list'
../../src/sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
../../src/sigc++/signal.h:1895: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal2<T_return, T_arg1, T_arg2, T_accumulator>::slot_list'
:
:
:
make[4]: *** [signal.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/src/sigc++'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/src/sigc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1/work/stardict-3.0.1'
make: *** [all] Error 2
 *
 * ERROR: app-dicts/stardict-3.0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2818:  Called gnome2_src_compile
 *             environment, line 2182:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-dicts/stardict-3.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-dicts/stardict-3.0.1/temp/environment'.
 *

Any idea what to make of this?

TIA


Last edited by r0ck80y on Fri Aug 29, 2008 7:20 am; edited 1 time in total
Back to top
View user's profile Send private message
el-chaote
n00b
n00b


Joined: 26 Aug 2008
Posts: 55
Location: Switzerland

PostPosted: Thu Aug 28, 2008 11:27 am    Post subject: Reply with quote

Hi, which version of "libsigc++" do you have installed? And did you try to emerge the 3.0.1-r1 version of stardict as well? Which use flags do you have enabled?

Last edited by el-chaote on Fri Aug 29, 2008 6:56 am; edited 1 time in total
Back to top
View user's profile Send private message
r0ck80y
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2007
Posts: 98

PostPosted: Thu Aug 28, 2008 5:51 pm    Post subject: Reply with quote

Right!! So i installed libsigc++-2.0.0 which wasn't there on my system. Then installed the stable 3.0.1 stardict. Compile failed but with a different error.
So now i installed 3.0.1-rc1 and its done *thumbs up*
A couple of questions: 1) Why wasn't libsigc++ pulled in as a dependency (if it was needed)?
2) Now which dictionary packages to install? :D :D

Thanks el-chaote for the heads up!
Back to top
View user's profile Send private message
el-chaote
n00b
n00b


Joined: 26 Aug 2008
Posts: 55
Location: Switzerland

PostPosted: Thu Aug 28, 2008 6:18 pm    Post subject: Reply with quote

you're welcome :D

Quote:
1) Why wasn't libsigc++ pulled in as a dependency (if it was needed)?

I've just had a look at the ebuild... libsigc is not listed as a dependency :?

Quote:
Now which dictionary packages to install? :D :D

I don't know... :D The ones you want to install? ;) --> google is your best friend :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum