[PD-dev] compiling pd-devel on Mac OS X
Hans-Christoph Steiner
hans at eds.org
Thu Jun 2 07:57:11 CEST 2005
I figured out the autotools issue, I needed to use aclocal and automake
version 1.6 not 1.8. That worked fine. I made one small change to
s_main.c to fix what looks to be a minor over sight that caused this
error:
s_main.c: In function `sys_findprogdir':
s_main.c:545: error: `statbuf' undeclared (first use in this function)
s_main.c:545: error: (Each undeclared identifier is reported only once
s_main.c:545: error: for each function it appears in.)
Index: src/s_main.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_main.c,v
retrieving revision 1.7.4.17
diff -r1.7.4.17 s_main.c
483c483
< #ifdef UNISTD
---
> #ifdef HAVE_UNISTD_H
Now I get this:
cc -DPACKAGE_NAME=\"PureData\" -DPACKAGE_TARNAME=\"pd\"
-DPACKAGE_VERSION=\"0.38-4-devel-2\" -DPACKAGE_STRING=\"PureData\
0.38-4-devel-2\" -DPACKAGE_BUGREPORT=\"pd-list at iem.at\"
-DPACKAGE=\"pd\" -DVERSION=\"0.38-4-devel-2\" -D_GNU_SOURCE=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1
-DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void
-DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
-DHAVE_STRERROR=1 -DDL_OPEN=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1
-DHAVE_LIBX11=1 -DUSEAPI_ALSA=1 -DDONTUSESIMD=1 -DUSEAPI_PORTAUDIO=1
-DPA_BIG_ENDIAN=1 -DMACOSX=1 -I. -I. -fno-strict-aliasing -O2 -O3
-c `test -f 's_midi_pm.c' || echo './'`s_midi_pm.c
s_midi_pm.c:21:23: portaudio.h: No such file or directory
s_midi_pm.c:22:22: portmidi.h: No such file or directory
s_midi_pm.c:23:22: porttime.h: No such file or directory
s_midi_pm.c:24:24: pminternal.h: No such file or directory
s_midi_pm.c:26: error: parse error before '*' token
s_midi_pm.c:26: warning: data definition has no type or storage class
s_midi_pm.c:27: error: parse error before '*' token
...
Any ideas why its not finding portaudio?
Bedtime...
.hc
________________________________________________________________________
____
"Computer science is no more related to the computer than astronomy is
related to the telescope."
-Edsger Dykstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2353 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20050602/86b52581/attachment.bin>
More information about the Pd-dev
mailing list