| 
      
      
      From: Ryan R. <rya...@gm...> - 2006-12-26 00:25:01
       | 
| Hi all, 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? http://pastebin.com/844893 Best, -r -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X | 
| 
      
      
      From: Francesco M. <f18...@ya...> - 2006-12-26 11:21:21
       | 
| Hi,
     mac build support is still not 100% perfect; the problem is that I 
don't have a mac and thus I cannot test the build system on a mac directly.
With the help of Anders we did a lot of progresses in this direction 
however.
Ryan Raaum ha scritto:
> Hi all,
> 
> 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?
> 
> http://pastebin.com/844893
I've got an idea of why that happens. However I'd like first to know why 
the line
ln -f ../bin/wxlua wxLua.app/Contents/MacOS/app_wxlua
succeeds while the line
ln: ../bin/wxlua: No such file or directory
complains about missing ../bin/wxlua; what I mean is: why does ln -f 
../bin/wxlua succeeds if ../bin/wxlua does not exist?
My suspect however is that "wxlua" has not been built as the configure 
script has not found the wxSTC wrappers but nonetheless make tries to 
build the "wxLua.app/Contents/PkgInfo" target.
I've fixed it in CVS.
Thanks,
Francesco
 | 
| 
      
      
      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
 | 
| 
      
      
      From: Francesco M. <f18...@ya...> - 2006-12-27 10:58:09
       | 
| John Labenski ha scritto: > 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 right - I've added it to the makefiles and when you compile with the builtin lua it's not useful but it's necessary when you compile with an external Lua, so it needs to stay. > /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. right. I've fixed this in CVS. Francesco |