From: John L. <jla...@gm...> - 2006-01-31 21:46:09
|
On 1/31/06, Francesco Montorsi <f18...@ya...> wrote: > John Labenski ha scritto: > > I'm trying to get things ironed out in Windows, but I can't get the > > bakefile program to work. I installed it in cygwin and did > > $configure --prefix=3D/home/jlabenski/lib/frm_bakefile/install (a clean= dir) > > > > then when I run this in the wxLua/build/bakefile dir > > > > $export PYTHONPATH=3D/home/jlabenski/lib/frm-bakefile/install/lib/bakef= ile/ > > $~/lib/frm_bakefile/install/bin/bakefile_gen > > > > I get these errors > > > > [jlabenski@P608292 bakefiles]$ > > ~/lib/frm-bakefile/install/lib/bakefile/bakefile_gen.py > > [1/23] generating watcom from ../../apps/build/bakefiles/apps.bkl > > Traceback (most recent call last): > > File "/home/jlabenski/lib/frm-bakefile/install/lib/bakefile/bakefile.= py", > > line 198, in ? > > run(sys.argv[1:]) > > File "/home/jlabenski/lib/frm-bakefile/install/lib/bakefile/bakefile.= py", > > line 47, in run > > import reader, writer > > File "/home/jlabenski/lib/frm-bakefile/install//lib/bakefile/reader.p= y", > > line 26, in ? > > import mk > > File "/home/jlabenski/lib/frm-bakefile/install//lib/bakefile/mk.py", > > line 25, in ? > > import bottlenecks > > File "/home/jlabenski/lib/frm-bakefile/install//lib/bakefile/bottlene= cks.py", > > line 5, in ? > > import _bottlenecks > > ImportError: No module named _bottlenecks > > [bakefile_gen] error: bakefile exited with error > > > > I assume it's trying to load _bottlenecks.la, but it can't seem to > > find it. Any ideas? > yes: you need to do 'make' in bakefile folder. This will create the > _bottlenecks module. > you should also do 'make install' to actually install bakefile in > '/home/jlabenski/lib/frm_bakefile/install'... I did make and then make install, still no luck. I've tried setting PYTHONPATH, LD_LIBRARY_PATH, LD_RUN_PATH, copying _bottlenecks.[l]a to other directories, same exact error. Grrr... this is why I don't like to make installing things too complicated because it's very easy to make it impossible to figure out how to "just make it work." -John |