login as: root
[root@vpn ~]# yum install openvpn
Loaded plugins: fastestmirror
Determining fastest mirrors
* addons: ftp.plusline.de
* base: ftp.plusline.de
* extras: ftp.plusline.de
* updates: ftp.plusline.de
addons | 951 B 00:00
addons/primary | 203 B 00:00
base | 2.1 kB 00:00
base/primary_db | 2.0 MB 00:00
extras | 2.1 kB 00:00
extras/primary_db | 206 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 760 kB 00:00
Setting up Install Process
No package openvpn available.
Nothing to do
[root@vpn ~]#
2010/4/10 Les Mikesell <lesmikesell@xxxxxxxxx>
cahit Eyigünlü wrote:What are you trying to accomplish here? It looks like you are mixing a horrible
> still the same :(
>
> [root@vpn VpnSetup]# rpmbuild -tb openvpn-2.1.1.tar.gz
>
> hata: Failed build dependencies:
>
> pkcs11-helper-devel is needed by openvpn-2.1.1-1.x86_64
>
> [root@vpn VpnSetup]# dir
>
> =
> lzo-devel-2.02-3.el5.kb.i386.rpm pkcs11-helper-1.06.tar.bz2.1
>
> libopenssl-devel-0.9.8k-3.4_3.7.1.x86_64.delta.rpm
> lzo-devel-2.02-3.el5.kb.i386.rpm.1 pkcs11-helper-1.06.tgz
>
> libopenssl-devel-0.9.8m-1.2.i586.rpm
> lzo-devel-2.02-3.el5.kb.x86_64.rpm.html pkcs11-helper-1.07-5.3.src.rpm
>
> lzo-1.08-4.2.el5.rf.x86_64.rpm
> minilzo-2.03.tar.gz pkcs11-helper-1.07.tar.bz2
>
> lzo-1.08-4.rf.src.rpm
> openssl-1.0.0.tar.gz
> pkcs11-helper-devel-1.06-2.1.x86_64.rpm
>
> lzo-devel-1.08-2.el4.i386.rpm
> openvpn-2.1.1 rpm-3.0.6-4.i386.rpm
>
> lzo-devel-1.08-4.1.el3.rf.i386.rpm openvpn-2.1.1.tar.gz
>
> lzo-devel-1.08-4.2.el5.rf.x86_64.rpm
> pkcs11-helper-1.06.tar.bz2
>
> i think
mess of rpms from different repositories and source tarballs. If you just want
openvpn, set up yum to use the EPEL repository,
yum install openvpn
and you are done. Generally speaking, you can use yum with one (and only one)
3rd party repository without a lot of trouble and it will take care of all
dependencies. If you start mixing things from different 3rd party repos you
will run into many dependency problems but it is still usually easier to work
around them than to build source tarballs and keep them up to date yourself.
--
Les Mikesell
lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos