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






-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to