From: John H. <jdh...@ac...> - 2004-03-16 14:05:16
|
>>>>> "Martin" == Martin Kuemmel <mku...@es...> writes: Martin> Hi John, I dont know whether you are the person to write Martin> to, but I simply try. I am trying to install matplotlib Martin> on: Martin> SunOS st13 5.8 Generic_108528-21 sun4u sparc Martin> SUNW,Sun-Blade-1500 Martin> with gcc 3.3.2. Martin> In principle it works, and with the PS-backend it gives Martin> results. I would like to install the agg-backend, but did Martin> not manage to do so. I just installed the Martin> freetype2-library, and to include it at its position I Martin> changed the code in 'setupext.py', module Martin> 'add_agg_flags(module)', line 94 to; Martin> module.include_dirs.extend( Martin> ['/ecfsoft/pyraf1.1/include/freetype2',] ) Martin> module.include_dirs.extend( ['/ecfsoft/pyraf1.1/include',] Martin> ) Martin> i am still not at home, and I get the error messages: Martin> Text relocation remains referenced against symbol offset Martin> in file <unknown> 0x40 Martin> /ecfsoft/pyraf1.1/lib/libz.a(deflate.o) <unknown> 0x4c Martin> /ecfsoft/pyraf1.1/lib/libz.a(deflate.o) <unknown> 0x58 Martin> /ecfsoft/pyraf1.1/lib/libz.a(deflate.o) Martin> It seems not to include the libz correctly, but this Martin> library exists also at '/ecfsoft/pyraf1.1/include' and Martin> '/ecfsoft/pyraf1.1/lib'. Martin> What can I do? Martin> Cheers and thanks in advance, Martin Martin> P.S.: Please forward this mail to the appropriate person, Martin> or give me its email address Hi Martin, We are very interested in getting a build that works properly under Solaris so thanks for writing and offering to be the crash test dummy. I CCd this email to the matplotlib development list since some folks there know a bit about solaris. You may want to consider joining the user or development mailing list for future questions - http://sourceforge.net/mail/?group_id=80706 I suggest you try working with the latest matplotlib snapshot http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-0.52c.tar.gz which has a somewhat improved setupext.py (it also includes basic image support with the imshow command). Usually to get freetype you need the dir that includes ft2build.h and the freetype2 include dir in your include_path. But it looks like you are getting a link error rather than an include error. I just posted "Text relocation remains referenced against symbol offset" into google and got this result http://mailman.cs.uchicago.edu/pipermail/swig/2002-April/004435.html. That post suggests you need the linker flags -Wl,-G Search google groups with the same error message and you'll get lots of threads that look helpful. When you get this working if you can post a modified setupext.py as well as any additional dependencies and build instructions, that would be great. JDH |