[sugar] Building squeak (was Re: ImportError: No module named wnck)

Gervase Markham gerv at gerv.net
Wed Mar 14 06:12:34 EDT 2007


Bert Freudenberg wrote:
> What's the problem with squeak? Anybody else having problems building it?

I'm attempting to build on Ubuntu Edgy Eft, and squeak is the only thing 
I can't yet build. The error is as follows. Hope that helps :-)

Gerv

*** Building squeak *** [1/1]

make
make -C bld
make[1]: Entering directory `/usr/src/sugar-jhbuild/source/squeak/bld'
make[2]: `vm.a' is up to date.
make[2]: `ADPCMCodecPlugin.a' is up to date.
make[2]: `AsynchFilePlugin.a' is up to date.
make[2]: `B2DPlugin.a' is up to date.
make[2]: `BitBltPlugin.a' is up to date.
make[2]: `BMPReadWriterPlugin.a' is up to date.
make[2]: `CroquetPlugin.a' is up to date.
make[2]: `ZipPlugin.a' is up to date.
make[2]: `DropPlugin.a' is up to date.
make[2]: `DSAPrims.a' is up to date.
make[2]: `FFTPlugin.a' is up to date.
make[2]: `FilePlugin.a' is up to date.
make[2]: `FloatArrayPlugin.a' is up to date.
make[2]: `FloatMathPlugin.a' is up to date.
make[2]: `GeniePlugin.a' is up to date.
make[2]: `JoystickTabletPlugin.a' is up to date.
make[2]: `JPEGReaderPlugin.a' is up to date.
make[2]: `JPEGReadWriter2Plugin.a' is up to date.
make[2]: `KedamaPlugin2.a' is up to date.
make[2]: `Klatt.a' is up to date.
make[2]: `LargeIntegers.a' is up to date.
make[2]: `Matrix2x3Plugin.a' is up to date.
make[2]: `MIDIPlugin.a' is up to date.
make[2]: `MiscPrimitivePlugin.a' is up to date.
make[2]: `Mpeg3Plugin.a' is up to date.
make[2]: `RePlugin.a' is up to date.
make[2]: `SecurityPlugin.a' is up to date.
make[2]: `SerialPlugin.a' is up to date.
make[2]: `SocketPlugin.a' is up to date.
make[2]: `SoundCodecPrims.a' is up to date.
make[2]: `SoundGenerationPlugin.a' is up to date.
make[2]: `SoundPlugin.a' is up to date.
make[2]: `StarSqueakPlugin.a' is up to date.
make[2]: `SurfacePlugin.a' is up to date.
/bin/bash /usr/src/sugar-jhbuild/source/squeak/bld/libtool --mode=link 
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1    -export-dynamic 
-R/usr/src/sugar-jhbuild/build/lib -o squeak vm/vm.a 
ADPCMCodecPlugin/ADPCMCodecPlugin.a AsynchFilePlugin/AsynchFilePlugin.a 
B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a 
BMPReadWriterPlugin/BMPReadWriterPlugin.a CroquetPlugin/CroquetPlugin.a 
ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a DSAPrims/DSAPrims.a 
FFTPlugin/FFTPlugin.a FilePlugin/FilePlugin.a 
FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a 
GeniePlugin/GeniePlugin.a JoystickTabletPlugin/JoystickTabletPlugin.a 
JPEGReaderPlugin/JPEGReaderPlugin.a 
JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a 
KedamaPlugin2/KedamaPlugin2.a Klatt/Klatt.a 
LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a 
MIDIPlugin/MIDIPlugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a 
Mpeg3Plugin/Mpeg3Plugin.a RePlugin/RePlugin.a 
SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a 
SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a 
SoundGenerationPlugin/SoundGenerationPlugin.a SoundPlugin/SoundPlugin.a 
StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a 
disabledPlugins.o version.o -lutil -ldl -lm -lnsl   vm/vm.a
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -o squeak 
disabledPlugins.o version.o -Wl,--export-dynamic  vm/vm.a 
ADPCMCodecPlugin/ADPCMCodecPlugin.a AsynchFilePlugin/AsynchFilePlugin.a 
B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a 
BMPReadWriterPlugin/BMPReadWriterPlugin.a CroquetPlugin/CroquetPlugin.a 
ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a DSAPrims/DSAPrims.a 
FFTPlugin/FFTPlugin.a FilePlugin/FilePlugin.a 
FloatArrayPlugin/FloatArrayPlugin.a FloatMathPlugin/FloatMathPlugin.a 
GeniePlugin/GeniePlugin.a JoystickTabletPlugin/JoystickTabletPlugin.a 
JPEGReaderPlugin/JPEGReaderPlugin.a 
JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a 
KedamaPlugin2/KedamaPlugin2.a Klatt/Klatt.a 
LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a 
MIDIPlugin/MIDIPlugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a 
Mpeg3Plugin/Mpeg3Plugin.a RePlugin/RePlugin.a 
SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a 
SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a 
SoundGenerationPlugin/SoundGenerationPlugin.a SoundPlugin/SoundPlugin.a 
StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a -lutil 
-ldl -lm -lnsl vm/vm.a -Wl,--rpath -Wl,/usr/src/sugar-jhbuild/build/lib
MIDIPlugin/MIDIPlugin.a(sqUnixMIDI.o): In function `midiInit':
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:452: 
undefined reference to `snd_seq_open'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:457: 
undefined reference to `snd_seq_set_client_name'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:458: 
undefined reference to `snd_seq_alloc_queue'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:466: 
undefined reference to `snd_seq_control_queue'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:461: 
undefined reference to `snd_seq_close'
MIDIPlugin/MIDIPlugin.a(sqUnixMIDI.o): In function `sqMIDIPortWriteFromAt':
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:439: 
undefined reference to `snd_seq_event_output'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:440: 
undefined reference to `snd_seq_drain_output'
MIDIPlugin/MIDIPlugin.a(sqUnixMIDI.o): In function `sqMIDIParameter':
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:375: 
undefined reference to `snd_seq_drain_output'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:335: 
undefined reference to `snd_seq_queue_tempo_sizeof'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:335: 
undefined reference to `snd_seq_queue_tempo_sizeof'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:336: 
undefined reference to `snd_seq_get_queue_tempo'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:337: 
undefined reference to `snd_seq_queue_tempo_get_tempo'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:381: 
undefined reference to `snd_seq_queue_tempo_sizeof'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:381: 
undefined reference to `snd_seq_queue_tempo_sizeof'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:382: 
undefined reference to `snd_seq_queue_tempo_set_tempo'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:383: 
undefined reference to `snd_seq_set_queue_tempo'
MIDIPlugin/MIDIPlugin.a(sqUnixMIDI.o): In function `sqMIDIOpenPort':
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:283: 
undefined reference to `snd_seq_queue_tempo_sizeof'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:283: 
undefined reference to `snd_seq_queue_tempo_sizeof'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:284: 
undefined reference to `snd_seq_queue_tempo_set_tempo'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:285: 
undefined reference to `snd_seq_set_queue_tempo'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:269: 
undefined reference to `snd_seq_create_simple_port'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:256: 
undefined reference to `snd_seq_create_simple_port'
MIDIPlugin/MIDIPlugin.a(sqUnixMIDI.o): In function `sqMIDIClosePort':
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:163: 
undefined reference to `snd_seq_delete_simple_port'
/usr/src/sugar-jhbuild/source/squeak/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc:169: 
undefined reference to `snd_seq_delete_simple_port'
collect2: ld returned 1 exit status
make[1]: *** [squeak] Error 1
make[1]: Leaving directory `/usr/src/sugar-jhbuild/source/squeak/bld'
make: *** [default] Error 2
*** error during stage build of squeak: ########## Error running make 
*** [1/1]


   [1] rerun stage build
   [2] ignore error and continue to install
   [3] give up on module
   [4] start shell
   [5] go to stage force_checkout
   [6] go to stage configure
choice:


More information about the Sugar mailing list