Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

./configure && make install failed

Good Morning While i'm installing RabbitMQ libraries, I found a problem:

autoreconf -i && ./configure && make && sudo make install

But ./configure stop at this position:

checking for gcc option to accept ISO C99... -std=gnu99
./configure: line 11104: syntax error near unexpected token `0.17'
./configure: line 11104: `PKG_PROG_PKG_CONFIG(0.17)'
like image 424
Osin Toumani Avatar asked Apr 22 '13 12:04

Osin Toumani


People also ask

What do you mean by configuring?

to arrange something or put its parts together in a particular form or arrangement: Online buyers can build their own version of the car: many of the company's customers configure their own vehicles. The marines used specially configured submarines. computing specialized.

What is another word for configure?

In this page you can discover 23 synonyms, antonyms, idiomatic expressions, and related words for configure, like: setup, build, customize, structure, form, compose, pattern, make, router, shape and install.

What is to configure a device?

1) In computers and computer networks, a configuration often refers to the specific hardware and software details in terms of devices attached, capacity or capability, and exactly what the system is made up of. 2) In networks, a configuration often means the network topology.

What is configuration example?

When artwork is laid out in order to maximize the connections between the pieces, this is an example of configuration. When you try to set up your computer hardware and software to work the way you want such as adding a wireless mouse and keyboard, this is an example of configuration.


1 Answers

your autotools project uses pkg-config, but it seems that you either don't have that installed at all or you are lacking the "pkg-config <-> autotools" glue (pkg.m4), which provides the PKG_PROG_PKG_CONFIG macro.

if this is true, then the autoreconf -i should have complained when recreating configure (though probably only as a non-fatal warning) -> check your build-logs.

you should be able to fix this by installing pkg-config

NOTE: generally, if you get an error it's good to break down the problem into sub-problems. since you are really calling four different tasks (autoreconf, ./configure and make and sudo make install), you might want to execute them one by one and see where it actually fails (in your case: the 2nd tasks), and what the prior steps indicated (the autoreconf-call).

like image 193
umläute Avatar answered Sep 23 '22 11:09

umläute