wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.78k stars 1.7k forks source link

Panther build problem #20684

Closed wxtrac closed 2 years ago

wxtrac commented 20 years ago

Issue migrated from trac ticket # 1319

component: old wxOSX/Carbon port | priority: normal

2003-11-02 07:58:08: pdbourke created the issue


While making I got the following errors

../src/mac/dc.cpp:1259: error: parse error before <<' token ../src/mac/dc.cpp:1263: error: parse error beforeshort'

(configure output follows)

[pdb]/wxMac-2.4.2/build >../configure --with-opengl -- disable-shared loading cache ./config.cache checking host system type... powerpc-apple-darwin7.0.0 checking target system type... powerpc-apple-darwin7.0.0 checking build system type... powerpc-apple-darwin7.0.0 loading argument cache configarg.cache checking for --enable-gui... yes checking for --enable-universal... no checking for --enable-nanox... no checking for --enable-gtk2... no checking for --with-libpng... yes checking for --with-libjpeg... yes checking for --with-libtiff... yes checking for --with-opengl... yes checking for --with-dmalloc... no checking for --with-regex... yes checking for --with-zlib... yes checking for --with-odbc... no checking for --enable-shared... no checking for --enable-soname... no checking for --enable-optimise... yes checking for --enable-debug... no checking for --enable-precomp... no checking for --enable-debug_flag... no checking for --enable-debug_info... no checking for --enable-debug_gdb... no checking for --enable-debug_cntxt... no checking for --enable-mem_tracing... no checking for --enable-profile... no checking for --enable-no_rtti... no checking for --enable-no_exceptions... no checking for --enable-permissive... no checking for --enable-no_deps... no checking for --enable-compat20... no checking for --disable-compat22... no checking for --enable-intl... yes checking for --enable-config... yes checking for --enable-protocols... yes checking for --enable-ftp... yes checking for --enable-http... yes checking for --enable-fileproto... yes checking for --enable-sockets... yes checking for --enable-ole... yes checking for --enable-dataobj... yes checking for --enable-ipc... yes checking for --enable-cmdline... yes checking for --enable-datetime... yes checking for --enable-timedate... no checking for --enable-stopwatch... yes checking for --enable-dialupman... yes checking for --enable-apple_ieee... yes checking for --enable-timer... yes checking for --enable-wave... no checking for --enable-fraction... no checking for --enable-dynlib... yes checking for --enable-dynamicloader... yes checking for --enable-longlong... yes checking for --enable-geometry... yes checking for --enable-log... yes checking for --enable-streams... yes checking for --enable-file... yes checking for --enable-ffile... yes checking for --enable-textbuf... yes checking for --enable-textfile... yes checking for --enable-fontmap... yes checking for --enable-unicode... no checking for --enable-mslu... yes checking for --enable-wxprintfv... no checking for --enable-std_iostreams... no checking for --enable-filesystem... yes checking for --enable-fs_inet... yes checking for --enable-fs_zip... yes checking for --enable-zipstream... yes checking for --enable-catch_segvs... yes checking for --enable-snglinst... yes checking for --enable-mimetype... yes checking for --enable-system_options... yes checking for --enable-url... yes checking for --enable-protocol... yes checking for --enable-protocol_http... yes checking for --enable-protocol_ftp... yes checking for --enable-protocol_file... yes checking for --enable-threads... yes checking for --enable-docview... yes checking for --enable-help... yes checking for --enable-mshtmlhelp... yes checking for --enable-html... yes checking for --enable-htmlhelp... yes checking for --enable-constraints... yes checking for --enable-printarch... yes checking for --enable-mdi... yes checking for --enable-loggui... yes checking for --enable-logwin... yes checking for --enable-logdialog... yes checking for --enable-postscript... yes checking for --enable-prologio... no checking for --enable-resources... no checking for --enable-xresources... no checking for --enable-clipboard... yes checking for --enable-dnd... yes checking for --enable-metafile... yes checking for --enable-treelayout... yes checking for --enable-controls... no checking for --enable-accel... yes checking for --enable-button... yes checking for --enable-bmpbutton... yes checking for --enable-calendar... yes checking for --enable-caret... yes checking for --enable-checkbox... yes checking for --enable-checklst... yes checking for --enable-choice... yes checking for --enable-combobox... yes checking for --enable-gauge... yes checking for --enable-grid... yes checking for --enable-newgrid... yes checking for --enable-imaglist... yes checking for --enable-listbox... yes checking for --enable-listctrl... yes checking for --enable-notebook... yes checking for --enable-propsheet... yes checking for --enable-radiobox... yes checking for --enable-radiobtn... yes checking for --enable-sash... yes checking for --enable-scrollbar... yes checking for --enable-slider... yes checking for --enable-spinbtn... yes checking for --enable-spinctrl... yes checking for --enable-splitter... yes checking for --enable-statbmp... yes checking for --enable-statbox... yes checking for --enable-statline... yes checking for --enable-stattext... yes checking for --enable-statusbar... yes checking for --enable-tabdialog... no checking for --enable-textctrl... yes checking for --enable-togglebtn... yes checking for --enable-toolbar... yes checking for --enable-tbarnative... yes checking for --enable-tbarsmpl... yes checking for --enable-treectrl... yes checking for --enable-tipwindow... yes checking for --enable-popupwin... yes checking for --enable-commondlg... yes checking for --enable-choicedlg... yes checking for --enable-coldlg... yes checking for --enable-filedlg... yes checking for --enable-finddlg... yes checking for --enable-fontdlg... yes checking for --enable-dirdlg... yes checking for --enable-msgdlg... yes checking for --enable-numberdlg... yes checking for --enable-splash... yes checking for --enable-textdlg... yes checking for --enable-tipdlg... yes checking for --enable-progressdlg... yes checking for --enable-wizarddlg... yes checking for --enable-menus... yes checking for --enable-miniframe... yes checking for --enable-tooltips... yes checking for --enable-splines... yes checking for --enable-validators... yes checking for --enable-busyinfo... yes checking for --enable-joystick... yes checking for --enable-metafile... yes checking for --enable-dragimage... yes checking for --enable-palette... yes checking for --enable-image... yes checking for --enable-gif... yes checking for --enable-pcx... yes checking for --enable-iff... no checking for --enable-pnm... yes checking for --enable-xpm... yes checking for --enable-ico_cur... yes checking for --disable-dynamic_dib... yes checking for --disable-dynamic_ico_cur... yes saving argument cache configarg.cache checking for toolkit... mac updating cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross- compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... (cached) no checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross- compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for ar... (cached) ar checking for a BSD compatible install... (cached) /usr/bin/ install -c checking for strip... (cached) strip checking if make is GNU make... (cached) yes checking for bison... (cached) bison -y checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking whether ln -s works... (cached) yes checking for stdlib.h... (cached) yes checking for malloc.h... (cached) no checking for unistd.h... (cached) yes checking for wchar.h... (cached) yes checking for fnmatch.h... (cached) yes checking for fnmatch... (cached) yes checking for langinfo.h... (cached) yes checking for X11/XKBlib.h... (cached) no checking for working const... (cached) yes checking for inline... (cached) inline checking size of char... (cached) 1 checking size of short... (cached) 2 checking size of void *... (cached) 4 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking size of wchar_t... (cached) 4 checking for _FILE_OFFSET_BITS value needed for large files... (cached) 64 checking if large file support is available... yes checking whether byte ordering is bigendian... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking for iostream... (cached) yes checking if C++ compiler supports bool... (cached) yes checking if C++ compiler supports the explicit keyword... (cached) yes checking for regex.h... (cached) yes checking for regcomp... (cached) yes checking for deflate in -lz... (cached) yes checking for png.h > 0.90... (cached) no configure: warning: system png library not found or too old, will use built-in instead checking for jpeglib.h... (cached) no configure: warning: system jpeg library not found, will use built-in instead checking for tiffio.h... (cached) no configure: warning: system tiff library not found, will use built-in instead checking for Rez... (cached) /Developer/Tools/Rez checking for DeRez... (cached) /Developer/Tools/DeRez checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking if size_t is unsigned int... (cached) no checking if size_t is unsigned long... (cached) yes checking for pw_gecos in struct passwd... (cached) yes checking for wcslen... (cached) yes checking for wcsrtombs... (cached) yes checking for vsnprintf... (cached) yes checking for iconv... (cached) yes checking if iconv needs const... (cached) yes checking for sigaction... (cached) yes checking for sa_handler type... (cached) int checking for mkstemp... (cached) yes checking for statfs... (cached) yes checking for fcntl... (cached) yes checking for timegm... (cached) yes checking for putenv... (cached) yes checking for uname... (cached) yes checking for strtok_r... (cached) yes checking for inet_addr... (cached) yes checking for inet_aton... (cached) yes checking for the pthreads library -lpthread... yes checking if more special flags are required for pthreads... no checking for thr_setconcurrency... (cached) no checking for sched.h... (cached) yes checking for sched_yield... (cached) yes checking for pthread_attr_getschedpolicy... (cached) yes checking for pthread_attr_setschedparam... (cached) yes checking for sched_get_priority_max... (cached) yes checking for pthread_cancel... (cached) yes checking for pthread_cleanup_push/pop... (cached) yes checking for pthread_mutexattr_t... (cached) yes checking for strptime... (cached) yes checking for timezone variable in ... (cached) timezone checking for localtime... (cached) yes checking for tm_gmtoff in struct tm... (cached) yes checking for gettimeofday... (cached) yes checking whether gettimeofday takes two arguments... (cached) yes checking for socket... (cached) yes checking what is the type of the third argument of getsockname... (cached) socklen_t configure: warning: Joystick not yet supported under Mac OS X... disabled configure: warning: Toggle button not yet supported under Mac OS X... disabled configure: warning: Popup window not yet supported under Mac OS X... disabled checking for cos... (cached) yes checking for floor... (cached) yes checking if floating point functions link without -lm... yes checking whether make sets ${MAKE}... (cached) yes updating cache ./config.cache creating ./config.status creating wx-config creating version-script creating src/make.env creating src/makeprog.env creating src/makelib.env creating Makefile creating setup.h setup.h is unchanged configuring in demos running /bin/sh ../../demos/configure --with-opengl -- disable-shared --cache-file=.././config.cache --srcdir=../../ demos loading cache .././config.cache creating ./config.status creating Makefile creating bombs/Makefile creating dbbrowse/Makefile creating forty/Makefile creating fractal/Makefile creating life/Makefile creating poem/Makefile configuring in samples running /bin/sh ../../samples/configure --with-opengl -- disable-shared --cache-file=.././config.cache --srcdir=../../ samples loading cache .././config.cache creating ./config.status creating Makefile creating artprov/Makefile creating caret/Makefile creating calendar/Makefile creating checklst/Makefile creating config/Makefile creating controls/Makefile creating console/Makefile creating db/Makefile creating dialogs/Makefile creating dialup/Makefile creating docview/Makefile creating docvwmdi/Makefile creating dnd/Makefile creating dragimag/Makefile creating drawing/Makefile creating dynamic/Makefile creating erase/Makefile creating event/Makefile creating exec/Makefile creating font/Makefile creating grid/Makefile creating help/Makefile creating image/Makefile creating internat/Makefile creating ipc/Makefile creating joytest/Makefile creating keyboard/Makefile creating layout/Makefile creating listctrl/Makefile creating mdi/Makefile creating menu/Makefile creating memcheck/Makefile creating minifram/Makefile creating minimal/Makefile creating mobile/Makefile creating mobile/wxedit/Makefile creating mobile/styles/Makefile creating multimon/Makefile creating nativdlg/Makefile sed: ../../samples/nativdlg/Makefile.in: No such file or directory creating newgrid/Makefile creating notebook/Makefile creating oleauto/Makefile sed: ../../samples/oleauto/Makefile.in: No such file or directory creating ownerdrw/Makefile sed: ../../samples/ownerdrw/Makefile.in: No such file or directory creating png/Makefile creating printing/Makefile creating proplist/Makefile creating propsize/Makefile creating regtest/Makefile sed: ../../samples/regtest/Makefile.in: No such file or directory creating resource/Makefile creating rotate/Makefile creating sashtest/Makefile creating shaped/Makefile creating scroll/Makefile creating scrollsub/Makefile creating sockets/Makefile creating splitter/Makefile creating statbar/Makefile creating taskbar/Makefile sed: ../../samples/taskbar/Makefile.in: No such file or directory creating text/Makefile creating thread/Makefile creating toolbar/Makefile creating treectrl/Makefile creating treelay/Makefile creating typetest/Makefile creating validate/Makefile creating widgets/Makefile creating wizard/Makefile creating html/Makefile creating html/about/Makefile creating html/help/Makefile creating html/printing/Makefile creating html/helpview/Makefile creating html/test/Makefile creating html/zip/Makefile creating html/virtual/Makefile creating html/widget/Makefile creating opengl/Makefile creating opengl/cube/Makefile creating opengl/penguin/Makefile creating opengl/isosurf/Makefile configuring in utils running /bin/sh ../../utils/configure --with-opengl --disable- shared --cache-file=.././config.cache --srcdir=../../utils loading cache .././config.cache creating ./config.status creating Makefile creating makegen/Makefile creating HelpGen/Makefile creating HelpGen/src/Makefile creating tex2rtf/Makefile creating tex2rtf/src/Makefile creating hhp2cached/Makefile creating dialoged/Makefile creating dialoged/src/Makefile creating emulator/Makefile creating emulator/src/Makefile creating helpview/Makefile creating helpview/src/Makefile configuring in contrib running /bin/sh ../../contrib/configure --with-opengl -- disable-shared --cache-file=.././config.cache --srcdir=../../ contrib loading cache .././config.cache checking how to run the C preprocessor... (cached) gcc -E checking for esd.h... (cached) no creating ./config.status creating src/Makefile creating src/ogl/Makefile creating src/mmedia/Makefile sed: ../../contrib/src/mmedia/Makefile.in: No such file or directory creating src/stc/Makefile creating src/svg/Makefile creating src/xrc/Makefile creating src/canvas/Makefile creating src/gizmos/Makefile creating src/plot/Makefile creating src/applet/Makefile creating src/fl/Makefile creating src/net/Makefile creating samples/Makefile creating samples/mmedia/Makefile sed: ../../contrib/samples/mmedia/Makefile.in: No such file or directory creating samples/ogl/Makefile creating samples/ogl/ogledit/Makefile creating samples/ogl/studio/Makefile creating samples/stc/Makefile creating samples/svg/Makefile creating samples/canvas/Makefile creating samples/canvas/test/Makefile creating samples/canvas/simple/Makefile creating samples/gizmos/Makefile creating samples/gizmos/editlbox/Makefile creating samples/gizmos/dynsash/Makefile creating samples/gizmos/dynsash_switch/Makefile creating samples/gizmos/multicell/Makefile creating samples/gizmos/splittree/Makefile creating samples/gizmos/led/Makefile creating samples/xrc/Makefile creating samples/plot/Makefile creating samples/applet/Makefile creating samples/fl/Makefile creating samples/fl/fl_demo1/Makefile creating samples/fl/fl_demo2/Makefile creating samples/fl/fl_sample1/Makefile creating samples/fl/fl_sample2/Makefile creating samples/fl/fl_sample3/Makefile creating utils/Makefile creating utils/wxrc/Makefile creating utils/wxrcedit/Makefile creating utils/convertrc/Makefile

Configured wxWindows 2.4.2 for `powerpc-apple- darwin7.0.0'

Which GUI toolkit should wxWindows use? MAC Should wxWindows be compiled in debug mode?
no Should wxWindows be linked as a shared library? no Should wxWindows be compiled in Unicode mode?
no What level of wxWindows compatibility should be enabled? wxWindows 2.0 no wxWindows 2.2 yes Which libraries should wxWindows use? jpeg builtin png builtin regex sys tiff builtin zlib sys

wxtrac commented 20 years ago

2003-11-02 08:56:05: depeyrot (Gilles Depeyrot) commented


This issue has already been fixed in CVS.

wxtrac commented 20 years ago

2003-12-14 17:22:27: doctorpepper commented


So, is there a patch out for this fix, or are we supposed to download the entire cvs?

wxtrac commented 20 years ago

2003-12-14 17:57:24: depeyrot (Gilles Depeyrot) commented


You can download CVS of apply the patch extracted from CVS:

http://cvs.wxwindows.org/viewcvs.cgi/wxWindows/src/mac/ dc.cpp.diff?1=1.56.2.11&2=1.56.2.12