SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Malte M. <Mal...@cs...> - 2004年07月21日 04:17:28
Hi ,
I can't build matplotlib-0.60.2 under woody.
woody doesn't come with th latest freetype-dev
It has version '2.0.9'
The following error occurs.
src/ft2font.cpp: In method `class Py::Object 
FT2Font::get_ps_font_info(const Py::Tuple &)':
src/ft2font.cpp:811: `PS_FontInfoRec' undeclared (first use this function)
src/ft2font.cpp:811: (Each undeclared identifier is reported only once
src/ft2font.cpp:811: for each function it appears in.)
src/ft2font.cpp:811: parse error before `;'
src/ft2font.cpp:813: `fontinfo' undeclared (first use this function)
src/ft2font.cpp:813: implicit declaration of function `int 
FT_Get_PS_Font_Info(...)'
PS_FontInfoRec is not present in the woody freetype.
ps And don't tell me not to use woody - our sys admins like to have a 
retro feeling.
Cheers,
Malte.
From: John H. <jdh...@ac...> - 2004年07月22日 16:46:40
>>>>> "Malte" == Malte Marquarding <Mal...@cs...> writes:
 Malte> Hi , I can't build matplotlib-0.60.2 under woody.
 Malte> woody doesn't come with th latest freetype-dev It has
 Malte> version '2.0.9'
 Malte> ps And don't tell me not to use woody - our sys admins like
 Malte> to have a retro feeling.
There's no need to upgrade the operating system, but you will need to
upgrade freetype. I recommend freetype 2.1.9 - 2.1.7 is required by
matplotlib, but 2.1.9 fixes some bugs.
With debian, a simple
 > sudo apt-get install freetype freetype-dev 
should do the trick.
If your sysadmins won't do this for you, you can always compile a
version in your home dir.
Have you tried installing matplotlib via debian:
http://matplotlib.sourceforge.net/installing.html#Debian? There was a
recent thread on matplotlib-users regarding the debian apt install -
http://sourceforge.net/mailarchive/message.php?msg_id=8961454.
JDH
From: Malte M. <Mal...@cs...> - 2004年07月23日 01:47:04
John,
I don't know about your experience with debian, but 'stable' doesn't 
come with the version needed.
If I build freetype from scratch, pygtk would need to be rebuilt as well 
as Gtk etc. etc.
I have done this and it isn't a solution. That leaves me with TkAgg, 
which I don't want.
Wx is not really a solution either, as it is slow and heavy - I have to 
cater for P3-450Mhz style systems
debian is supposed to solve these issues, but
Unfortunately, I can't see a solution to this problem, other than to 
wait for testing to be declared stable in three months after three 
months after three months...
Cheers,
Malte.
John Hunter wrote:
>
>There's no need to upgrade the operating system, but you will need to
>upgrade freetype. I recommend freetype 2.1.9 - 2.1.7 is required by
>matplotlib, but 2.1.9 fixes some bugs.
>
>With debian, a simple
>
> > sudo apt-get install freetype freetype-dev 
>
>should do the trick.
>
>
>If your sysadmins won't do this for you, you can always compile a
>version in your home dir.
> 
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
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 によって変換されたページ (->オリジナル) /