Re: gtk 2.4 compilation wants pango 1.2?



> Content-Type: text/plain;
>   charset="iso-8859-1"
> From: Dave Smith <davecindysmith comcast net>
> Reply-To: davecindysmith comcast net
> Date: Fri, 26 Mar 2004 12:25:33 -0500
> User-Agent: KMail/1.4.3
> Cc: gtk-list gnome org
> X-MIME-Autoconverted: from quoted-printable to 8bit by apollo.capital.edu id i2QHUC911422
> Content-Length: 2865
> X-SpamBouncer: 1.9 (2/24/04)
> X-SBRule: From domain matches first external Received domain
> X-SBPass: No Pattern Matching
> X-SBRule: ComCast Netblock
> X-SBScore: 1 (Spam Threshold: 9) (Block Threshold: 5)
> X-SBClass: OK
> 
> On Friday 26 March 2004 10:24, Sven Neumann wrote:
> > Hi,
> >
> > Dave Reed <dreed capital edu> writes:
> > > On a Solaris 9 system, I installed:
> > > glib-2.4.0
> > > pango-1.4.0
> > > atk-1.6.0
> > >
> > > but when configuring gtk+-2.4.0 I get:
> > >
> > > -----------------------------------------------------------------
> > >
> > > checking for freetype-config... /usr/local/bin/freetype-config
> > > checking For sufficiently new FreeType (at least 2.0.1)... yes
> > > sh: gnome-config: not found
> > > configure: error: Pango 1.2.0 and Xft backend is required for x11 target
> > >
> > > -----------------------------------------------------------------
> > >
> > > I had previously installed gtk+-2.2.2 and it's corresponding glib,
> > > pango, and atk. What do I need to do to get gtk 2.4 to install?
> >
> > You need pango >= 1.2.0 (so 1.4.0 is OK) _with_ the Xft backend. Use
> > 'pkg-config --modversion pangoxft' to find out what version is
> > installed (or rather what version is in your PKG_CONFIG_PATH).
> >
> > Sven
> >
> Hi Dave,
> 
> I had a similar problem when upgrading from 2.2.4 to 2.4.0.
> 
> When you run ./configure in your pango-1.4.0 directory, look at the output for 
> any warnings about not finding "fontconfig" or "xft".  A simple way to do 
> this is to redirect stdout to a file - only the warnings and errors will be 
> sent to the console ("./configure > /dev/null").  Pango will compile and 
> install with these warnings, but it won't generate pangoxft.  Without 
> pangoxft, gtk+-2.4.0 will not configure.  I had to install fontconfig-2.2.2, 
> freetype-2.1.4, and xft-2.1.1 before building pango to get pangoxft.  You can 
> find the sources if you are missing any of these packages at:
> http://freedesktop.org/~fontconfig/release/
> http://sourceforge.net/project/showfiles.php?group_id=3157
> http://nexp.cs.pdx.edu/fontconfig/release/
> 
> Note that these packages can be fussy about which versions will work together 
> - you may have to experiment on your system.  There is a copy of xft-2.1.2 at 
> the first link, but it will not compile unless your XFree86 is 4.3.0 or later 
> - my system has XFree86 4.2.0, so I had to use xft-2.1.1.  I was told (but 
> did not experiment with this) that there is a problem with 
> fontconfig/freetype in versions of fontconfig earlier than 2.2.2.  There are 
> earlier versions of fontconfig at the 3rd link, but not fontconfig-2.2.2.
> 
> Pay careful attention to the recommended installation procedure for each - a 
> simple "./configure" command may install them in the wrong places.  In my 
> case, I used these (recommended for Linux) commands for the 3 packages:
> ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
> ./configure --prefix=/usr
> ./configure --prefix=/usr/X11R6
> 
> You may also have to add these lines in one of your startup scripts:
>         PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig"
>         export PKG_CONFIG_PATH
> 
> Good Luck!
> 
> Dave

Thanks for the suggestion - that is the problem. This is a Solaris 9
system. I got fontconfig to install but also need xft which appears to
need xrender which needs render. 

I got all the files from:
http://nexp.cs.pdx.edu/fontconfig/release/

render installed, but xrender doesn't compile:
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
 -I/usr/openwin/include -g -O2 -MT Cursor.lo -MD -MP -MF
 .deps/Cursor.Tpo -c Cursor.c  -fPIC -o .libs/Cursor.o
Cursor.c: In function `XRenderCreateCursor':
Cursor.c:35: `xRenderCreateCursorReq' undeclared (first use in this
 function)
Cursor.c:35: (Each undeclared identifier is reported only once
Cursor.c:35: for each function it appears in.)
Cursor.c:35: `req' undeclared (first use in this function)
Cursor.c:39: `sz_xRenderCreateCursorReq' undeclared (first use in this
 function)
Cursor.c:39: syntax error before ')' token
Cursor.c:39: `X_RenderCreateCursor' undeclared (first use in this
 function)
Cursor.c: In function `XRenderCreateAnimCursor':
Cursor.c:59: `xRenderCreateAnimCursorReq' undeclared (first use in
 this function)
Cursor.c:59: `req' undeclared (first use in this function)
Cursor.c:64: `sz_xRenderCreateAnimCursorReq' undeclared (first use in
 this function)
Cursor.c:64: syntax error before ')' token
Cursor.c:64: `X_RenderCreateAnimCursor' undeclared (first use in this
 function)
Cursor.c:69: `sz_xAnimCursorElt' undeclared (first use in this
 function)
make[1]: *** [Cursor.lo] Error 1
make[1]: Leaving directory `/tmp/xrender-0.8.3'
make: *** [all] Error 2

Looks like Solaris X libraries (at least the version/configuration
installed on my system at work) don't have the correct functions.

Anyone else got any ideas for getting this compiled on Solaris?

Thanks,
Dave




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]