X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: [geda-user] Building PCB with Mac OS X 10.6.8 From: Ed In-Reply-To: <201110030027.p930Rw6O018188@envy.delorie.com> Date: Sun, 2 Oct 2011 19:47:07 -0700 Message-Id: <0F5236E3-AB1B-412B-BA40-F5A6108CA898@comcast.net> References: <9BA5588F-2354-41EC-9B67-740D896945DA AT comcast DOT net> <1317547504 DOT 3433 DOT 4 DOT camel AT localhost> <201110030027 DOT p930Rw6O018188 AT envy DOT delorie DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1084) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p933190k001971 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk All: Hi its Ed again with my weird OS X (10.6.8) problems. The configure finished OK with this result: ** Configuration summary for pcb 20110918: GUI: gtk Printer: lpr Exporters: bom gcode gerber nelma png ps Coordinate type: long Source tree distribution: tarball Build documentation: yes Build toporouter: yes Enable toporouter output: no xdg data directory: ${datarootdir} KDE data directory: ${datarootdir} dmalloc debugging: no ElectricFence debugging: no Cross Compiling: no CC: /usr/bin/llvm-gcc-4.2 -std=gnu99 CXX: g++ CPPFLAGS: -I/usr/X11/include -I/sw/include -I/sw/include -I/sw/include -DPREFIXDIR=\"${prefix}\" -DBINDIR=\"${bindir}\" -DHOST=\"${host}\" -DPCBLIBDIR=\"${datarootdir}/pcb\" -DPCBTREEDIR=\"${datarootdir}/pcb/newlib\" -DPCBTREEPATH=\"${datarootdir}/pcb/newlib:${datarootdir}/pcb/pcblib-newlib\" CFLAGS: -g -O2 -I/sw/include -I/sw/include -I/sw/include -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/gtkglext-1.0 -I/sw/lib/gtkglext-1.0/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include -I/sw/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11/include -D_THREAD_SAFE -D_THREAD_SAFE -Wall -Wdeclaration-after-statement CXXFLAGS: -g -O2 -I/sw/include -I/sw/include -I/sw/include -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/gtkglext-1.0 -I/sw/lib/gtkglext-1.0/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include -I/sw/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11/include -D_THREAD_SAFE -D_THREAD_SAFE -Wall LIBS: -lfl -ldl -lm -L/sw/lib -ldbus-1 -lpthread -lXinerama -lXrender -L/sw/lib -lglib-2.0 -lintl -L/sw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib -lgd ${top_builddir}/intl/libintl.a -liconv -L/sw/lib -L/usr/X11R6/lib -R/usr/X11R6/lib -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lGL PCB: ${top_builddir}/src/pcb However the Make blows up with this: mv -f $depbase.Tpo $depbase.Po hid/common/hidgl.c: In function ‘hidgl_fill_polygon’: hid/common/hidgl.c:539: error: ‘_GLUfuncptr’ undeclared (first use in this function) hid/common/hidgl.c:539: error: (Each undeclared identifier is reported only once hid/common/hidgl.c:539: error: for each function it appears in.) hid/common/hidgl.c:539: error: expected ‘)’ before ‘myBegin’ hid/common/hidgl.c:540: error: expected ‘)’ before ‘myVertex’ hid/common/hidgl.c:541: error: expected ‘)’ before ‘myCombine’ hid/common/hidgl.c:542: error: expected ‘)’ before ‘myError’ hid/common/hidgl.c: In function ‘hidgl_fill_pcb_polygon’: hid/common/hidgl.c:656: error: ‘_GLUfuncptr’ undeclared (first use in this function) hid/common/hidgl.c:656: error: expected ‘)’ before ‘myBegin’ hid/common/hidgl.c:657: error: expected ‘)’ before ‘myVertex’ hid/common/hidgl.c:658: error: expected ‘)’ before ‘myCombine’ hid/common/hidgl.c:659: error: expected ‘)’ before ‘myError’ make[4]: *** [hid/common/hidgl.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Any Suggestions? Thanks, Ed On Oct 2, 2011, at 5:27 PM, DJ Delorie wrote: > >> A fix could be renaming of the produced library and header file, e.g. >> from "gts" to "gtspcb". > > I think it would be better to leave gts/ as close to upstream as > possible, and just not "make install" in it.