[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Build problems on Mac



Hi all!

I'm trying to create a MacPort of XaraLX and stumbled across a few
problems. I managed to patch around some of them (for some reason
<wx/listctrl.h> had to be included explicitely for wxOil/fileinfolist.h,
patch attached), but for others I have no clue. F.e. there are some
warnings spit out by wxOil, but since I don't know nothing about
wxWidgets I don't know whats wrong there.


Finally, the following error pops up repeatedly:

if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"XaraLX\"
-DVERSION=\"0.7\" -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 -DSIZEOF_VOIDP=4
-DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=4 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2
-DSIZEOF___INT64=0 -DHAVE_CFPREFERENCESCOPYAPPVALUE=1
-DHAVE_CFLOCALECOPYCURRENT=1 -DHAVE_ICONV=1 -DENABLE_NLS=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1  -I. -I.    -Wall
-Wno-unknown-pragmas -g -fexceptions -O3 -fno-strict-aliasing
-Wstrict-aliasing=2  -O2
-I/opt/local/lib/wx/include/mac-unicode-release-2.6
-I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA    -I/opt/local/include/libxml2
-I/opt/local/include  -I../PreComp -I../wxOil -I.././Kernel -I.././wxOil
-I.././wxOil/Res -I.././tools -I.././GDraw -I.././PreComp -I.././wxXtra
-DUSE_NATIVE_XLONG -DBUILDSHADOWS -DOLD_MATRIX_TRANSFORMATIONS
-DVECTOR_STROKING -DEXCLUDE_FROM_XARALX -DNEW_SHADOW_RENDER -DNO_XARACMS
-DNEW_FEATURES -DSHOWPORTNOTE -DDO_EXPORT  -MT libKernel_a-hotkeys.o -MD
-MP -MF ".deps/libKernel_a-hotkeys.Tpo" -c -o libKernel_a-hotkeys.o
`test -f 'hotkeys.cpp' || echo './'`hotkeys.cpp; \
then mv -f ".deps/libKernel_a-hotkeys.Tpo"
".deps/libKernel_a-hotkeys.Po"; else rm -f
".deps/libKernel_a-hotkeys.Tpo"; exit 1; fi
In file included from hotkeys.cpp:117:
../wxOil/wxkeymap.h:5:22: error: calling fdopen: Bad file descriptor


while wxOil/wxkeymap.h is perfectly readable:

$ ll wxOil/wxkeymap.h
-rw-r--r--   1 root  admin  702B Aug 31 11:24 wxOil/wxkeymap.h


Any hints?

Thanks in advance,
Thomas.

-- 
only dead fish swim with the stream: http://thomaskeller.biz/blog
Am Anfang war das Wort: http://www.schäuble-muss-weg.de
Rebuilding resources - new checksum c07fa40708a8f39ec502a1fb972024c6
.././wxOil/xrc/EN/aboutres.xrc:23 Warning: Bitmap ./xrc/2.png not found
.././wxOil/xrc/EN/aboutres.xrc:82 Warning: Bitmap ./xrc/2.png not found
.././wxOil/xrc/EN/aboutres.xrc:149 Warning: Bitmap ./xrc/2.png not found
.././wxOil/xrc/EN/aboutrsw.xrc:23 Warning: Bitmap ./xrc/2.png not found
.././wxOil/xrc/EN/barsdlgs.xrc:762 Warning: Bitmap ./xrc/leftbrace.png not found
.././wxOil/xrc/EN/barsdlgs.xrc:766 Warning: Bitmap ./xrc/rightbrace.png not found
.././wxOil/xrc/EN/barsdlgs.xrc:770 Warning: Bitmap ./xrc/label.png not found
.././wxOil/xrc/EN/errordlg.xrc:31 Warning: Bitmap ./xrc/.png not found
.././wxOil/xrc/EN/register.xrc:19 Warning: Bitmap ./xrc/2.png not found
.././wxOil/xrc/EN/textres.xrc:26 Warning: Bitmap ./xrc/aspect.png not found
.././wxOil/xrc/EN/textres.xrc:74 Warning: Bitmap ./xrc/tracking.png not found
.././wxOil/xrc/EN/textres.xrc:78 Warning: Bitmap ./xrc/kerning.png not found
.././wxOil/xrc/EN/camelot.xrc:7 Warning ID_FILE_NEW multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:244 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:11 Warning wxID_OPEN multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:250 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:16 Warning wxID_PRINT_SETUP multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:274 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:21 Warning ID_FILE_MRU_FILE1 multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:220 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:26 Warning wxID_EXIT multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:124 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:33 Warning ID_VIEW_TOOLBAR multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:382 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:37 Warning ID_VIEW_STATUS_BAR multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:376 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:44 Warning ID_HELP_INDEX multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:298 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:48 Warning ID_HELP_USING multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:304 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:53 Warning wxID_ABOUT multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:118 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:62 Warning ID_FILE_NEW multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:244 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:66 Warning wxID_OPEN multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:250 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:70 Warning wxID_CLOSE multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:214 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:74 Warning wxID_SAVE multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:280 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:78 Warning wxID_SAVEAS multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:286 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:83 Warning wxID_PRINT multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:262 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:87 Warning wxID_PREVIEW multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:268 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:91 Warning wxID_PRINT_SETUP multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:274 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:96 Warning ID_FILE_MRU_FILE1 multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:220 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:101 Warning wxID_EXIT multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:124 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:108 Warning wxID_UNDO multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:208 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:113 Warning wxID_CUT multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:154 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:117 Warning wxID_COPY multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:148 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:121 Warning wxID_PASTE multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:166 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:125 Warning ID_EDIT_PASTE_LINK multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:172 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:130 Warning ID_OLE_INSERT_NEW multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:358 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:134 Warning ID_OLE_EDIT_LINKS multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:352 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:138 Warning ID_OLE_VERB_FIRST multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:364 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:145 Warning ID_VIEW_TOOLBAR multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:382 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:149 Warning ID_VIEW_STATUS_BAR multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:376 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:156 Warning ID_WINDOW_NEW multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:400 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:160 Warning ID_WINDOW_CASCADE multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:394 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:164 Warning ID_WINDOW_TILE_HORZ multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:412 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:168 Warning ID_WINDOW_ARRANGE multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:388 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:175 Warning ID_HELP_INDEX multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:298 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:179 Warning ID_HELP_USING multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:304 Previous definition here
.././wxOil/xrc/EN/camelot.xrc:184 Warning wxID_ABOUT multiply defined (global)
.././wxOil/xrc/EN/camelot-strings.xrc:118 Previous definition here
.././wxOil/xrc/EN/richard3-strings.xrc:10 Warning IDC_LIBPATH_HELP_BUTTON multiply defined (global)
.././wxOil/xrc/EN/richard.xrc:58 Previous definition here
--- wxOil/fileinfolist.h.orig	2007-09-02 20:52:41.000000000 +0200
+++ wxOil/fileinfolist.h	2007-09-02 20:53:18.000000000 +0200
@@ -99,6 +99,7 @@
 #define WXOIL_FILEINFOLIST_H
 
 #include <wx/imaglist.h>
+#include <wx/listctrl.h>
 
 class CFileInfoList
 {

Attachment: signature.asc
Description: OpenPGP digital signature