[SOLVED] can't compile gtkspell from source on puppy 4.2
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,151
Rep:
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.
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?
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,308
Rep:
"" # ./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".
..
"" # ./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".
..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.