Pavel Zagalsky
Pavel Zagalsky

Reputation: 1636

How to run ./Configure to compile an application on Mac OS?

I am trying to install this application on my Mac and according to the readme file I should start with ./configure command. But if I do that I get a

./configure: command not found

error.

This is the application I am trying to install: http://cgit.sukimashita.com/ideviceinstaller.git/

Upvotes: 5

Views: 14551

Answers (5)

Napster Scofield
Napster Scofield

Reputation: 1289

You simply need to reinstall autoconf (I am using Mac Os)

use this command and try again, it should work

brew install autoconf

Upvotes: 3

hezll
hezll

Reputation: 37

try:

chmod 777 configure
./configure

never use sudo ./configure

I solve this problem on mac

xampp php7.0.* when I try to install php intl

but if fail to install it.

Upvotes: 0

Norman Gray
Norman Gray

Reputation: 12514

If you're trying to build this from a distribution, as opposed to running it from a checkout, then you should have a file configure in the unpacked distribution. The distribution appears to be available from the library's home page; your link pointed to the source repository.

You need to run that command ./configure while you are in the directory which contains that file (the . in the command means 'run the script in this directory').

Building from a repository is generally more complicated than building from a distribution, because the person rolling the distribution has to perform steps such as generating this configure script (as the other answers discuss), and possibly generating other code. You should build from a pre-prepared distribution unless you have a particular reason not to.

Upvotes: 0

Murad Tagirov
Murad Tagirov

Reputation: 816

Please try to run "autogen.sh" first. This will create configure file. And then try to run "./configure".

Upvotes: 3

tripleee
tripleee

Reputation: 189357

You need to (install and) run autoconf to generate the configure script.

Maybe submit a bug report about the incomplete building instructions.

Upvotes: 1

Related Questions