LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-23-2010, 10:40 PM   #1
noalternative
LQ Newbie
 
Registered: Mar 2006
Distribution: ElementaryOS, Debian
Posts: 19

Rep: Reputation: 0
can't compile gtkspell from source on puppy 4.2


Ok, I am trying to install pidgin from sources but had to install gtkspell before I could do that, and had to install enchant before I could install gtkspell. Unfortunately even after installing enchant configure for gtkspell is still not finding it. What should I do? I checked the help files and did not find and obvious solution.

Here is my console output.
# ./configure --with-included-gettext
configure: WARNING: unrecognized options: --with-included-gettext
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKSPELL... configure: error: Package requirements (gtk+-2.0 enchant >= 0.4.0 ) were not met:

No package 'enchant' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTKSPELL_CFLAGS
and GTKSPELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

#
I don't know what the pkg_config_path is or how to adjust it, and pkg-config doesn't have a man page. O also don't know how to adjust gtkspell_sflags and gtkspell_libs.


any ideas about what to do next. I am following these instructions in pet packaging.
http://murga-linux.com/puppy/viewtopic.php?t=35507

I am doing this because the updated versions of pidgin on this board don't work with 4.2.
 
Old 07-24-2010, 02:19 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
pkgconfig files are in /usr/lib/pkgconfig and /usr/local/lib/pkgconfig and a few other places. what configure is talking about is if you installed gtk-spell in the default place, /usr/local/, and there is an older gtk-spell in /usr/, then the older /usr/lib/pkgconfig/gtkspell.pc gets read, and configure thinks your version is too old. Look for /usr/lib/pkgconfig/gtk-spell.pc or gtkspell.pc, something like that and see if thats what the problem is.
 
Old 07-24-2010, 08:06 AM   #3
noalternative
LQ Newbie
 
Registered: Mar 2006
Distribution: ElementaryOS, Debian
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by whansard View Post
pkgconfig files are in /usr/lib/pkgconfig and /usr/local/lib/pkgconfig and a few other places. what configure is talking about is if you installed gtk-spell in the default place, /usr/local/, and there is an older gtk-spell in /usr/, then the older /usr/lib/pkgconfig/gtkspell.pc gets read, and configure thinks your version is too old. Look for /usr/lib/pkgconfig/gtk-spell.pc or gtkspell.pc, something like that and see if thats what the problem is.
Isn't it asking me about enchant? I am not sure I am following?
 
Old 07-24-2010, 08:47 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Why are you installing Pidgin from sources instead of your package manager?
 
Old 07-24-2010, 04:40 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,125

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
"" # ./configure --with-included-gettext"" ( see ./configure --help ).
Don't run 'configure' as root. Only 'make install'.

And all "gettext" is included by default :
configure looks for xgettext, ngettext in libc, dgettext in libc.

Using / finding pkgconfig files in /usr/local :
1)
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
2) ./configure
.. The export command is temporary, will reset with "exit terminal".
..

Last edited by knudfl; 07-24-2010 at 04:45 PM.
 
Old 07-24-2010, 08:06 PM   #6
noalternative
LQ Newbie
 
Registered: Mar 2006
Distribution: ElementaryOS, Debian
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MTK358 View Post
Why are you installing Pidgin from sources instead of your package manager?
The package is old and out of date. msn and yahoo have updated the protocols since pidgin 2.4x.
 
Old 07-24-2010, 10:17 PM   #7
noalternative
LQ Newbie
 
Registered: Mar 2006
Distribution: ElementaryOS, Debian
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
"" # ./configure --with-included-gettext"" ( see ./configure --help ).
Don't run 'configure' as root. Only 'make install'.
puppy doesn't have user accounts. I know this is bad. However it is the only distro that installs on my computer because I lost my hard drive and puppy is the only one I have found that will boot on a small flash drive without demanding a working hard drive. When I have money I will install a new hard drive.

Quote:
And all "gettext" is included by default :
configure looks for xgettext, ngettext in libc, dgettext in libc.

Using / finding pkgconfig files in /usr/local :
1)
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
2) ./configure
.. The export command is temporary, will reset with "exit terminal".
..
Thanks this helped.
 
  


Reply

Tags
pidgin


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
Trouble when compiling gtkspell-2.0.11 EOHooligan Linux - Software 3 05-26-2006 11:07 PM
using gtkspell in gaim Mr_Failure Linux - Software 6 03-03-2005 04:50 PM
Gaim 1.0.3 not finding gtkspell-2.0 jmoschetti45 Linux - Laptop and Netbook 2 12-02-2004 11:12 PM
GtkSpell and Gaim don't like me >_> GT_Onizuka Linux - Software 5 09-26-2004 11:02 AM
should I have gtkspell-2.0 with slack9.1 shanenin Linux - Software 1 10-17-2003 07:04 PM


All times are GMT -5. The time now is 03:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration