I am trying to compile the devel_0_36 branch from CVS on OS X and am getting a compiler error. I've searched the list archives and google to no avail. So I am trying here:
(as root)
bash-2.05a$ ./configure
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /sw/bin/install -c
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... cc -E -traditional-cpp
checking for working const... yes
checking for ANSI C header files... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... no
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for bstring.h... no
checking whether cc needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for dlopen in -ldl... no
dynamic link support required
checking for sin in -lffm... no
checking for sin in -lm... yes
checking for pthread_create in -lpthread... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for XCreateWindow in -lX11... yes
checking for tcl.h... yes
checking for main in -ltcl8.7... no
checking for main in -ltcl8.6... no
checking for main in -ltcl8.5... no
checking for main in -ltcl8.4... no
checking for main in -ltcl8.3... yes
checking for main in -ltk8.7... no
checking for main in -ltk8.6... no
checking for main in -ltk8.5... no
checking for main in -ltk8.4... no
checking for main in -ltk8.3... no
checking for main in -ltk8.2... no
checking for main in -ltk8.0... no
updating cache ./config.cache
creating ./config.status
creating makefile
bash-2.05a$ make depend
cc -I. -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused
-Wno-parentheses -Wno-switch -O3 -DMACOSX -I/usr/X11R6/include
-I../portaudio/pa_common -I../portaudio/pablio
-I../portaudio/portmidi-macosx -Wno-error -M 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_unix.c s_file.c s_print.c s_loader.c s_path.c s_entry.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 d_soundfile.c
s_mac.c s_portaudio.c ../portaudio/pa_common/pa_lib.c
../portaudio/pa_common/pa_trace.c
../portaudio/pa_common/pa_convert.c
../portaudio/pablio/pablio_pd.c ../portaudio/pablio/ringbuffer_pd.c
../portaudio/pa_mac_core/pa_mac_core.c
../portaudio/portmidi-macosx/pmdarwin.c
../portaudio/portmidi-macosx/pmmacosx.c
../portaudio/portmidi-macosx/pmutil.c
../portaudio/portmidi-macosx/portmidi.c
../portaudio/portmidi-macosx/ptdarwin.c > makefile.dependencies
bash-2.05a$ make
cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused
-Wno-parentheses -Wno-switch -O3 -DMACOSX -I/usr/X11R6/include
-I../portaudio/pa_common -I../portaudio/pablio
-I../portaudio/portmidi-macosx -Wno-error
-DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/g_canvas.o g_canvas.c
/var/tmp//ccPYgzgh.s:unknown:FATAL:can't create output file:
../obj/g_canvas.o
make: *** [g_canvas.o] Error 1
bash-2.05a$ ls -ld /var/tmp/
drwxrwxrwt 19 root wheel 646 Feb 8 11:27 /var/tmp/
I forgot to add I am using the latest Developer release from Apple:
bash-2.05a$ gcc --version gcc (GCC) 3.1 20020420 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.hc
On Saturday, Feb 8, 2003, at 11:37 America/New_York, Hans-Christoph Steiner wrote:
I am trying to compile the devel_0_36 branch from CVS on OS X and am getting a compiler error. I've searched the list archives and google to no avail. So I am trying here:
(as root) bash-2.05a$ ./configure creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /sw/bin/install -c checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cc -E -traditional-cpp checking for working const... yes checking for ANSI C header files... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... no checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for bstring.h... no checking whether cc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for dlopen in -ldl... no dynamic link support required checking for sin in -lffm... no checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for XCreateWindow in -lX11... yes checking for tcl.h... yes checking for main in -ltcl8.7... no checking for main in -ltcl8.6... no checking for main in -ltcl8.5... no checking for main in -ltcl8.4... no checking for main in -ltcl8.3... yes checking for main in -ltk8.7... no checking for main in -ltk8.6... no checking for main in -ltk8.5... no checking for main in -ltk8.4... no checking for main in -ltk8.3... no checking for main in -ltk8.2... no checking for main in -ltk8.0... no updating cache ./config.cache creating ./config.status creating makefile bash-2.05a$ make depend cc -I. -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O3 -DMACOSX -I/usr/X11R6/include -I../portaudio/pa_common -I../portaudio/pablio -I../portaudio/portmidi-macosx -Wno-error -M 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_unix.c s_file.c s_print.c s_loader.c s_path.c s_entry.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 d_soundfile.c s_mac.c s_portaudio.c ../portaudio/pa_common/pa_lib.c
../portaudio/pa_common/pa_trace.c
../portaudio/pa_common/pa_convert.c
../portaudio/pablio/pablio_pd.c ../portaudio/pablio/ringbuffer_pd.c
../portaudio/pa_mac_core/pa_mac_core.c
../portaudio/portmidi-macosx/pmdarwin.c
../portaudio/portmidi-macosx/pmmacosx.c
../portaudio/portmidi-macosx/pmutil.c
../portaudio/portmidi-macosx/portmidi.c
../portaudio/portmidi-macosx/ptdarwin.c > makefile.dependencies bash-2.05a$ make cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O3 -DMACOSX -I/usr/X11R6/include -I../portaudio/pa_common -I../portaudio/pablio -I../portaudio/portmidi-macosx -Wno-error -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/g_canvas.o g_canvas.c /var/tmp//ccPYgzgh.s:unknown:FATAL:can't create output file: ../obj/g_canvas.o make: *** [g_canvas.o] Error 1 bash-2.05a$ ls -ld /var/tmp/ drwxrwxrwt 19 root wheel 646 Feb 8 11:27 /var/tmp/
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
bash-2.05a$ make cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O3 -DMACOSX -I/usr/X11R6/include -I../portaudio/pa_common -I../portaudio/pablio -I../portaudio/portmidi-macosx -Wno-error -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/g_canvas.o g_canvas.c /var/tmp//ccPYgzgh.s:unknown:FATAL:can't create output file: ../obj/g_canvas.o make: *** [g_canvas.o] Error 1
Looks like you're missing the directory "obj" in the pd-sources. And you'll probably miss the directory "bin" a bit later in the compile process as well.
[Both have vanished from the CVS somehow and it seems nobody knows how to conjure them up again ;( ]
Frank Barknecht _ ______footils.org__