Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to find required packages needed by cairo? Post 303031837 by colt on Wednesday 6th of March 2019 11:14:41 AM
Old 03-06-2019
How to find required packages needed by cairo?

Hello, I am currently trying to install and old version of Cairo. I tried two versions, 10.5 and 1.1.1 and they say similar things. Pango 1.1.1 says:

Quote:
checking for X... no
configure: WARNING: X development libraries not found
checking for freetype-config... no
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... no
checking for pkg-config... /usr/bin/pkg-config
checking for fontconfig >= 1.0.1... checking for xft >= 2.0.0... configure: error: *** Didn't find any of FreeType, X11, or Win32.
*** Must have at least one backend to build Pango.
and Pango 1.0.5 says:
Quote:
checking for X... no
configure: WARNING: X development libraries not found
checking for freetype-config... no
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... no
configure: error: *** Didn't find any of FreeType, X11, or Win32.
*** Must have at least one backend to build Pango.
So quite similar. I downloaded two freetype packages, versions number 2.9.1 and 2.2.1 and passed them through PKG_CONFIG_PATH. It did not change the error messages. Doing a search, I found that this tterrors.h file is not present and doing a quick search around the internet, I could not find the precise package(s) that I need, so I am currently lost on what packages to look for. Any help might be useful.
 

9 More Discussions You Might Find Interesting

1. Solaris

Where can I find details of what various Solaris packages do?

Among varous other items, I'm trying to find out what "Authentication Management Infrastructure" (package SUNWamix) does, and why would a sysadmin disable it? The reason given is 'for security purposes' without explanation ... how and why is AMI such a 'security risk' that it has to be turned off?... (3 Replies)
Discussion started by: muleheadjoe
3 Replies

2. UNIX for Dummies Questions & Answers

How to find Packages running on a server

On a HP machine I used this /usr/sbin/cmviewcl But on a Sun machine what is the command to find out the packages installed on it. Thanks (4 Replies)
Discussion started by: venu_nbk
4 Replies

3. Solaris

Help required to install packages

Hi All, I was told to install multiple packages on my solaris server. Is it possible to install multiple packages from a directory or CD. Or I need to install one by one. Please suggest. Thanks, Deepak (1 Reply)
Discussion started by: naw_deepak
1 Replies

4. AIX

AIX TL updates not including all packages needed

In trying to resolve my issue, I downloaded TL 11 and trying to update to it. Why the heck does not the TL fix have the required files in it? Thats another 1.+ GB download. I am also sure that when I go to install that package it will complain about rsct not being updated. MISSING... (1 Reply)
Discussion started by: mrmurdock
1 Replies

5. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

6. UNIX for Dummies Questions & Answers

[Solved] Packages required - Libaio.so.1 - Libstdc++so.6

hi guys I have to install a software that says have theses packages are required Libaio.so.1 Libstdc++so.6 are these default packages for a Suse 11 installation for instance? or do I need to download them to avoid dependency issues thanks a lot ---------- Post updated at 10:00 PM... (0 Replies)
Discussion started by: kopper
0 Replies

7. Solaris

[ Help needed] - VxVM pdf required

Hi, I am looking for below PDF's Veritas Storage Foundation 5.1 for UNIX - Install and configure Veritas Storage Foundation 5.1 for UNIX - Manage and Adminstrator Could someone please provide a link. I would be highly thankful to you. Best Regards, (1 Reply)
Discussion started by: saurabh84g
1 Replies

8. Solaris

how to find the list of all packages present in a directory

Hi I'm in a directory named /tmp/mq7 i need to upgrade the mq version from 6 to 7 but im not sure where is the package located ? which command in solaris will show me the list of all the packages present in the directory /tmp/mq7 ? my box is running with solaris version 10. (2 Replies)
Discussion started by: newtoaixos
2 Replies

9. UNIX for Advanced & Expert Users

Pango 1.20 does not compile when passing Cairo or X server packages as backends

Hello. Trying to compile Pango with one or mentioned packages as backend, Cairo or X11 related packages I have been facing a series of error messages that I do not know how to fix. First with Cairo. I try to compile Pango with ./configure ... (1 Reply)
Discussion started by: colt
1 Replies
Font::FreeType(3pm)					User Contributed Perl Documentation				       Font::FreeType(3pm)

