From: Lars Hecking (lhecking at domain nmrc.ucc.ie)
Date: Mon 21 Feb 2000 - 22:17:14 GMT
David Ryan writes:
> Can anyone who knows anything about Makefiles help please ?
> I am trying to install kldap (which is supposed to be a graphical LDAP
> directory browser) and have hit a glitch when editing the Makefile.
> The original file had "CC = c++" which I changed to "CC = gcc" since the
> original didn't work and I remembered from looking through (but not
> understanding) other Makefiles that "gcc" seemed to be a good thing.
While "gcc" will compile C++ sources just like "c++", it won't link
them without additional libraries. It's really better to let c++
figure it out.
> Anyway, after getting all the incude files to include I am now faced
> with the following error -
> pooter:/kldap # make
> gcc -c -Wall -O2 -I/usr/lib/qt/include -I/usr/X11R6/include -I/opt/kde/include -I/usr/local/include -I/usr/include/g++-2.7 kldap.cpp
> gcc: installation problem, cannot exec `cc1plus': No such file or directory
> make: *** [kldap.o] Error 1
> Any ideas ?
You have no C++ compiler installed. If you're running RedHat 6.1, you
need to install the following rpm's:
On other systems, you'll likely need other packages.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:28 GMT