I tried building wxLua from CVS on OS X 10.6 (Snow Leopard) with: arch_flags="-arch i386" ../configure CFLAGS="$arch_flags" CXXFLAGS="$arch_flags" LDFLAGS="$arch_flags" OBJCFLAGS="$arch_flags" OBJCXXFLAGS="$arch_flags" WXSTEDIT=/usr/local/include/wx/stedit --with-lua-prefix=/usr/local/bin
and make eventually responds with: /Users/e/Dev/lua/wxlua/wxLua/e_build_1/bk-deps g++ -c -o wxbindadv_lib_wxadv_bind.o -I.pch/wxprec_wxbindadv_lib -I../../modules/wxbind/setup -I../../modules -I./../.. -I/Users/e/Dev/lua/wxlua/wxLua/e_build_1/../modules/lua/include -I/usr/local/lib/wx/include/mac-ansi-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -DwxLUA_USEBINDING_WXGL=0 -DwxLUA_USEBINDING_WXMEDIA=0 -I/usr/local/include/wx/stedit/include -O2 -fno-common ../../modules/wxbind/src/wxadv_bind.cpp ../../modules/wxbind/src/wxadv_bind.cpp:30:23: error: calling fdopen: Bad file descriptor make[1]: *** [wxbindadv_lib_wxadv_bind.o] Error 1 make: *** [modules] Error 2 Line 30 in modules/wxbind/src/wxadv_bind.cpp is: #include "wx/wxprec.h" and I have verified that /user/local/include/wx-2.8/wx/wxprec.h exists. Any clues? And what happened to my CXXFLAGS="-arch i386"? Thanks. -- e ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users