[ILUG] LDAP compile problem + solution

From: Aaron McDaid (Aaron.McDaid at domain compaq.com)
Date: Wed 23 Feb 2000 - 11:22:44 GMT


Yesterday, or was it the day before? someone was having problems running
make on some LDAP source and it bombed out complianing about "couldn't run
cc1plus" or something.
I don't remember anyone posting a fix so here's my suggestion:
I was flicking through a book of mine last night and saw that same problem
occuring because of confustion between egcs and gcc (egcs is a fork of gcc
that has now become the official gcc)
Basically, some makefiles only work with the "original" gcc so you should
change the code in the makefile to read "CCC=g++" instead of "CCC=gcc"
I should have taken the book into work today so I could type it straight
from the book.
Anyway, that should tell the makefile to use the right compiler. You will
probably see lines defining CC=gcc, leave them alone.

It went on to say that there are a few programs that don't like egcs either,
like KDE and some of the kernel source.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:28 GMT