SourceForge logo
SourceForge logo
Menu

wxlua-users

From: John L. <jla...@gm...> - 2006年01月30日 20:15:06
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/bakefile/
$~/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.py",
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/bottlenecks.=
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?
Regards,
 John Labenski
From: Francesco M. <f18...@ya...> - 2006年01月31日 12:58:29
Hi,
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=/home/jlabenski/lib/frm_bakefile/install (a clean dir)
> 
> then when I run this in the wxLua/build/bakefile dir
> 
> $export PYTHONPATH=/home/jlabenski/lib/frm-bakefile/install/lib/bakefile/
> $~/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.py",
> 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/bottlenecks.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'...
Francesco
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
From: Francesco M. <f18...@ya...> - 2006年02月01日 21:05:42
Hi,
John Labenski ha scritto:
> 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."
Weird. on my (linux) system it works correctly. Maybe it is something 
cygwin-related ?
Can you please try to install bakefile 0.1.9.1 and then replace the 
$(prefix)/lib/bakefile, $(prefix)/share/bakefile/rules and 
$(prefix)/share/bakefile/output folders with respectively the files 
taken from my frm-bakefile/src, frm-bakefile/rules, frm-bakefile/output ?
That should surely work.
Francesco
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /