When I try to build ChucK (the audio programming language), I get the error:

alex@alex-laptop:~$ cd Desktop/chuck-1.2.1.1/
alex@alex-laptop:~/Desktop/chuck-1.2.1.1$ cd src
alex@alex-laptop:~/Desktop/chuck-1.2.1.1/src$ make linux-alsa 
make -f makefile.alsa
make[1]: Entering directory `/home/alex/Desktop/chuck-1.2.1.1/src'
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ugen_filter.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ugen_stk.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ugen_xxx.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ulib_machine.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ulib_math.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ulib_std.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ ulib_opsc.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_buffers.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_console.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_string.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_thread.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_opsc.cpp
cc -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_math.c
cc -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_network.c
cc -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_raw.c
cc -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_xforms.c
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ util_hid.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ uana_xform.cpp
g++ -D__LINUX_ALSA__ -c -O3 -D__CK_SNDFILE_NATIVE__ uana_extract.cpp
g++ -o chuck chuck.tab.o chuck.yy.o chuck_absyn.o chuck_parse.o chuck_errmsg.o chuck_frame.o chuck_symbol.o chuck_table.o chuck_utils.o chuck_vm.o chuck_instr.o chuck_scan.o chuck_type.o chuck_emit.o chuck_compile.o chuck_dl.o chuck_oo.o chuck_lang.o chuck_ugen.o chuck_main.o chuck_otf.o chuck_stats.o chuck_bbq.o chuck_shell.o chuck_console.o chuck_globals.o digiio_rtaudio.o hidio_sdl.o midiio_rtmidi.o rtaudio.o rtmidi.o ugen_osc.o ugen_filter.o ugen_stk.o ugen_xxx.o ulib_machine.o ulib_math.o ulib_std.o ulib_opsc.o util_buffers.o util_console.o util_string.o util_thread.o util_opsc.o util_math.o util_network.o util_raw.o util_xforms.o util_hid.o uana_xform.o uana_extract.o  -lasound -lstdc++ -ldl -lm -lsndfile
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make[1]: *** [chuck] Error 1
make[1]: Leaving directory `/home/alex/Desktop/chuck-1.2.1.1/src'
make: [linux-alsa] Error 2 (ignored)
alex@alex-laptop:~/Desktop/chuck-1.2.1.1/src$

What does this mean?

Sounds like you're missing some libraries again. Try installing libasound2 and libasound2-dev .

alex@alex-laptop:~/Desktop/chuck-1.2.1.1$ cd src
alex@alex-laptop:~/Desktop/chuck-1.2.1.1/src$ make linux-alsa
make -f makefile.alsa
make[1]: Entering directory `/home/alex/Desktop/chuck-1.2.1.1/src'
g++ -o chuck chuck.tab.o chuck.yy.o chuck_absyn.o chuck_parse.o chuck_errmsg.o chuck_frame.o chuck_symbol.o chuck_table.o chuck_utils.o chuck_vm.o chuck_instr.o chuck_scan.o chuck_type.o chuck_emit.o chuck_compile.o chuck_dl.o chuck_oo.o chuck_lang.o chuck_ugen.o chuck_main.o chuck_otf.o chuck_stats.o chuck_bbq.o chuck_shell.o chuck_console.o chuck_globals.o digiio_rtaudio.o hidio_sdl.o midiio_rtmidi.o rtaudio.o rtmidi.o ugen_osc.o ugen_filter.o ugen_stk.o ugen_xxx.o ulib_machine.o ulib_math.o ulib_std.o ulib_opsc.o util_buffers.o util_console.o util_string.o util_thread.o util_opsc.o util_math.o util_network.o util_raw.o util_xforms.o util_hid.o uana_xform.o uana_extract.o  -lasound -lstdc++ -ldl -lm -lsndfile
make[1]: Leaving directory `/home/alex/Desktop/chuck-1.2.1.1/src'
alex@alex-laptop:~/Desktop/chuck-1.2.1.1/src$ sudo make install
[sudo] password for alex:
cp chuck /usr/bin/
chmod 755 /usr/bin/chuck
alex@alex-laptop:~/Desktop/chuck-1.2.1.1/src$

Does that mean it's installed? Its not anywhere to run.

Well, according to the install log, it copied the binary 'chuck' into /usr/bin . Most likely it's already in your path, so just type 'chuck' at the command prompt and see what happens.

Yep. Everything works now, thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.