[Vpn-devel] various bugs and fixes

Nicolas Deschildre ndeschildre at gmail.com
Tue Oct 9 10:52:41 CDT 2007


Hi,
I'm currently working on packaging the shrew soft VPN client to ubuntu :)
While playing with the cmake configuration, i encountered the
following misleading error (with  cmake -DQTGUI=YES -DNATT=YES
-DCMAKE_INSTALL_PREFIX=/usr  -DPATH_MAN:PATH=/usr -DETCDIR:PATH=/etc)
:
ec4 at ec4-desktop:~/download/ike$ sudo /usr/sbin/iked
!! : unable to open /etc
My guess is [1] :)

Another problem is that I am unable to compile with LDAP support. I
stumble against this error :
[ 51%] Building CXX object source/iked/CMakeFiles/iked.dir/ike.xauth.o
/home/ec4/download/ike/source/iked/ike.xauth.cpp: In member function
'virtual bool _IKED_XAUTH_LDAP::auth_pwd(IKE_XAUTH&)':
/home/ec4/download/ike/source/iked/ike.xauth.cpp:239: error:
'LDAP_SCOPE_ONE' was not declared in this scope
/home/ec4/download/ike/source/iked/ike.xauth.cpp: In member function
'virtual bool _IKED_XAUTH_LDAP::auth_grp(IKE_XAUTH&, BDATA&)':
/home/ec4/download/ike/source/iked/ike.xauth.cpp:373: error:
'LDAP_SCOPE_ONE' was not declared in this scope
make[2]: *** [source/iked/CMakeFiles/iked.dir/ike.xauth.o] Error 1

I am using OpenLDAP version 2.1.30.

Regards,

Nicolas Deschildre



[1]
--- conf.token.ll       2007-09-04 14:41:21.000000000 +0800
+++ conf.token.ll.new   2007-10-09 23:40:55.000000000 +0800
@@ -287,11 +287,11 @@
        yy_flex_debug = trace;
        if( !( yyin = fopen( path_conf, "r" ) ) )
        {
-               log.txt( LOG_ERROR, "!! : unable to open %s\n", path );
+               log.txt( LOG_ERROR, "!! : unable to open %s\n", path_conf );
                return false;
        }

-       log.txt( LOG_INFO, "ii : reading config %s\n", path );
+       log.txt( LOG_INFO, "ii : reading config %s\n", path_conf );

        yy::conf_parser parser( *this );
        parser.set_debug_level( trace );



More information about the vpn-devel mailing list