Re: [Tnfox-discussion] tnFOX 0.75 won't run TestSuite on my fbsd 5.2.1...
Brought to you by:
ned14
From: Jeremie P. <jp...@si...> - 2004-05-01 07:24:51
|
Hello Niall! > Remember the python bindings are incomplete due to that pyste bug. I > was talking with Bruno recently and he says there's not much chance > of resolution any time soon. I'll take over maintaining pyste if > needs be when the time comes (not for some months). > > The other thing I should mention is that I haven't got loading the > TnFOX bindings into python working yet on POSIX (ie; TestPython > doesn't work). TestEmbedPython partially works, at least until the > threads stuff begins. > > v0.75 was the very first time I even got the python bindings to > *compile* on POSIX as it was infeasible previously. Therefore there > are going to be issues. > Your right heh, I may have been over enthusiastic a little. Well, months sound good for me. I have alot to do until I really need to be programming python script myself plus I'm traveling to Mexico leaving tommorow until june... I'm still in the process of porting my own project to scons and subversion so don't worry for me, I can keep myself busy until pyste get fixed. I will however make sure to get the latest tnFox version as soon as I get back to see how it improved :) > > However, there seems to be something wrong with FXProcess.. Something > > to do with FXProcess::mappedFiles() and fbsd 5.2 procfs is my best > > guess. > > Unfortunately you can't just remove that code. mappedFiles() is used > by TnFOX to find and load the translation file(s). > yeah I figured as much... it was just my first lazy try until I recompiled the whole thing in Debug mode and fired up ddd. > > Most of the TestSuite compile with the exception of the some tests.. > > included in fsck.txt the output of scons in TestSuite dir for the > > remaining tests that won't compile... > > Odd that TestEmbedPython wouldn't compile. It's possible I may have > forgotten to check FreeBSD :( TestGeneric fails with GCC period and I > have no plans to fix it soon. > no rush, just thought you might enjoy having some more outputs... > > I'm I doing something wrong? some kernel config that has to do with > > PROCFS mayb? (its enabled in my kern.) > > Well it's enabled in all FreeBSD 5.x kernels by default to my > knowledge. > > I did some investigating. I think /proc isn't mounted under the > default config despite the kernel having support compiled in. This is > from memory so I may be wrong. Change directory to /proc and see if > there are any subdirectories called a number - if not, it's not > mounted. I added "proc /proc procfs rw 0 0" to my /etc/fstab to fix > this and I've updated the TnFOX docs to say this. > duh, I knew that... just haven't thought about it last night :( blame too much alcohol! Thanks!! > > I haven't tried linking a fox app with my compiled tnFox lib yet. > > Hopefully you have an idea of what my problem is :) > > That should just work. Let me know if it doesn't. Sure did :-) TestStaticInit worked, as well as some others test... its a bit late so I won't get into details. I'll wait until the next drop. Keep on the good work my friend! Cheers Jeremie. |