From: Haejoong L. <hae...@un...> - 2002-04-30 17:35:30
|
Margit, I guess you have built "AG-library" from the source package and your compilation of aglib is not complete. Please check if you have the following: aglib-1.0/ag_wrapper/python/.libs/ag_python.so If not, it means you didn't enable ag_python option, which build python ag module. Please do the following: $ cd aglib-1.0 $ make distclean $ ./configure --with-prefix=/dir/to/install \ --enable-ag_python \ --with-python=/dir/of/python/binary/python2.1 \ <put other options here, if any> $ make $ make install If there is no problem in compiling, you have to be able to find the followings: /dir/to/install/lib/libag.so /dir/to/install/lib/libagf.so /dir/to/install/lib/ag_python.so Now, set your LD_LIBRARY_PATH as follows: $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dir/to/install/lib or (if you are using csh) % setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":/dir/to/install/lib That's it!! Thanks, Haejoong On Tue, Apr 30, 2002 at 06:22:49PM +0200, Margit Gut wrote: > HI, Kazuaki, > > it's me again. I think I have more problems than I thought first. > I tried to write the Test-program, you sent me. I think, the AG-library is > everything that lies in > algib-1.0/ag > the > import ag > told me first, that it needs > ag_python. > I copied the ag_python.cc file in the directory ag > the next message was > object has no attribute CreateAgSet > > I think I am doing something very wrong. I can imagine, that I have no > problems any further when the demo program is running, because the > documentation of the calls is very good. My problem, I think, is to > understand, which modules play together so that the program is running. I am > not really sure wether I need the .h and .cc files or the .py files. > In a second try I wanted to run the ag_wrapper_test.py but I got the same > message > object has no attribute CreateAgSet > I think, I have not yet all resources I need, so I would be very grateful if > you could help me once again > > greetings and a lot of patience > > Margit > > > > _______________________________________________ > agtk-devel mailing list > agt...@li... > https://lists.sourceforge.net/lists/listinfo/agtk-devel |