User forums > Help

Help needed, configure error

(1/2) > >>

lengfeih:
Hi, I am trying to install CB 16.01 from source code. I got the following error message when running ./configure.

checking for pkg-config... yes
./configure: line 20412: PKG_PROG_PKG_CONFIG: command not found
You don't have pkg.m4 properly installed

I compile and installed the automake myself. The linux system is pretty old (Red hat Enterprise release 5.0). I don't have the root authority so I need to compile and install everything myself.

$ aclocal --print-ac-dir
/home/coldfire/Tool/share/aclocal
$ ls /home/coldfire/Tool/share/aclocal
argz.m4  libtool.m4  ltdl.m4  lt~obsolete.m4  ltoptions.m4  ltsugar.m4   ltversion.m4  pkg.m4  README  wxwin.m4

Any help will be great.
Thanks
coldfire

lengfeih:
So far, I installed the following package

1. WxWidgets 3.0.2
2. autoconf-2.68
3. automake-1.13
4. pkg-config-0.25
5. libtool-2.2

jawi:
try to run

autoreconf -vfi

in the source directory and than

./configure again.

Jan

ouch:
Your version of pkg-config is pretty old (6 years according to: https://pkg-config.freedesktop.org/releases/ )

Maybe updating it will help?

oBFusCATed:
Why don't you try to install the el5 packages from here http://codeblocks.org/downloads/26 ?
rpm supports installing packages in different prefixes than the default, so this might work for you.

Navigation

[0] Message Index

[#] Next page

Go to full version