LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-31-2006, 06:12 PM   #1
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Gaim instalation problem


I'm having some problems with aMSN sending files so i decided to give gaim a try. The problem is that in ./configure it says can't find GTK+ 2.0.

So i went to the instalation of GTK 2.8.18 but in the ./configure of GTK is says me that can't find Pango.

I've tryed to install pango via slackware package or source but Gtk ./configure still complaints about not finding pango... I really don't know what to do.
 
Old 05-31-2006, 06:29 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
There is a binary package for gaim available. Download it from slackware.com or get it from the installation discs, and run:

Code:
pkginstall gaim*.tgz
Regards,

Alunduil
 
Old 05-31-2006, 06:30 PM   #3
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by SlackTux
I'm having some problems with aMSN sending files so i decided to give gaim a try. The problem is that in ./configure it says can't find GTK+ 2.0.

So i went to the instalation of GTK 2.8.18 but in the ./configure of GTK is says me that can't find Pango.

I've tryed to install pango via slackware package or source but Gtk ./configure still complaints about not finding pango... I really don't know what to do.
Both Gtk and Pango have official Slackware packages, why not use them? (Gaim has a package, too).

Your problem could be one of the following: pkg-config can't find the pango installed (unlikely), or the pango version you installed is not up-to-date. You must give the exact error message for us to see which one is the case. But as I said, just install the official packages, it's much easier.
 
Old 05-31-2006, 06:58 PM   #4
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
I was trying to compile gaim from source because i wanted to try the beta3 release. And they don't have Slackware packages available so i went to the source.

Anyway the error i get in ./configure of GTK is the following:

Code:
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo   -L/usr/X11R6/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz -lfontconfig -lXrender -lX11 -lXext -lpng12
configure: error:
*** Can't link to Pango. Pango is required to build
Thanks for the help so far.
 
Old 05-31-2006, 07:19 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
did you install pango in /usr/local ?
the config script is looking in /usr.

egag
 
Old 05-31-2006, 07:27 PM   #6
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
I think it is in /usr/include

How can i tell ./configure to search there?
 
Old 05-31-2006, 07:35 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
it's looking in /usr/include and /usr/lib. (and not in /usr/local/-- )
what does "ls -d /usr/lib/pango " give ?

egag
 
Old 05-31-2006, 07:44 PM   #8
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
Code:
[12:43 AM] Jabber@PlayGround:/home/jabber# ls -d /usr/lib/pango
/usr/lib/pango/
So it should work right?
 
Old 05-31-2006, 07:52 PM   #9
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
In the meanwhile i've also tried the Slackware package and the Autopackage package. And none of them works. They both complaint about pango.
 
Old 05-31-2006, 08:12 PM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i asked for the wrong thing (sorry)
i meant the output of "ls -l /usr/lib/libpango*"
(should give libpango-1.0)

if it's all there you could try:

"export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"

before running the config script,
(...but normally you get a warning about PKG_CONFIG_PATH when it's missing )

egag
 
Old 05-31-2006, 08:51 PM   #11
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
A symlink from /usr/lib/pango to /usr/lib/pango-1.0 may do the job (it seems you have pango/ bu the thing looks for pango-1.0/). Same goes for the /usr/include dir.
 
Old 05-31-2006, 09:39 PM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
/usr/lib/pango is a dir ( output of "ls -d")
the lib is called "libpango-1.0"

egag
 
Old 05-31-2006, 10:55 PM   #13
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
Yes, I meant to say a link between dirs. His configure message is

checking Pango flags... -I/usr/include/pango-1.0 ...

so I think it's looking for the directory /usr/include/pango-1.0. But he has /usr/include/pango on his system, that's why I suggested a link.

Or... Editing the /usr/lib/pkgconfig/pango.pc file appropriately could also solve the problem...
 
Old 06-01-2006, 04:52 PM   #14
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
Actually the directory i have is /usr/include/pango-1.0

I've tried the export command but i still get the same error.
I've also checked the /usr/lib/pkgconfig/pango.pc file but it looks good i think:

Code:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

pango_module_version=1.5.0

Name: Pango
Description: Internationalized text handling
Version: 1.12.1
Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
Libs: -L${libdir} -lpango-1.0
Cflags: -I${includedir}/pango-1.0
 
Old 06-01-2006, 05:12 PM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
someone reported to have pango-1.0 PLUS another, older version of pango installed
resulting in the same error as you have.
check "ls /var/log/packages/pango*", and uninstall all old stuff.
then: try again....

egag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem about instalation sarajevo Debian 2 08-01-2005 07:38 AM
Problem Installing/Upgrading Gaim 0.60 or Gaim 0.71 AskMe Linux - Newbie 1 10-25-2003 09:00 PM
RH 9.0 instalation problem gPawel Linux - General 4 08-18-2003 02:51 AM
redhat 8.0 instalation problem il0postino Linux - Newbie 5 11-18-2002 11:43 AM
instalation problem vicente General 6 08-10-2001 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration