On 9/20/2012 5:48 AM, Andreas Scheuring wrote:
While trying to get the cma.py script running, I encountered a similar error.
It also wasn’t able to find the glib-2.0 package. I have a strong assumption
why:
The scripts are searching for the path /usr/lib/i386-linux-gnu/pkgconfig
But, in my ubuntu installation its always /usr/lib/x86_64-linux-gnu/pkgconfig
The same with some other paths in the file “/pyclasswrappers/AssimCtypes.py”.
Starting in line 602 there are a lot of paths pointing to i386 directories.
I also had to add my path in line 593
add_library_search_dirs(['../../bin/clientlib',
'/home/alanr/monitor/bin/clientlib', '/usr/lib/i386-linux-gnu',
'/usr/lib/x86_64-linux-gnu'])
Changing this, the script was able to passes these lines of code.
Then it stopped again. I’ll write a separate mail for that issue as it has
nothing to do with the “changed” paths.
For what it's worth - those lines are totally wrong for properly
installed software ;-).
In my understanding, the line telling where to search for standard
libraries should not be needed at all. This is something Ubuntu does
differently from other distros I'm familiar with - and I suspect that
this is an Ubuntu bug/quirk.
I think you have to use ctypes for it to show up. That seems to imply
that cytpes isn't being tested as part of the distro tests.
Are you running the tests? If so have you run the C tests? the python
tests?
If the python tests /crash/, then I suspect I know what it is.
-- Alan Robertson
[email protected]
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/