Find the answer to your Linux question:
Results 1 to 4 of 4
installation package : stardict-3.0.1.tar.bz2 step 1: [root localhost stardict-3.0.1]# tar -jvxf stardict-3.0.1.tar.bz2 step 2: [root localhost stardict-3.0.1]# export PKG_CONFIG=/usr/bin/pkg-config step 3: [root localhost stardict-3.0.1]# ./configure --prefix=/usr/local --sysconfdir=/etc --disable-spell --disable-gucharmap --disable-festival ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    stardict-3.0.1 problem in fedora10?

    installation package : stardict-3.0.1.tar.bz2
    step 1:
    [root localhost stardict-3.0.1]# tar -jvxf stardict-3.0.1.tar.bz2
    step 2:
    [root localhost stardict-3.0.1]# export PKG_CONFIG=/usr/bin/pkg-config
    step 3:
    [root localhost stardict-3.0.1]# ./configure --prefix=/usr/local --sysconfdir=/etc --disable-spell --disable-gucharmap --disable-festival --disable-espeak
    .......................................
    Type "make" to compile StarDict.

    It is ok above .(I follow the 'INSTALL' file and ./configure prompt information step by step.)
    But...The error happend below.

    [root localhost stardict-3.0.1]# make
    ........................
    g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../../src/sigc++config -g -O2 -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’
    ../../src/sigc++/signal.h:168: error: changes meaning of ‘slot_list’ from ‘struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >’
    ../../src/sigc++/signal.h:2008: error: declaration of ‘typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal3<T_return, T_arg1, T_arg2, T_arg3, 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, T_arg2, T_arg3, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >’
    ../../src/sigc++/signal.h:2123: error: declaration of ‘typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, sigc::nil, sigc::nil, sigc::nil> > sigc::signal4<T_return, T_arg1, T_arg2, T_arg3, T_arg4, 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, T_arg2, T_arg3, T_arg4, sigc::nil, sigc::nil, sigc::nil> >’
    ../../src/sigc++/signal.h:2240: error: declaration of ‘typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, sigc::nil, sigc::nil> > sigc::signal5<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, 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, T_arg2, T_arg3, T_arg4, T_arg5, sigc::nil, sigc::nil> >’
    ../../src/sigc++/signal.h:2359: error: declaration of ‘typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, sigc::nil> > sigc::signal6<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, 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, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, sigc::nil> >’
    ../../src/sigc++/signal.h:2480: error: declaration of ‘typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7> > sigc::signal7<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, 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, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7> >’
    make[4]: *** [signal.o] Error 1
    make[4]: Leaving directory `/root/stuff/stardict-3.0.1/src/sigc++'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/root/stuff/stardict-3.0.1/src/sigc++'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/stuff/stardict-3.0.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/stuff/stardict-3.0.1'
    make: *** [all] Error 2
    [root localhost stardict-3.0.1]#

    If anyone know the reason about the errors. please tell me. Thanks!

  2. #2
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    I'll take a wild guess at this.

    It could be possible that you are missing some needed libraries. When compiling, you usually need developmental libraries installed. Since the error is on sigc++, I queried yum for libsigc:
    Code:
    yum whatprovides libsigc*                              
    Loaded plugins: refresh-packagekit                                      
    libsigc++-devel-1.2.7-6.fc9.i386 : Development tools for the typesafe signal framework for C++
    Repo        : fedora                                                                          
    Matched from:                                                                                 
    Other       : libsigc++-devel = 1.2.7-6.fc9                                                   
    
    
    
    libsigc++-1.2.7-6.fc9.i386 : Typesafe signal framework for C++
    Repo        : fedora                                          
    Matched from:                                                 
    Other       : libsigc-1.2.so.5                                
    Other       : libsigc++ = 1.2.7-6.fc9                         
    
    
    
    libsigc++20-devel-2.2.2-1.fc9.i386 : Development tools for the typesafe signal framework for C++
    Repo        : fedora                                                                            
    Matched from:                                                                                   
    Other       : libsigc++20-devel = 2.2.2-1.fc9                                                   
    
    
    
    libsigc++20-2.2.2-1.fc9.i386 : Typesafe signal framework for C++
    Repo        : fedora                                            
    Matched from:                                                   
    Other       : libsigc-2.0.so.0                                  
    Other       : libsigc++20 = 2.2.2-1.fc9                         
    
    
    
    sigen-0.1.1-1.fc10.i386 : An RPG/strategy engine
    Repo        : updates                           
    Matched from:                                   
    Other       : libsigcore.so.0                   
    
    
    
    libsigc++20-2.2.2-1.fc9.i386 : Typesafe signal framework for C++
    Repo        : installed                                         
    Matched from:                                                   
    Other       : libsigc-2.0.so.0                                  
    
    
    
    libsigc++-1.2.7-6.fc9.i386 : Typesafe signal framework for C++
    Repo        : installed                                       
    Matched from:                                                 
    Other       : libsigc-1.2.so.5                                
    
    
    
    [root@two paul]# yum whatprovides libsigc++
    Loaded plugins: refresh-packagekit         
    libsigc++-1.2.7-6.fc9.i386 : Typesafe signal framework for C++                                                                                            
    Repo        : fedora                                                                                                                                      
    Matched from:                                                                                                                                             
                                                                                                                                                              
                                                                                                                                                              
                                                                                                                                                              
    libsigc++-1.2.7-6.fc9.i386 : Typesafe signal framework for C++                                                                                            
    Repo        : installed                                                                                                                                   
    Matched from:                                                                                                                                             
    Other       : Provides-match: libsigc++                                                                                                                   
                                                                                                                                                              
                                                                                                                                                              
                                                                                                                                                              
    [root@two paul]# yum whatprovides libsigc*                                                                                                               
    Loaded plugins: refresh-packagekit                                                                                                                        
    libsigc++-devel-1.2.7-6.fc9.i386 : Development tools for the typesafe signal framework for C++                                                            
    Repo        : fedora                                                                                                                                      
    Matched from:
    Other       : libsigc++-devel = 1.2.7-6.fc9
    
    
    
    libsigc++-1.2.7-6.fc9.i386 : Typesafe signal framework for C++
    Repo        : fedora
    Matched from:
    Other       : libsigc-1.2.so.5
    Other       : libsigc++ = 1.2.7-6.fc9
    
    
    
    libsigc++20-devel-2.2.2-1.fc9.i386 : Development tools for the typesafe signal framework for C++
    Repo        : fedora
    Matched from:
    Other       : libsigc++20-devel = 2.2.2-1.fc9
    
    
    
    libsigc++20-2.2.2-1.fc9.i386 : Typesafe signal framework for C++
    Repo        : fedora
    Matched from:
    Other       : libsigc-2.0.so.0
    Other       : libsigc++20 = 2.2.2-1.fc9
    
    
    
    sigen-0.1.1-1.fc10.i386 : An RPG/strategy engine
    Repo        : updates
    Matched from:
    Other       : libsigcore.so.0
    
    
    
    libsigc++20-2.2.2-1.fc9.i386 : Typesafe signal framework for C++
    Repo        : installed
    Matched from:
    Other       : libsigc-2.0.so.0
    
    
    
    libsigc++-1.2.7-6.fc9.i386 : Typesafe signal framework for C++
    Repo        : installed
    Matched from:
    Other       : libsigc-1.2.so.5
    I would install the first one on the list (libsigc++-devel-1.2.7-6.fc9.i386), and see if that helps.
    Code:
    yum install libsigc++-devel
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    By the way, why don't you just install using the Fedora rpm file that is available from Stardict? It says that it is for Fedora 8, but it should install.

    SourceForge.net: StarDict: Downloading ...

    There are some dependencies that need to be resolved first..
    Code:
    rpm -ivh stardict-3.0.1-1.fc8.i386.rpm
    error: Failed dependencies:
            espeak is needed by stardict-3.0.1-1.fc8.i386
            gucharmap is needed by stardict-3.0.1-1.fc8.i386
            libespeak.so.1 is needed by stardict-3.0.1-1.fc8.i386
            libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386
    EDIT: Actually, you can install StarDict with YUM!
    Code:
    yum install stardict
    Loaded plugins: refresh-packagekit
    Setting up Install Process
    Parsing package install arguments
    Resolving Dependencies
    --> Running transaction check
    ---> Package stardict.i386 0:3.0.1-13.fc10 set to be updated
    --> Processing Dependency: gucharmap >= 2.22.1 for package: stardict
    --> Processing Dependency: libespeak.so.1 for package: stardict
    --> Processing Dependency: libgucharmap.so.7 for package: stardict
    --> Processing Dependency: espeak for package: stardict
    --> Running transaction check
    ---> Package espeak.i386 0:1.39-1.fc10 set to be updated
    ---> Package gucharmap.i386 0:2.24.3-1.fc10 set to be updated
    --> Finished Dependency Resolution
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Location
    Berkeley, California
    Posts
    20
    Yes; I've installed Stardict on F10 simply using Yum. It's much easier.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...