Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: kagashe on December 15, 2008, 03:02:47 AM

Title: abiword configure: error: No package 'glib-2.0' found.
Post by: kagashe on December 15, 2008, 03:02:47 AM
Trying to compile abiword2.6.5
Quote
configure: error: No package 'glib-2.0' found.
Our pacakge is
glib2 and glib2-dev. I think "-" problem.

What to do?

kagashe
Title: Re: abiword configure: error: No package 'glib-2.0' found.
Post by: Juanito on December 15, 2008, 03:13:20 AM
did you use:
Code: [Select]
$ export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfigthe name of the extension - glib2, glib-2, etc is irrelevant, the libs inside will be placed in /usr/local/lib irrespective of the name
Title: Re: abiword configure: error: No package 'glib-2.0' found.
Post by: kagashe on December 15, 2008, 03:29:56 AM
did you use:
Code: [Select]
$ export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfigthe name of the extension - glib2, glib-2, etc is irrelevant, the libs inside will be placed in /usr/local/lib irrespective of the name
Ok. That was the problem. Now it is going further and asking for libgnomeprint and libgnomeprintui although the system requirements on Abiword site states GNOME as optional.

kagashe
Title: Re: abiword configure: error: No package 'glib-2.0' found.
Post by: Juanito on December 15, 2008, 03:37:08 AM
if you try
Code: [Select]
$ ./configure --helpyou'll get a whole bunch of details that might suggest --without-libgnomeprint or --disable-libgnomeprint or similar

note that if this turns up too much detail to fit in the scroll buffer you can use:
Code: [Select]
$ ./configure --help > help_details
$ beaver help_details &

you could also look in the README, INSTALL or similar files for clues

if you didn't look already http://www.linuxfromscratch.org/blfs/view/stable/xsoft/AbiWord.html (http://www.linuxfromscratch.org/blfs/view/stable/xsoft/AbiWord.html) might be helpful
Title: Re: abiword configure: error: No package 'glib-2.0' found.
Post by: curaga on December 15, 2008, 09:05:53 AM
From 2.2 onwards Abiword requires Gnomeprint and -ui to do any printing. If you don't want those, use --disable-printing (I guess that was the switch)