Code::Blocks Forums
User forums => Help => Topic started by: lengfeih on November 23, 2016, 05:32:57 pm
-
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
-
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
-
try to run
autoreconf -vfi
in the source directory and than
./configure again.
Jan
-
Your version of pkg-config is pretty old (6 years according to: https://pkg-config.freedesktop.org/releases/ )
Maybe updating it will help?
-
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.
-
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.
I just tried it, and it does not work, because it's not relocatable.
-
autoreconf -vfi
./configure again.
I know its an old topic, but I also had a configure problem (not found src/include/Makefile.in") and make clean and update did not help. But running "autorecong -vfi" did the trick, then configure worked find.
Thanks!