From: Francesco M. <f18...@ya...> - 2005-11-22 08:09:48
|
Hi, John Labenski wrote: > I just downloaded bakefile 1.9.1 for linux configured, make, make > installed it and and when I try to run bakefile_gen I get this error > for the component wxstedit that I've copied all the stuff from > wxCode/build from. I can run bakefile_gen using bakefile in DOS. > > (note: I installed it to the same directory that I tgunziped it, this > used to work w/ bakefile 1.8) > > [john@localhost build]$ export > WXWIN=/home/john/wx/wxWidgets/wxCVS_26/wxWidgets > [john@localhost build]$ ~/lib/bakefile-0.1.9.1/bin/bakefile_gen > [1/7] generating watcom from stedit.bkl > /home/john/cvs/wxCode/wxCode/build/bakefiles/wxhacks.bkl:20: error: > can't find file 'presets/wx.bkl' in > /home/john/cvs/wxCode/wxCode/build/bakefiles:/home/john/lib/bakefile-0.1.9.1/share/bakefile/rules:/home/john/lib/bakefile-0.1.9.1/share/bakefile/output:/home/john/lib/bakefile-0.1.9.1/share/bakefile:%WXWIN%/build/bakefiles/wxpresets > included from /home/john/cvs/wxCode/wxCode/build/bakefiles/wxhacks.bkl:20 > included from /home/john/cvs/wxCode/wxCode/build/bakefiles/defaults.bkl:78 > included from > /home/john/cvs/wxCode/wxCode/components/wxstedit/build/stedit.bkl:11 > [bakefile_gen] error: bakefile exited with error the problem is that you should have wxpresets installed in your bakefile folder. That is, you should have wx.bkl, wx_unix.bkl and wx_win32.bkl in ~/lib/bakefile-0.1.9.1/presets Wehn installing wxWidgets, since version 2.6.1, it copies the wxpresets in $prefix/share/bakefile/presets which usually is the folder where bakefile is installed. If you use bakefile from a local folder like ~/lib/bakefile-0.1.9.1, then you need to manually copy the wxpresets in its presets folder. In any case I strongly suggest you to 1) run "make install" in bakefile folder so that you have it installed system-wide 2) copy in /usr/local/share/bakefile/presets the very latest wxpresets taken from wxWidgets CVS as they fix some bugs from previous versions. Francesco |