[PD] make problems in ubuntu [g_canvas]

cyrille henry cyrille.henry at la-kitchen.fr
Tue Dec 6 15:22:42 CET 2005


hello,

did you try apt-get install pd in order to install pd without compiling?
it should work.

otherwise, you can try :
mkdir ../obj
mkdir ../bin
and then the make should work...

cyrille



zcwaa22 at ucl.ac.uk a écrit :
> Apologies if this is a 2xpost, ive already sent this mail but nothing appeared
> on the list, probably because i hadnt subscribed...
> 
> Hi,
> I hope this is the right place to post, im trying to install pd onto my laptop
> running ubuntu breezy 5.10. i get past the ./configure phase and the make
> depend [ which outputs "nothing to be bone for "depend"" ] but i get errors
> when i try to make [ or sudo make ]
> 
> Here you go:
> 
> will at ubuntu:~/downloads/pd_files/pd-0.39-1/src$ make
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
> -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DPA_USE_OSS
> -DPA_LITTLE_ENDIAN -DUNIX -DUNISTD          -DUSEAPI_OSS
> -I../portaudio/pa_common -I../portaudio/pablio         -I../portmidi/pm_common
>        -I../portmidi/pm_linux     -fno-strict-aliasing -DPA_USE_ALSA
> -DUSEAPI_ALSA -DINSTALL_PREFIX=\"/bin\" -I. -c -o ../obj/g_canvas.o g_canvas.c
> Assembler messages:
> FATAL: can't create ../obj/g_canvas.o: No such file or directory
> make: *** [g_canvas.o] Error 1
> 
> Which is true there is no file g_canvas.o but there are files g_canvas.c and
> g_canvas.h in the src directory.
> 
> Im new to linux but ive looked in the makefile and theres some stuff relating to
>  .o and .c, heres the start of that:
> 
> VPATH = ../obj:./
> OBJ_DIR = ../obj
> BIN_DIR = ../bin
> PDEXEC = $(BIN_DIR)/pd
> EXT= pd_linux
> GUINAME= pd-gui
> 
> INSTALL_PREFIX = /bin
> GFLAGS = -DINSTALL_PREFIX=\"$(INSTALL_PREFIX)\"
> 
> MANDIR = ${prefix}/man
> 
> MORECFLAGS = -DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUNIX -DUNISTD
> -DUSEAPI_OSS         -I../portaudio/pa_common -I../portaudio/pablio
> -I../portmidi/pm_common         -I../portmidi/pm_linux 	-fno-strict-aliasing
> -DPA_USE_ALSA -DUSEAPI_ALSA
> 
> INCLUDE = -I.
> GINCLUDE = $(INCLUDE)  -I/usr/include/tcl8.4
> GLIB = -ltk8.4 -ltcl8.4
> 
> LDFLAGS = -Wl,-export-dynamic -lasound
> LIB =   -ldl -lm -lpthread -lasound
> 
> OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
> WARN_CFLAGS = -Wall -W -Wstrict-prototypes \
>     -Wno-unused -Wno-parentheses -Wno-switch
> ARCH_CFLAGS = -DPD
> 
> CFLAGS = -g -O2 $(ARCH_CFLAGS) $(WARN_CFLAGS) $(OPT_CFLAGS) $(MORECFLAGS)
> 
> # the sources
> 
> SYSSRC += s_midi_oss.c s_audio_oss.c s_audio_alsa.c s_audio_alsamm.c
> s_midi_alsa.c
> 
> SRC = g_canvas.c g_graph.c g_text.c g_rtext.c g_array.c g_template.c g_io.c \
>     g_scalar.c g_traversal.c g_guiconnect.c g_readwrite.c g_editor.c \
>     g_all_guis.c g_bang.c g_hdial.c g_hslider.c g_mycanvas.c g_numbox.c \
>     g_toggle.c g_vdial.c g_vslider.c g_vumeter.c \
>     m_pd.c m_class.c m_obj.c m_atom.c m_memory.c m_binbuf.c \
>     m_conf.c m_glob.c m_sched.c \
>     s_main.c s_inter.c s_file.c s_print.c \
>     s_loader.c s_path.c s_entry.c s_audio.c s_midi.c \
>     d_ugen.c d_ctl.c d_arithmetic.c d_osc.c d_filter.c d_dac.c d_misc.c \
>     d_math.c d_fft.c d_mayer_fft.c d_fftroutine.c d_array.c d_global.c \
>     d_delay.c d_resample.c \
>     x_arithmetic.c x_connective.c x_interface.c x_midi.c x_misc.c \
>     x_time.c x_acoustics.c x_net.c x_qlist.c x_gui.c x_list.c d_soundfile.c \
>     $(SYSSRC)
> 
> 
> OBJ = $(SRC:.c=.o)
> 
> GSRC =  t_main.c t_tkcmd.c
> 
> GOBJ = $(GSRC:.c=.o)
> 
> #
> 
> Ive searched the net to try and find an answer to this and cant so if anyone
> could help that would be really great.
> 
> Thanks
> Will
> 
> 
> 
> ----- End forwarded message -----
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 




More information about the Pd-list mailing list