i've been using pd on my mandrake 9.1 and when i installed 10.1 this is what i get when i try to compile the source of pd 0.38 version. after ./configure i did make and it compiled some code and got to this point:
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../portaudio/portmidi-macosx -fno-strict-aliasing
-DPA_USE_ALSA -DUSEAPI_ALSA -DUSEAPI_JACK
-DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/t_main.o t_main.c
In file included from t_main.c:18:
/usr/include/tk.h:96:23: X11/Xlib.h: No such file or directory
In file included from t_main.c:18:
/usr/include/tk.h:572: error: syntax error before "Window"
/usr/include/tk.h:572: error: Window' declared as function returning a function /usr/include/tk.h:575: error: syntax error before "XEvent" /usr/include/tk.h:584: error: syntax error before "Tk_ClassCreateProc" /usr/include/tk.h:592: error: syntax error before '}' token /usr/include/tk.h:678: error: syntax error before "Bool" /usr/include/tk.h:683: error: syntax error before "time" /usr/include/tk.h:688: error: syntax error before "same_screen" /usr/include/tk.h:694: error: syntax error before "Bool" /usr/include/tk.h:697: error: syntax error before '}' token /usr/include/tk.h:698: error: syntax error before "XActivateEvent" /usr/include/tk.h:699: error: syntax error before "XDeactivateEvent" /usr/include/tk.h:771: error: syntax error before "Display" /usr/include/tk.h:774: error: syntax error before '*' token /usr/include/tk.h:785: error: syntax error before "changes" /usr/include/tk.h:787: error: syntax error before "atts" /usr/include/tk.h:811: error: syntax error before '}' token /usr/include/tk.h:921: error: syntax error before "XPoint" /usr/include/tk.h:1022: error: syntax error before "Display" /usr/include/tk.h:1024: error: syntax error before "Display" /usr/include/tk.h:1121: error: syntax error before "XColor" /usr/include/tk.h:1151: error: syntax error before '}' token /usr/include/tk.h:1185: error: syntax error before "GC" /usr/include/tk.h:1197: error: syntax error before '*' token /usr/include/tk.h:1198: error: syntax error before '*' token /usr/include/tk.h:1199: error: syntax error before '*' token /usr/include/tk.h:1200: error: syntax error before "stipple" /usr/include/tk.h:1201: error: syntax error before "activeStipple" /usr/include/tk.h:1202: error: syntax error before "disabledStipple" /usr/include/tk.h:1226: error: syntax error before "Display" /usr/include/tk.h:1229: error: syntax error before "Display" /usr/include/tk.h:1434: error: syntax error before "Drawable" /usr/include/tk.h:1551: error: syntax error before "XErrorEvent" /usr/include/tk.h:1553: error: syntax error before "XEvent" /usr/include/tk.h:1555: error: syntax error before "XEvent" /usr/include/tk.h:1557: error: syntax error before "XEvent" /usr/include/tk.h:1562: error: syntax error before "XEvent" In file included from /usr/include/tk.h:1576, from t_main.c:18: /usr/include/tkDecls.h:37: error: syntax error before '*' token /usr/include/tkDecls.h:39: error: syntax error before "Tk_3DBorderGC" /usr/include/tkDecls.h:42: error: syntax error before "Drawable" /usr/include/tkDecls.h:47: error: syntax error before "Drawable" /usr/include/tkDecls.h:56: error: syntax error before "XEvent" /usr/include/tkDecls.h:73: error: syntax error before '*' token /usr/include/tkDecls.h:76: error: syntax error before "Pixmap" /usr/include/tkDecls.h:80: error: syntax error before "XColor" /usr/include/tkDecls.h:90: error: syntax error before "Pixmap" /usr/include/tkDecls.h:95: error: syntax error before "GC" /usr/include/tkDecls.h:114: error: syntax error before "XSetWindowAttributes" /usr/include/tkDecls.h:122: error: syntax error before "Atom" /usr/include/tkDecls.h:125: error: syntax error before "Atom" /usr/include/tkDecls.h:147: error: syntax error before "XWindowChanges" /usr/include/tkDecls.h:167: error: syntax error before '*' token /usr/include/tkDecls.h:187: error: syntax error before "Atom" /usr/include/tkDecls.h:232: error: syntax error before "Atom" /usr/include/tkDecls.h:242: error: syntax error before "Drawable" /usr/include/tkDecls.h:247: error: syntax error before "Drawable" /usr/include/tkDecls.h:252: error: syntax error before '*' token /usr/include/tkDecls.h:257: error: syntax error before "GC" /usr/include/tkDecls.h:260: error: syntax error before '*' token /usr/include/tkDecls.h:265: error: syntax error before "Drawable" /usr/include/tkDecls.h:270: error: syntax error before "Drawable" /usr/include/tkDecls.h:278: error: syntax error before "Tk_FontId" /usr/include/tkDecls.h:282: error: syntax error before '*' token /usr/include/tkDecls.h:285: error: syntax error before '*' token /usr/include/tkDecls.h:287: error: syntax error before '*' token /usr/include/tkDecls.h:290: error: syntax error before '*' token /usr/include/tkDecls.h:295: error: syntax error before '*' token /usr/include/tkDecls.h:299: error: syntax error before "Display" /usr/include/tkDecls.h:303: error: syntax error before '*' token /usr/include/tkDecls.h:309: error: syntax error before '*' token /usr/include/tkDecls.h:311: error: syntax error before "Tk_GCForColor" /usr/include/tkDecls.h:311: error: syntax error before '*' token /usr/include/tkDecls.h:327: error: syntax error before "Atom" /usr/include/tkDecls.h:334: error: syntax error before "Tk_GetBitmap" /usr/include/tkDecls.h:337: error: syntax error before "Tk_GetBitmapFromData" /usr/include/tkDecls.h:344: error: syntax error before '*' token /usr/include/tkDecls.h:347: error: syntax error before '*' token /usr/include/tkDecls.h:347: error: syntax error before "XColor" /usr/include/tkDecls.h:350: error: syntax error before "Tk_GetColormap" /usr/include/tkDecls.h:371: error: syntax error before "Tk_GetGC" /usr/include/tkDecls.h:371: error: syntax error before "XGCValues" /usr/include/tkDecls.h:401: error: syntax error before "Tk_GetPixmap" /usr/include/tkDecls.h:401: error: syntax error before '*' token /usr/include/tkDecls.h:418: error: syntax error before "Atom" /usr/include/tkDecls.h:424: error: syntax error before '*' token /usr/include/tkDecls.h:424: error: syntax error before "Colormap" /usr/include/tkDecls.h:435: error: syntax error before '*' token /usr/include/tkDecls.h:437: error: syntax error before '*' token /usr/include/tkDecls.h:446: error: syntax error before "Tk_InternAtom" /usr/include/tkDecls.h:484: error: syntax error before '*' token /usr/include/tkDecls.h:489: error: syntax error before '*' token /usr/include/tkDecls.h:491: error: syntax error before '*' token /usr/include/tkDecls.h:509: error: syntax error before "Atom" /usr/include/tkDecls.h:549: error: syntax error before '*' token /usr/include/tkDecls.h:552: error: syntax error before '*' token /usr/include/tkDecls.h:555: error: syntax error before "Drawable" /usr/include/tkDecls.h:591: error: syntax error before "Pixmap" /usr/include/tkDecls.h:600: error: syntax error before "Pixmap" /usr/include/tkDecls.h:603: error: syntax error before "Colormap" /usr/include/tkDecls.h:606: error: syntax error before "Visual" /usr/include/tkDecls.h:610: error: syntax error before '*' token /usr/include/tkDecls.h:627: error: syntax error before '*' token /usr/include/tkDecls.h:632: error: syntax error before '*' token /usr/include/tkDecls.h:649: error: syntax error before "Tk_AllocBitmapFromObj" /usr/include/tkDecls.h:657: error: syntax error before '*' token /usr/include/tkDecls.h:702: error: syntax error before "Tk_GetBitmapFromObj" /usr/include/tkDecls.h:705: error: syntax error before '*' token /usr/include/tkDecls.h:770: error: syntax error before '*' token /usr/include/tkDecls.h:772: error: syntax error before '*' token /usr/include/tkDecls.h:775: error: syntax error before '*' token /usr/include/tkDecls.h:779: error: syntax error before "Tk_Outline" /usr/include/tkDecls.h:782: error: syntax error before "Tk_Outline" /usr/include/tkDecls.h:785: error: syntax error before "Tk_Outline" /usr/include/tkDecls.h:788: error: syntax error before "GC" /usr/include/tkDecls.h:795: error: syntax error before "GC" /usr/include/tkDecls.h:801: error: syntax error before "Pixmap" /usr/include/tkDecls.h:806: error: syntax error before "XColor" /usr/include/tkDecls.h:821: error: syntax error before "Pixmap" /usr/include/tkDecls.h:843: error: syntax error before "Tk_ClassProcs" /usr/include/tkDecls.h:866: error: syntax error before '*' token /usr/include/tkDecls.h:915: error: syntax error before "Drawable" /usr/include/tkDecls.h:932: error: syntax error before "XColor" /usr/include/tkDecls.h:933: error: syntax error before '*' token /usr/include/tkDecls.h:933: error:
GC' declared as function returning
a function
/usr/include/tkDecls.h:934: error: syntax error before "Drawable"
/usr/include/tkDecls.h:935: error: syntax error before "Drawable"
/usr/include/tkDecls.h:937: error: syntax error before "XEvent"
/usr/include/tkDecls.h:941: error: syntax error before '*' token
/usr/include/tkDecls.h:942: error: syntax error before "Pixmap"
/usr/include/tkDecls.h:943: error: syntax error before "XColor"
/usr/include/tkDecls.h:946: error: syntax error before "Pixmap"
/usr/include/tkDecls.h:948: error: syntax error before "GC"
/usr/include/tkDecls.h:953: error: syntax error before "XSetWindowAttributes"
/usr/include/tkDecls.h:955: error: syntax error before "Atom"
/usr/include/tkDecls.h:956: error: syntax error before "Atom"
/usr/include/tkDecls.h:961: error: syntax error before "XWindowChanges"
/usr/include/tkDecls.h:966: error: syntax error before '*' token
/usr/include/tkDecls.h:972: error: syntax error before "Atom"
/usr/include/tkDecls.h:984: error: syntax error before "Atom"
/usr/include/tkDecls.h:988: error: syntax error before "Drawable"
/usr/include/tkDecls.h:989: error: syntax error before "Drawable"
/usr/include/tkDecls.h:990: error: syntax error before '*' token
/usr/include/tkDecls.h:991: error: syntax error before "GC"
/usr/include/tkDecls.h:992: error: syntax error before '*' token
/usr/include/tkDecls.h:993: error: syntax error before "Drawable"
/usr/include/tkDecls.h:994: error: syntax error before "Drawable"
/usr/include/tkDecls.h:996: error: syntax error before '*' token
/usr/include/tkDecls.h:996: error: `Font' declared as function
returning a function
/usr/include/tkDecls.h:998: error: syntax error before '*' token
/usr/include/tkDecls.h:999: error: syntax error before '*' token
/usr/include/tkDecls.h:1000: error: syntax error before '*' token
/usr/include/tkDecls.h:1001: error: syntax error before '*' token
/usr/include/tkDecls.h:1003: error: syntax error before '*' token
/usr/include/tkDecls.h:1005: error: syntax error before "Display"
/usr/include/tkDecls.h:1006: error: syntax error before '*' token
/usr/include/tkDecls.h:1008: error: syntax error before '*' token
/usr/include/tkDecls.h:1009: error: syntax error before '*' token
/usr/include/tkDecls.h:1009: error: syntax error before '*' token
/usr/include/tkDecls.h:1009: error: GC' declared as function returning a function /usr/include/tkDecls.h:1014: error: syntax error before "Atom" /usr/include/tkDecls.h:1016: error: syntax error before '*' token /usr/include/tkDecls.h:1016: error:
Pixmap' declared as function
returning a function
/usr/include/tkDecls.h:1017: error: syntax error before '*' token
/usr/include/tkDecls.h:1017: error: `Pixmap' declared as function
returning a function
/usr/include/tkDecls.h:1019: error: syntax error before '*' token
/usr/include/tkDecls.h:1020: error: syntax error before '*' token
/usr/include/tkDecls.h:1020: error: syntax error before "XColor"
/usr/include/tkDecls.h:1021: error: syntax error before '*' token
/usr/include/tkDecls.h:1021: error: Colormap' declared as function returning a function /usr/include/tkDecls.h:1027: error: syntax error before '*' token /usr/include/tkDecls.h:1027: error: syntax error before "XGCValues" /usr/include/tkDecls.h:1027: error:
GC' declared as function
returning a function
/usr/include/tkDecls.h:1036: error: syntax error before '*' token
/usr/include/tkDecls.h:1036: error: syntax error before '*' token
/usr/include/tkDecls.h:1036: error: Pixmap' declared as function returning a function /usr/include/tkDecls.h:1041: error: syntax error before "Atom" /usr/include/tkDecls.h:1043: error: syntax error before '*' token /usr/include/tkDecls.h:1043: error: syntax error before "Colormap" /usr/include/tkDecls.h:1046: error: syntax error before '*' token /usr/include/tkDecls.h:1047: error: syntax error before '*' token /usr/include/tkDecls.h:1050: error: syntax error before '*' token /usr/include/tkDecls.h:1050: error:
Atom' declared as function
returning a function
/usr/include/tkDecls.h:1063: error: syntax error before '*' token
/usr/include/tkDecls.h:1065: error: syntax error before '*' token
/usr/include/tkDecls.h:1066: error: syntax error before '*' token
/usr/include/tkDecls.h:1073: error: syntax error before "Atom"
/usr/include/tkDecls.h:1084: error: syntax error before '*' token
/usr/include/tkDecls.h:1085: error: syntax error before '*' token
/usr/include/tkDecls.h:1086: error: syntax error before "Drawable"
/usr/include/tkDecls.h:1097: error: syntax error before "Pixmap"
/usr/include/tkDecls.h:1100: error: syntax error before "Pixmap"
/usr/include/tkDecls.h:1101: error: syntax error before "Colormap"
/usr/include/tkDecls.h:1102: error: syntax error before "Visual"
/usr/include/tkDecls.h:1103: error: syntax error before '*' token
/usr/include/tkDecls.h:1109: error: syntax error before '*' token
/usr/include/tkDecls.h:1110: error: syntax error before '*' token
/usr/include/tkDecls.h:1116: error: syntax error before '*' token
/usr/include/tkDecls.h:1116: error: `Pixmap' declared as function
returning a function
/usr/include/tkDecls.h:1118: error: syntax error before '*' token
/usr/include/tkDecls.h:1132: error: syntax error before '*' token
/usr/include/tkDecls.h:1132: error: `Pixmap' declared as function
returning a function
/usr/include/tkDecls.h:1133: error: syntax error before '*' token
/usr/include/tkDecls.h:1152: error: syntax error before '*' token
/usr/include/tkDecls.h:1153: error: syntax error before '*' token
/usr/include/tkDecls.h:1154: error: syntax error before '*' token
/usr/include/tkDecls.h:1155: error: syntax error before "Tk_Outline"
/usr/include/tkDecls.h:1156: error: syntax error before "Tk_Outline"
/usr/include/tkDecls.h:1157: error: syntax error before "Tk_Outline"
/usr/include/tkDecls.h:1158: error: syntax error before "GC"
/usr/include/tkDecls.h:1160: error: syntax error before "GC"
/usr/include/tkDecls.h:1162: error: syntax error before "Pixmap"
/usr/include/tkDecls.h:1163: error: syntax error before "XColor"
/usr/include/tkDecls.h:1167: error: syntax error before "Pixmap"
/usr/include/tkDecls.h:1173: error: syntax error before "Tk_ClassProcs"
/usr/include/tkDecls.h:1179: error: syntax error before '*' token
/usr/include/tkDecls.h:1195: error: syntax error before "Drawable"
/usr/include/tkDecls.h:1201: error: syntax error before '*' token
make: *** [t_main.o] Error 1
i have installed jack but never used it. does anyone know what is the problem? thanks v
On Fri, 7 Jan 2005, vlada car wrote:
i've been using pd on my mandrake 9.1 and when i installed 10.1 this is what i get when i try to compile the source of pd 0.38 version. after ./configure i did make and it compiled some code and got to this point: /usr/include/tk.h:96:23: X11/Xlib.h: No such file or directory
This is the main error and the cause of all other following errors. I think the package containing the missing file is the one called "XFree86-devel".
Mathieu Bouchard -=- Montréal QC Canada -=- http://artengine.ca/matju