On Jan 11, 2008 9:41 AM, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
>
> >
> > > Well it now gets the libraries right. Way to go. But... I still get an
> error
> > > when building. It is during the Lua module build. Here are the details.
> > >
> > >  g++ -shared -fPIC -o ../lib/wx.so mod_luamodule_luamodule.o  -L../lib
> > > -L/home/rpusztai/devel/libraries/wxLua/./modules/lua/lib
> > > -lwxlua_gtk2u_wxbindxrc-2.8 -lwxlua_gtk2u_wxbindstc-2.8
> > > -lwxlua_gtk2u_wxbindrichtext- 2.8 -lwxlua_gtk2u_wxbindmedia- 2.8
> > > -lwxlua_gtk2u_wxbindhtml-2.8 -lwxlua_gtk2u_wxbindgl-2.8
> > > -lwxlua_gtk2u_wxbindaui-2.8 -lwxlua_gtk2u_wxbindadv-2.8
> > > -lwxlua_gtk2u_wxbindxml-2.8 -lwxlua_gtk2u_wxbindnet- 2.8
> > > -lwxlua_gtk2u_wxbindcore-2.8 -lwxlua_gtk2u_wxbindbase- 2.8
> > > -lwxlua_gtk2u_wxluasocket-2.8 -lwxlua_gtk2u_wxluadebug-2.8
> > > -lwxlua_gtk2u_wxlua-2.8 -llua5.1 -pthread   -lwx_baseu_net-2.8
> > > -lwx_baseu_xml- 2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
> -lwx_gtk2u_stc-2.8
> > > -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_richtext- 2.8 -lwx_gtk2u_media-2.8
> > > -lwx_gtk2u_html-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_aui-2.8
> -lwx_gtk2u_adv-2.8
> > > -lwx_baseu_net- 2.8 -lwx_baseu_xml-2.8 -lwx_gtk2u_core-2.8
> -lwx_baseu-2.8
> > >  /usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindxrc-2.8
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [../lib/wx.so] Error 1
> > >  make[1]: Leaving directory
> `/home/rpusztai/devel/libraries/wxLua/modules'
> > > make: *** [modules] Error 2
> > >
> > Please... check if you have this library, was it supposed to be built
> > by configure and did the configure output show that it found the
> > wxWidgets XRC library? I need more information.
>
> You can see that it can't find the wxLua bind xrc library, which is built
> and is in the wxLua 'lib' directory. I checked for the wxWidgets xrc and it
> is available as well. I will attach the configure output.
>

The output looks fine, I just got a fresh copy of wxLua and simply ran
./configure in the root dir of wxLua and everything builds fine. It
looks like the linking line I got for wx.so is the same as yours.

g++ -shared -fPIC -o ../lib/wx.so mod_luamodule_luamodule.o
-L/home/john/cvs/wxCode/wxCode/components/wxstedit/lib -L../lib
-L/home/john/cvs/wxLua/a/wxLua/./modules/lua/lib
-lwxlua_gtk2ud_wxbindxrc-2.8 -lwxlua_gtk2ud_wxbindstc-2.8
-lwxlua_gtk2ud_wxbindrichtext-2.8 -lwxlua_gtk2ud_wxbindmedia-2.8
-lwxlua_gtk2ud_wxbindhtml-2.8 -lwxlua_gtk2ud_wxbindgl-2.8
-lwxlua_gtk2ud_wxbindaui-2.8 -lwxlua_gtk2ud_wxbindadv-2.8
-lwxlua_gtk2ud_wxbindxml-2.8 -lwxlua_gtk2ud_wxbindnet-2.8
-lwxlua_gtk2ud_wxbindcore-2.8 -lwxlua_gtk2ud_wxbindbase-2.8
-lwxlua_gtk2ud_wxluasocket-2.8 -lwxlua_gtk2ud_wxluadebug-2.8
-lwxlua_gtk2ud_wxlua-2.8 -llua5.1
-L/home/john/wx/wxWidgets/wxWidgets_28/config_gtk2ud/lib -pthread
-Wl,-rpath,/home/john/wx/wxWidgets/wxWidgets_28/config_gtk2ud/lib
-lwx_baseud_net-2.8 -lwx_baseud_xml-2.8 -lwx_gtk2ud_core-2.8
-lwx_baseud-2.8 -lwx_gtk2ud_stc-2.8 -lwx_gtk2ud_xrc-2.8
-lwx_gtk2ud_richtext-2.8 -lwx_gtk2ud_media-2.8 -lwx_gtk2ud_html-2.8
-lwx_gtk2ud_gl-2.8 -lwx_gtk2ud_aui-2.8 -lwx_gtk2ud_adv-2.8
-lwx_baseud_net-2.8 -lwx_baseud_xml-2.8 -lwx_gtk2ud_core-2.8
-lwx_baseud-2.8

I'm sorry, I'm at a loss and don't see what the problem is. The only
thing I can suggest is getting a completely new fresh copy and trying
again.

Thanks for debugging this,
    John

-------------------------------------------------------------------------
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