NAME
Font::FreeType - read font files and render glyphs from Perl using FreeType2 SYNOPSIS
use Font::FreeType; my $freetype = Font::FreeType->new; my $face = $freetype->face('Vera.ttf'); $face->set_char_size(24, 24, 100, 100); my $glyph = $face->glyph_from_char('A'); DESCRIPTION
This module allows Perl programs to conveniently read information from font files. All the font access is done through the FreeType2 library, which supports many formats. It can render images of characters with high-quality hinting and antialiasing, extract metrics information, and extract the outlines of characters in scalable formats like TrueType. Warning: this module is currently in 'beta' stage. It'll be another release or two before it stabilizes. The API may change in ways that break programs based on it, but I don't think it will change much. Some of the values returned may be wrong, or not scaled correctly. See the TODO file to get a handle on how far along this work is. Contributions welcome, particularly if you know more than I do (which isn't much) about fonts and the FreeType2 library. The Font::FreeType API is not intended to replicate the C API of the FreeType library -- it offers a much more Perl-friendly interface. The quickest way to get started with this library is to look at the examples in the examples directory of the distribution. Full details of the API are contained in this documentation, and (more importantly) the documentation for the Font::FreeType::Face and Font::FreeType::Glyph classes. To use the library, first create a Font::FreeType object. This can be used to load faces from files, for example: my $freetype = Font::FreeType->new; my $face = $freetype->face('Vera.ttf'); If your font is scalable (i.e., not a bitmapped font) then set the size and resolution you want to see it at, for example 24pt at 100dpi: $face->set_char_size(24, 24, 100, 100); Then load a particular glyph (an image of a character), either by character code (in Unicode) or the actual character: my $glyph = $face->glyph_from_char_code(65); my $glyph = $face->glyph_from_char('A'); Glyphs can be rendered to bitmap images, among other things: my $bitmap = $glyph->bitmap; See the documentation for Font::FreeType::Glyph for details of the format of the bitmap array reference that returns, and for other ways to get information about a glyph. METHODS
Unless otherwise stated, all methods will die if there is an error. new() Create a new 'instance' of the freetype library and return the object. This is a class method, which doesn't take any arguments. If you only want to load one face, then it's probably not even worth saving the object to a variable: my $face = Font::FreeType->new->face('Vera.ttf'); face(filename, %options) Return a Font::FreeType::Face object representing a font face from the specified file. The "index" option specifies which face to load from the file. It defaults to 0, and since most fonts only contain one face it rarely needs to be provided. The "load_flags" option takes various flags which alter the way glyphs are loaded. The default is usually OK for rendering fonts to bitmap images. When extracting outlines from fonts, be sure to set the FT_LOAD_NO_HINTING flag. The following load flags are available. They can be combined with the bitwise OR operator ("|"). The symbols are exported by the module and so will be available once you do "use Font::FreeType". FT_LOAD_DEFAULT The same as doing nothing special. FT_LOAD_CROP_BITMAP Remove extraneous black bits round the edges of bitmaps when loading embedded bitmaps. FT_LOAD_FORCE_AUTOHINT Use FreeType's own automatic hinting algorithm rather than the normal TrueType one. Probably only useful for testing the FreeType library. FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH Probably only useful for loading fonts with wrong metrics. FT_LOAD_IGNORE_TRANSFORM Don't transform glyphs. This module doesn't yet have support for transformations. FT_LOAD_LINEAR_DESIGN Don't scale the metrics. FT_LOAD_NO_AUTOHINT Don't use the FreeType autohinting algorithm. Hinting with other algorithms (such as the TrueType one) will still be done if possible. Apparently some fonts look worse with the autohinter than without any hinting. This option is only available with FreeType 2.1.3 or newer. FT_LOAD_NO_BITMAP Don't load embedded bitmaps provided with scalable fonts. Bitmap fonts are still loaded normally. This probably doesn't make much difference in the current version of this module, as embedded bitmaps aren't deliberately used. FT_LOAD_NO_HINTING Prevents the coordinates of the outline from being adjusted ('grid fitted') to the current size. Hinting should be turned on when rendering bitmap images of glyphs, and off when extracting the outline information if you don't know at what resolution it will be rendered. For example, when converting glyphs to PostScript or PDF, use this to turn the hinting off. FT_LOAD_NO_SCALE Don't scale the font's outline or metrics to the right size. This will currently generate bad numbers. To be fixed in a later version. FT_LOAD_PEDANTIC Raise errors when a font file is broken, rather than trying to work around it. FT_LOAD_VERTICAL_LAYOUT Return metrics and glyphs suitable for vertical layout. This module doesn't yet provide any intentional support for vertical layout, so this probably won't be much use. version() Returns the version number of the underlying FreeType library being used. If called in scalar context returns a string containing three numbers in the format "major.minor.patch". In list context returns the three numbers as separate values. SEE ALSO
Font::FreeType::Face, Font::FreeType::Glyph AUTHOR
Geoff Richards <qef@laxan.com> COPYRIGHT
Copyright 2004, Geoff Richards. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2004-09-11 Font::FreeType(3pm)
All times are GMT -4. The time now is 08:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy