NetXMS Support Forum

English Support => General Support => Topic started by: Athesis on May 16, 2013, 06:55:46 PM

Title: Problem executing Make -> stdin:1: error: too many include directories
Post by: Athesis on May 16, 2013, 06:55:46 PM
Hi,

I have problems installing NexXMS v. 1.2.7 on Debian GNU/Linux 6.0.7 (squeeze) AMD64:

After
/configure --with-server --with-mysql --with-agent
without any errors

the make command stops with:
stdin:1: error: too many include directories
make[3]: *** [libnetxms_la-agent.lo] Fehler 1
make[3]: Leaving directory `/tmp/netxms-1.2.7/src/libnetxms'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/netxms-1.2.7/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/tmp/netxms-1.2.7'
make: *** [all] Fehler 2


Could someone help please?
Title: Re: Problem executing Make -> stdin:1: error: too many include directories
Post by: Victor Kirhenshtein on May 16, 2013, 11:12:07 PM
Hi!

Can you please attach your config.log?

Best regards,
Victor
Title: Re: Problem executing Make -> stdin:1: error: too many include directories
Post by: Victor Kirhenshtein on May 20, 2013, 10:18:24 AM
Looks like problem is found: if you have installed gpp (general-purpose preprocessor), and don't have installed g++ (GNU C++ compiler), configure script mistakenly detects gpp as C++ compiler. Solution is to install g++ package.

Best regards,
Victor
Title: Re: Problem executing Make -> stdin:1: error: too many include directories
Post by: Athesis on May 23, 2013, 06:30:23 PM
Hi,

Thanks, using g++ sloved it :)!