On Jan 14, 2008 3:33 PM, John Labenski <[EMAIL PROTECTED]> wrote:
>
> Strange indeed. Two more things, but always run with $export
> WX_DEBUG_CONFIGURE="1" and check the values above.
>
> 1) Get the new CVS, I bet it's fixed, from the last wxwin.m4 fix.
>

Done. I now get this error when building.

*configure output*:
$ ./configure
checking for the --enable-debug option... will be automatically detected
checking for the --enable-unicode option... will be automatically detected
checking for the --enable-shared option... will be automatically detected
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
[dbg] DEBUG: auto, WX_DEBUG:
[dbg] UNICODE: auto, WX_UNICODE:
[dbg] SHARED: auto, WX_SHARED: auto
[dbg] TOOLKIT: auto, WX_TOOLKIT:
[dbg] VERSION: , WX_RELEASE: auto
checking for the --enable-wxlua-app option... yes
checking for the --enable-wxluacan-app option... yes
checking for the --enable-wxluaedit-app option... yes
checking for the --enable-wxluafreeze-app option... yes
checking for the --enable-wxbindadv option... auto
checking for the --enable-wxbindaui option... auto
checking for the --enable-wxbindbase option... auto
checking for the --enable-wxbindcore option... auto
checking for the --enable-wxbindgl option... auto
checking for the --enable-wxbindhtml option... auto
checking for the --enable-wxbindmedia option... auto
checking for the --enable-wxbindnet option... auto
checking for the --enable-wxbindrichtext option... auto
checking for the --enable-wxbindstc option... auto
checking for the --enable-wxbindxml option... auto
checking for the --enable-wxbindxrc option... auto
checking for the --enable-wxluadebug option... yes
checking for the --enable-wxluasocket option... yes
checking for the --enable-luamodule option... yes
checking for the --enable-customwxbind-install option... yes
checking for the --with-lua-prefix option...
checking for the --with-wxstedit-prefix option...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
[dbg] WXCONFIG_FLAGS:
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 2.8.7)
checking for wxWidgets static library... no
[dbg] Using wx-config --selected-config
[dbg] WX_SELECTEDCONFIG: gtk2-unicode-release-2.8
checking if wxWidgets was built with UNICODE enabled... yes
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... no
checking which wxWidgets toolkit was selected... gtk2
[dbg] Values of all WX_* options after final detection:
[dbg] WX_DEBUG: 0
[dbg] WX_UNICODE: 1
[dbg] WX_SHARED: 1
[dbg] WX_RELEASE: 28
[dbg] WX_PORT: gtk2
checking if Lua 5.1 is installed... yes, using system Lua
checking if wxWidgets adv library is available... yes
checking if wxWidgets aui library is available... yes
checking if wxWidgets gl library is available... yes
checking if wxWidgets html library is available... yes
checking if wxWidgets media library is available... yes
checking if wxWidgets net library is available... yes
checking if wxWidgets xml library is available... yes
checking if wxWidgets xrc library is available... yes
checking if wxWidgets richtext library is available... yes
checking if wxWidgets stc library is available... yes
Path to wxStEdit from $WXSTEDIT environment variable: ''
checking if wxStEdit (version >= 1.2.4) (wxcode_gtk2u_stedit-2.8) is
available... no
configure:
    Could not find the wxStEdit component version 1.2.4 or higher
    (at least not for the 'gtk2-unicode-release-2.8' wxWidgets build).
    For more information about wxStEdit look at
       http://wxcode.sourceforge.net/components/wxstedit
    For more information about why exactly this check has
    failed look in config.log.

    Disabling the wxLuaEdit application and proceeding...

checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether we are using the Intel C compiler... no
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether we are using the Intel C++ compiler... no
checking whether we are using the Sun C++ compiler... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... ar
checking for strip... strip
checking for nm... nm
checking for command to install directories... /usr/bin/install -c -d
checking if make is GNU make... yes
checking for dependency tracking method... gcc
checking if the compiler supports precompiled headers... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/Makefile
config.status: creating apps/Makefile
config.status: creating build/autoconf/wxlua.pc
config.status: creating distrib/autopackage/default.apspec

 ----------------------------------------------------------------
  Configuration for wxLua 2.8.7.0 successfully completed.
  Summary of main configuration settings for wxLua:
  - RELEASE build
  - UNICODE mode
  - SHARED mode

  - wxLua application:              yes
  - wxLuaCan application:           yes
  - wxLuaEdit application:          no
  - wxLuaFreeze application:        yes

  - Using SYSTEM lua library (prefix is '')
  - enable_wxbindadv module:        yes
  - enable_wxbindaui module:        yes
  - enable_wxbindbase module:       yes
  - enable_wxbindcore module:       yes
  - enable_wxbindgl module:         yes
  - enable_wxbindhtml module:       yes
  - enable_wxbindmedia module:      yes
  - enable_wxbindnet module:        yes
  - enable_wxbindrichtext module:   yes
  - enable_wxbindstc module:        yes
  - enable_wxbindxml module:        yes
  - enable_wxbindxrc module:        yes

  - compact list of the wxWidgets libraries for which
    binding modules will be created:
     stc,richtext,xrc,xml,net,media,html,gl,aui,adv,core,base

  - enable_wxluadebug module:       yes
  - enable_wxluasocket module:      yes
  - enable_luamodule module:        yes

  - install custom wxBind stuff:    yes

  - wxLua make install path settings:
    prefix      : '/usr/local'
    exec_prefix : '${prefix}'
    libdir      : '${exec_prefix}/lib'
    datadir     : '${datarootdir}'

  The wxWidgets build which will be used by wxLua 2.8.7.0
  has the following settings:
  - RELEASE build
  - UNICODE mode
  - SHARED mode
  - VERSION: 2.8.7
  - PORT: gtk2

  Now, just run make.
 ----------------------------------------------------------------

*make error*:
/home/rpusztai/devel/libraries/wxLua/bk-deps g++ -c -o
mod_luamodule_luamodule.o -I../modules -I./.. -I/include
-DWXMAKINGDLL_LUAMODULE -fPIC -DPIC -I/usr/lib/wx/include/gtk2-
unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D__WXGTK__ -pthread  -O2 ./luamodule/src/luamodule.cpp
./luamodule/src/luamodule.cpp: In function 'int luaopen_wx(lua_State*)':
./luamodule/src/luamodule.cpp:120: error: 'wxLUASTATE_USESTATE' was not
declared in this scope
make[1]: *** [mod_luamodule_luamodule.o] Error 1
make[1]: Leaving directory `/home/rpusztai/devel/libraries/wxLua/modules'
make: *** [modules] Error 2



> 2) "$configure --enable-unicode"  Does forcing unicode work?
>
> 3) Edit configure.
>
> Find this code
>
>    COND_BUILD_RELEASE_UNICODE_1="#"
>    if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
>        COND_BUILD_RELEASE_UNICODE_1=""
>    fi
>
> Add this before, what does it say?
>
> echo "UNICODE '$UNICODE'"
> echo "WX_UNICODE '$WX_UNICODE'"
> echo "BUILD '$BUILD'"


I didn't try these other steps because it doesn't get far enough to fail in
the same way. I this the built in Lua test that was just fixed/added today.
-- 
Regards,
Ryan
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to