PavelRadzevich / openvpn-auth-ldap

Automatically exported from code.google.com/p/openvpn-auth-ldap
Other
0 stars 0 forks source link

Configure error: Objective C preprocessor "/lib/cpp" fails sanity check #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use Zimbra [1] as a groupware solution and it has an ldap server
(currently openldap 2.3.42) for authentication services. I'm trying to
compile openvpn-auth-ldap on a x64 ubuntu 8.04 server so vpn users can use
the same auth information, however configure fails with the following error:

checking how to run the Objective C preprocessor... /lib/cpp
configure: error: Objective C preprocessor "/lib/cpp" fails sanity check

All references to this error on google lead to installing build-essential
as the solution, however I have it installed and still have the error.
Also, configuring/compiling other software from source works.

What steps will reproduce the problem?
1. ./configure --with-openldap=/opt/zimbra/openldap
--with-openvpn=/usr/include/openvpn

What is the expected output? What do you see instead?
Configure should finish cleanly. However it spits out an error about the
Objective C preprocessor.

What version of the product are you using? On what operating system?
2.0.3 on x64 ubuntu 8.04.

Please provide any additional information below.
Attached are configure output and config.log.

[1] http://www.zimbra.com

Original issue reported on code.google.com by gustavo....@gmail.com on 1 Oct 2008 at 7:18

Attachments:

GoogleCodeExporter commented 9 years ago
Solved by installing gobjc. Sorry for any troubles.

Original comment by gustavo....@gmail.com on 9 Oct 2008 at 1:40

GoogleCodeExporter commented 9 years ago
Issue resolved by reporter, closing.

Original comment by landon.j.fuller@gmail.com on 30 Nov 2008 at 9:10

GoogleCodeExporter commented 9 years ago
gobjc worked for me too! Thanks! ubuntu 8.04

Original comment by RicardoM...@gmail.com on 4 Dec 2008 at 11:33

GoogleCodeExporter commented 9 years ago
Thanks for the solution ... can we have this noted as a dependance?

Original comment by trenton....@gmail.com on 25 Mar 2011 at 8:15

GoogleCodeExporter commented 9 years ago
I'm getting the same error on my FreeBSD 9.2-RELEASE-p1 amd64 box!

Attached are configure output and config.log.

Original comment by matheusw...@gmail.com on 30 Oct 2013 at 11:06

Attachments:

GoogleCodeExporter commented 9 years ago
same error came up to me too, when trying to configure this plugin on centOS 6, 
even though I had gcc already installed.
Installing gcc-objc solved the problem.
thanks

Original comment by alextasi...@gmail.com on 27 Jan 2014 at 1:43