SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-08-10 00:36:07

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

[Solved] Configure error

Just tried installing openbox 3.5 from source and on ./configure I got an error

configure: error: in `/home/xn/downloads/openbox-3.5.0':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

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

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

I got this earlier when trying to configure another source package

Last edited by xeNULL (2011-08-10 17:55:19)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

Be excellent to each other!

#2 2011-08-10 00:44:38

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: [Solved] Configure error

hwo about

sudo apt-get install pkg-config

?

Offline

#3 2011-08-10 01:31:19

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [Solved] Configure error

el_koraco wrote:

hwo about

sudo apt-get install pkg-config

?

That worked thanks =] although I have another problem lol

checking pkg-config is at least version 0.9.0... yes
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.14.0) were not met:

No package 'glib-2.0' 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 GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

So I installed glib-2.0 and did ./configure again and it still shows the above message


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#4 2011-08-10 01:37:06

psyco430404
#! Die Hard
From: Las Vegas, Nevada
Registered: 2011-07-04
Posts: 804

Re: [Solved] Configure error

xeNULL wrote:
el_koraco wrote:

hwo about

sudo apt-get install pkg-config

?

That worked thanks =] although I have another problem lol

checking pkg-config is at least version 0.9.0... yes
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.14.0) were not met:

No package 'glib-2.0' 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 GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

So I installed glib-2.0 and did ./configure again and it still shows the above message

you need to get the DEV packages so you can get the headers.


"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Offline

#5 2011-08-10 08:17:06

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: [Solved] Configure error

try

sudo apt-get install build-essential

Offline

#6 2011-08-10 17:26:38

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [Solved] Configure error

el_koraco wrote:

try

sudo apt-get install build-essential

Apparently its already installed although it still wants glib-2.0. I have had a look in synaptic and libglib2 is installed.  hope my system isn't messed up.


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#7 2011-08-10 17:54:58

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [Solved] Configure error

I have installed the -dev packages that seemed to work I am now make, make installing openbox 3.5 big_smile


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo