Disko Forum logo Login  |  Register  |  Lost Password
Compilation fails in SConstruct

ogh
Posts: 1
graphgraph

Compilation fails in SConstruct 4 Years, 8 Months ago  
The compilation steps described in the README fail to work on an Ubuntu 8.04 workstation.

$ git clone git://www.diskohq.org/disko.git
Initialized empty Git repository in /home/ogh/avr-linux/disko/.git/
remote: Counting objects: 12458, done.
remote: Compressing objects: 100% (8978/8978), done.
remote: Total 12458 (delta 10275), reused 4056 (delta 3325)
Receiving objects: 100% (12458/12458), 4.00 MiB | 676 KiB/s, done.
Resolving deltas: 100% (10275/10275), done.

$ cd disko

$ scons -c
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.

$ scons -h
scons: Reading SConscript files ...

scons: *** Error converting option: media
Invalid value(s) for option: <built-in function all>
File "/home/[my-working-dir]/disko/SConstruct", line 147, in <module>

If `scons -h` is executed directly (without running `scons -c` first), the following is printed:

scons: Reading SConscript files ...
***************************************************

GStreamer not found!
Disabling gstreamer media backend

***************************************************
scons: done reading SConscript files.
Type: 'scons [options]' to build disko.
'scons [options] check' to check the requirements for building disko.
'scons -c' to clean.
'scons doc' to create the API reference (doxygen has to be installed).
'scons install' to install disko.

The following options are available:

[many-lines-clipped here]

big_lib: Create one big shared library (yes|no)
default: False
actual: False

Use scons -H for help about command-line options.

The program stops after printing the last line, and no pause is made for user input. After this, the following is obtained:

$ scons install
scons: Reading SConscript files ...

scons: *** Error converting option: media
Invalid value(s) for option: <built-in function all>
File "/home/ogh/avr-linux/disko/SConstruct", line 147, in <module>

What could be wrong?

Thanks,
Ovidiu
 
  The administrator has disabled public write access.
Compilation fails in SConstruct

Guido
Admin
Posts: 54
graphgraph

Re:Compilation fails in SConstruct 4 Years, 8 Months ago  
Hi Ovidiu,

did you enable a media backend and did you install the required development package (for xine or gestreamer)?

scons: *** Error converting option: media

regards

Guido
 
  The administrator has disabled public write access.
Compilation fails in SConstruct

Guido
Admin
Posts: 54
graphgraph

Re:Compilation fails in SConstruct 4 Years, 8 Months ago  
Hi Ovidiu,

we can reproduce the problem on 8.04. It seems to be a problem with an older scons version. If you enable a media backend, the bug is solved.

Please try to build Disko with (xine and x11 example):

scons media=xine graphics=x11

regards

Guido
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop