Cisco VPN - Unable to install!!!

Anything that pertains to Portage

Moderator: Moderators

Cisco VPN - Unable to install!!!

Postby renato » Sun Oct 14, 2007 20:45


I am testing Sabayon Linux 3.4 but am not able to install Cisco VPN client 4.8.
Here is what I get during the install:

sabayon vpnclient # ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.
Directory where binaries will be installed [/usr/local/bin]
Automatically start the VPN service at boot time [no]yes
Directory containing runlevel directories (rcX.d): []/etc/init.d
In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.
Directory containing linux kernel source code [/lib/modules/2.6.22-sabayon/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.22-sabayon/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.22-sabayon/build" will be used to build the module.
* Runlevels will be set in "/etc/init.d".

Is the above correct [y]

Making module
make -C /lib/modules/2.6.22-sabayon/build SUBDIRS=/opt/vpn/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.22-sabayon'
CC [M] /opt/vpn/vpnclient/linuxcniapi.o
/opt/vpn/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
/opt/vpn/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/opt/vpn/vpnclient/linuxcniapi.c:297: warning: implicit declaration of function ‘skb_set_timestamp’
/opt/vpn/vpnclient/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
/opt/vpn/vpnclient/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
/opt/vpn/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/opt/vpn/vpnclient/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
/opt/vpn/vpnclient/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
/opt/vpn/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
/opt/vpn/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/opt/vpn/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/opt/vpn/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-sabayon'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Can somebody pls help me.

Baby Hen
Posts: 1
Joined: Sun Oct 14, 2007 20:37

Re: Cisco VPN - Unable to install!!!

Postby gaffu » Mon Oct 15, 2007 18:34

I don't know if it is the same vpn client, but in portage you can find this one: net-misc/cisco-vpnclient-3des
Maybe it's easier to install with portage:

Code: Select all
emerge -va net-misc/cisco-vpnclient-3des

Are you sure you have linux headers installed (the package is called sys-kernel/linux-headers)? If not try

Code: Select all
emerge -va =sys-kernel/linux-headers-2.6.22-r2

and then rebuild your cisco module.

Anyway I always have trouble installing the proprietary client. An easier way is to install the open source client, it is in portage and is called vpnc. Works fine for me...
Growing Hen
Posts: 110
Joined: Tue Jan 23, 2007 16:16

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests