Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
I ran into Ubuntu help few days ago n it said these are at least package needed for Player/Stage to be able to be installed on Ubuntu. autotools-dev build-essential cpp ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jan 2009
    Posts
    8

    I ran into Ubuntu help few days ago n it said these are at least package needed for Player/Stage to be able to be installed on Ubuntu.

    autotools-dev
    build-essential
    cpp
    libboost-dev
    libboost-thread1.33.1
    libboost-thread-dev
    libboost-signals1.33.1
    libboost-signals-dev
    libltdl3
    libltdl3-dev
    libgnomecanvas2-0
    libgsl0
    libgsl0-dev
    libgtk2.0-dev (for stage)
    libjpeg62-dev
    libtool
    swig

    I tried to install them on Mandriva 2008.0. Except for autotools,build-essential,libboost-thread*, libbboost-signal*, other packages were successfully installed.

    So I tried configuring Player again. It worked, but the 'make' still return an error message:

    make all-recursive
    make[1]: Entering directory `/home/abe/player-2.1.1'
    Making all in replace
    make[2]: Entering directory `/home/abe/player-2.1.1/replace'
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -I../client_libs/libplayerc -g -O2 -MT poll.lo -MD -MP -MF .deps/poll.Tpo -c -o poll.lo poll.c
    gcc -DHAVE_CONFIG_H -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -I../client_libs/libplayerc -g -O2 -MT poll.lo -MD -MP -MF .deps/poll.Tpo -c poll.c -fPIC -DPIC -o .libs/poll.o
    In file included from poll.c:26:
    replace.h:100: warning: ‘struct timespec’ declared inside parameter list
    replace.h:100: warning: its scope is only this definition or declaration, which is probably not what you want
    In file included from poll.c:34:
    /usr/include/unistd.h:245: error: two or more data types in declaration specifiers
    poll.c: In function ‘poll’:
    poll.c:79: warning: incompatible implicit declaration of built-in function ‘alloca’
    make[2]: *** [poll.lo] Error 1
    make[2]: Leaving directory `/home/abe/player-2.1.1/replace'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/abe/player-2.1.1'
    make: *** [all] Error 2

    Btw, the rpmdrake gui finally able to popup. Thanks though.

  2. #12
    Just Joined! Loy Glenn's Avatar
    Join Date
    Sep 2008
    Location
    Houston,TX
    Posts
    89
    Verify that gcc-c++ is installed, if not install and try rebuilding.
    If it fails, repost output of configure and make.
    Loy

  3. #13
    Just Joined!
    Join Date
    Jan 2009
    Posts
    8
    Hi again.
    Sorry for the late reply.

    When I checked what you suggested, here is what was appeared:
    Already installed:
    gcc3.3
    gcc3.3-c++
    gcc3.3-cpp
    gcc

    Present,but not installed:
    gcc4.2
    gcc4.2-c++
    gcc4.2-cpp
    gcc4.3
    gcc4.3-c++
    gcc4.3-cpp
    gcc-c++
    gcc-cpp

    I think it because they're from the different repos, but rpmdrake didn't suggest to upgrade
    the current installed gcc. So I assumed it OK since rpmdrake knew about this better then me

    As I said in my post before, I installed some dependencies
    for Player n recompile the source again. The ./configure worked (the config.log said configure: exit 0).
    But during the 'checking ...', it retuned these two line:

    configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!
    configure: WARNING: dlfcn.h: proceeding with the compiler's result

    n while 'make'ing it seemed like the process were running pretty well (it took almost an hour),
    but in the end it returned some error message like before.

    make all-recursive
    make[1]: Entering directory............
    Making all in replace
    make[2]: Entering directory
    make[2]: Nothing to be done for `all'.
    ....
    make[4]: Entering directory....
    make[4]: Nothing to be done for `all'.
    and so on...

    I proceeded to 'make install' and it returned the same thing.
    But when I tried to type 'player' in konsole, it is present.

    I tried to play a file:

    driver
    (
    name "dummy"
    provides ["position:0"]
    rate 10
    )

    $player dummy.conf

    it returned:
    dummy.conf:6 error: unknown interface: [position]
    error : Initialization failed for driver "dummy"
    error : failed to parse config file dummy.conf driver blocks

    So I guess it still didn't work.
    I tried to install Stage, but it lacks the package FLTK.
    Don't know what it is and btw, the installation use cmake.

  4. $spacer_open
    $spacer_close
Page 2 of 2 FirstFirst 1 2

Posting Permissions

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