From: Jonas R. <jo...@ar...> - 2007-07-20 13:36:33
|
Hello I am trying to build dmars makefiles for different wxcode components, but it fails. I get the following error when i run bakefile: [1/8] generating dmars from keybinder.bkl D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84: error: output format does not support conditional processing at D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84 included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx.bkl:278 included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wxcode.bkl:15 included from D:\Spara\Projekt\wxCode\components\keybinder\build\keybinder.bkl:9 Traceback (most recent call last): File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 538, in ? run(sys.argv[1:]) File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 525, in run dryRun=options.dryRun) File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 363, in updateTargets _doUpdate(state, None, pretend=pretend) File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 332, in _doUpdate os.remove(tempDeps) OSError: [Errno 13] Permission denied: 'c:\\windows\\temp\\bakefilehobffi' Error executing the script! I have the following setup: Windows ME wxWidgets-2.8.4 bakefile 0.2.2 The wxWidgets library makefile.dmc was created with bakefile without problems. Has anyone seen this problem, or know where to look to try to fix it? Regards /Jonas |
From: Francesco M. <f18...@ya...> - 2007-07-26 22:45:12
|
Hi, Jonas Rydberg ha scritto: > Hello > > I am trying to build dmars makefiles for different wxcode components, but it > fails. well, dmars is a "rarely-used" format. You're the first one asking about it... > I get the following error when i run bakefile: > > [1/8] generating dmars from keybinder.bkl > D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84: > error: output format does not support conditional processing > at D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84 > included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx.bkl:278 > included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wxcode.bkl:15 > included from D:\Spara\Projekt\wxCode\components\keybinder\build\keybinder.bkl:9 > Traceback (most recent call last): > File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 538, in ? > run(sys.argv[1:]) > File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 525, in run > dryRun=options.dryRun) > File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 363, in updateTargets > _doUpdate(state, None, pretend=pretend) > File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 332, in _doUpdate > os.remove(tempDeps) > OSError: [Errno 13] Permission denied: 'c:\\windows\\temp\\bakefilehobffi' such error denied permissions suggests me that you're not logged in as the administrator of a windows system and that bakefile tries to create a temporary file in a folder which is not writable by your user. Try to login as admin and retry. > I have the following setup: > Windows ME > wxWidgets-2.8.4 > bakefile 0.2.2 > > The wxWidgets library makefile.dmc was created with bakefile without problems. > > Has anyone seen this problem, or know where to look to try to fix it? not that I know of. I also believe the one you reported is probably only the first one of a long serie :( However if you want to provide patches to e.g. wxCode\build\bakefiles\*bkl files to add dmars support, I would gadly accept them. I won't be able to add that myself however. Good luck! Francesco |
From: Jonas R. <jo...@ar...> - 2007-07-28 22:49:43
|
Francesco Montorsi wrote: >> I am trying to build dmars makefiles for different wxcode components, but it >> fails. >> > well, dmars is a "rarely-used" format. You're the first one asking about it... > Yes, I get that since I get these errors, but I thought that since the main wx library builds ok with bakefile generated dmars makefiles, wxcode components should "just work". Maybe I've misunderstood something about bakefiles, but I thought that the target logic (dmars, vs, bcc, etc) was the same for all projects using bakefiles, and as long as a target (like dmars) was supported, makefiles for any project should work. Guess I need to download bakefile sources and start debugging then. Or switch Win-compiler. My main dev platform is Debian and there it's no problems, but my win machine is so slow, so the quick dmars compiler seemed like a good choice. Tried mingw, but it took forever to build... >> I get the following error when i run bakefile: >> >> [1/8] generating dmars from keybinder.bkl >> D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84: error:output format does not support conditional processing >> at D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84 >> included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx.bkl:278 >> included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wxcode.bkl:15 >> included from D:\Spara\Projekt\wxCode\components\keybinder\build\keybinder.bkl:9 >> Traceback (most recent call last): >> File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 538, in ? >> run(sys.argv[1:]) >> File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 525, in run >> dryRun=options.dryRun) >> File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 363, in updateTargets >> _doUpdate(state, None, pretend=pretend) >> File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 332, in _doUpdate >> os.remove(tempDeps) >> OSError: [Errno 13] Permission denied: 'c:\\windows\\temp\\bakefilehobffi' >> > such error denied permissions suggests me that you're not logged in as the administrator of a windows system and that bakefile tries to create a temporary file in a folder which is not writable by your user. > > Try to login as admin and retry. > Since I am using Win ME this shouldn't be a problem. Also, there are other files generated from bakefile in that directory. I think the first error line is more important, since it signals a problem with output format, ie problems with bakefile dmars support. > However if you want to provide patches to e.g. wxCode\build\bakefiles\*bkl files to add dmars support, I would gadly accept them. I won't be able to add that myself however. > > Good luck! > Francesco > Thanks. I'll see if I can find out something, and then post any ideas here. /Jonas |
From: Francesco M. <f18...@ya...> - 2007-08-01 08:14:45
|
Hi, Jonas Rydberg ha scritto: > Francesco Montorsi wrote: >>> I am trying to build dmars makefiles for different wxcode components, but it >>> fails. >>> >> well, dmars is a "rarely-used" format. You're the first one asking about it... >> > Yes, I get that since I get these errors, but I thought that since the > main wx library builds ok with bakefile generated dmars makefiles, > wxcode components should "just work". not so easy :) > Maybe I've misunderstood something about bakefiles, but I thought that > the target logic (dmars, vs, bcc, etc) was the same for all projects > using bakefiles, and as long as a target (like dmars) was supported, > makefiles for any project should work. in very theory it should be so. In practice in bakefiles there are some points which needs to be "executed" only for some types of formats and not others. Thus testing the bakefiles & generated makefiles against a format is indispensable. > Guess I need to download bakefile sources and start debugging then. that's not a problem with bakefile itself, but rather with wxWidgets bakefile presets (in wxCode\build\bakefiles\presets\wx_*.bkl) and wxCode presets (in same folder). > Or > switch Win-compiler. My main dev platform is Debian and there it's no > problems, but my win machine is so slow, so the quick dmars compiler > seemed like a good choice. Tried mingw, but it took forever to build... I agree that mingw is the slowest compiler available on Win. It's hardly usable at all for me. I strongly suggest you to use free MSVC 8 compiler (M$ now gives away for free the "express edition") or the free Borland 5.5 compiler (probably the faster compiler I've ever used - but buggier than M$'s one). > >>> I get the following error when i run bakefile: >>> >>> [1/8] generating dmars from keybinder.bkl >>> D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84: > error:output format does not support conditional processing ... > I think the first > error line is more important, since it signals a problem with output > format, ie problems with bakefile dmars support. ops, you're right! I didn't see it. Well, the error says pretty much everything: dmars MAKE is brain-dead and does not support "if" statements. Maybe dmars_smake is better? Francesco |