| 
      
      
      From: John L. <jla...@gm...> - 2006-12-27 02:17:14
      
     | 
| On 12/26/06, Francesco Montorsi <f18...@ya...> wrote:
> > Just tried building wxLua and have run into a couple problems... I'm not
> > that much of a make guru, but it looks like it could be a relatively
> > minor path issue (or not :).
> >
> > Here are some pasted error messages.  Anyone have any idea?
Here's what I get with the current CVS, where I have run $../configure
from the dir wxLua/config_osxu_mono
g++ -o ../bin/wxlua app_wxlua_wxlua.o app_wxlua_lconsole.o   -L../lib
-L/Users/emac/wx/wxLua/wxLua/config_osxu_mono/../modules/lua/lib
-lwxlua_macu_wxlua-2.8 -lwxlua_macu_wxbindstc-2.8
-lwxlua_macu_wxbind-2.8 -lwxlua_macu_wxluasocket-2.8
-lwxlua_macu_wxluadebug-2.8 -llua5.1
-L/Users/emac/wx/wxWidgets/wxWidgets_a/wxWidgets/config_osxu_mono/lib
 -framework QuickTime -framework IOKit -framework Carbon -framework
Cocoa -framework System
/Users/emac/wx/wxWidgets/wxWidgets_a/wxWidgets/config_osxu_mono/lib/libwx_macu_stc-2.8.a
/Users/emac/wx/wxWidgets/wxWidgets_a/wxWidgets/config_osxu_mono/lib/libwx_macu-2.8.a
-framework WebKit -lwxregexu-2.8 -lwxexpat-2.8 -lwxtiff-2.8
-lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv
/usr/bin/ld: warning -L: directory name
(/Users/emac/wx/wxLua/wxLua/config_osxu_mono/../modules/lua/lib) does
not exist
/Developer/Tools/Rez -d __DARWIN__ -t APPL -i ../../modules -i ./../..
-i /Users/emac/wx/wxLua/wxLua/config_osxu_mono/../modules/lua/include
-o ../bin/wxlua ../../art/wxlua.r
/Developer/Tools/SetFile -a C wxlua
ERROR: File Not Found. (-43)  on file: wxlua
make[1]: *** [../bin/wxlua] Error 2
make: *** [apps] Error 2
[emac@eMac config_osxu_mono]$ dir bin
total 26816
drwxr-xr-x    4 emac  emac       136 Dec 26 19:11 .
drwxr-xr-x   16 emac  emac       544 Dec 26 18:54 ..
-rwxr-xr-x    1 emac  emac    167884 Dec 26 19:10 lua
-rwxr-xr-x    1 emac  emac  13526188 Dec 26 19:11 wxlua
The problem is that SetField has the wrong path to wxlua, it's correct
for lua itself.
__app_lua___mac_setfilecmd = \
        $(SETFILE) -t APPL $(top_builddir)/bin/lua$(EXEEXT)
...
Added "$(top_builddir)/lib/"
__app_wxlua___mac_setfilecmd = \
        $(SETFILE) -a C $(top_builddir)/lib/wxlua$(EXEEXT)
Added "$(top_builddir)/lib/"
__app_wxluaedit___mac_setfilecmd \
        = $(SETFILE) -a C $(top_builddir)/lib/wxluaedit$(EXEEXT)
Will do some more testing in a bit.
Regards,
    John Labenski
 |