LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   installing pptpd on centOs (http://www.linuxquestions.org/questions/linux-networking-3/installing-pptpd-on-centos-664263/)

bakhanbeigi 08-21-2008 02:34 AM

installing pptpd on centOs
 
Hi
I try to install pptpd on cent os :
Code:

[root@uk ~]# rpm -ivh pptpd-1.3.0-0.i386.rpm
error: Failed dependencies:
        ppp >= 2.4.3 is needed by pptpd-1.3.0-0.i386

so I download the source of ppp package and try to install that :
Code:

[root@uk ppp-2.4.4]# ./configure
Configuring for Linux
Creating Makefiles.
  Makefile <= linux/Makefile.top
  pppd/Makefile <= pppd/Makefile.linux
  pppstats/Makefile <= pppstats/Makefile.linux
  chat/Makefile <= chat/Makefile.linux
  pppdump/Makefile <= pppdump/Makefile.linux
  pppd/plugins/Makefile <= pppd/plugins/Makefile.linux
  pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux
  pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux
  pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux
[root@uk ppp-2.4.4]# [root@uk ppp-2.4.4]# ./configure

and then make

Code:

[root@uk ppp-2.4.4]# make
cd chat; make  all
make[1]: Entering directory `/root/ppp-2.4.4/chat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ppp-2.4.4/chat'
cd pppd/plugins; make  all
make[1]: Entering directory `/root/ppp-2.4.4/pppd/plugins'
for d in rp-pppoe pppoatm radius; do make -w -C $d all; done
make[2]: Entering directory `/root/ppp-2.4.4/pppd/plugins/rp-pppoe'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ppp-2.4.4/pppd/plugins/rp-pppoe'
make[2]: Entering directory `/root/ppp-2.4.4/pppd/plugins/pppoatm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ppp-2.4.4/pppd/plugins/pppoatm'
make[2]: Entering directory `/root/ppp-2.4.4/pppd/plugins/radius'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ppp-2.4.4/pppd/plugins/radius'
make[1]: Leaving directory `/root/ppp-2.4.4/pppd/plugins'
cd pppd; make  all
make[1]: Entering directory `/root/ppp-2.4.4/pppd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ppp-2.4.4/pppd'
cd pppstats; make  all
make[1]: Entering directory `/root/ppp-2.4.4/pppstats'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ppp-2.4.4/pppstats'
cd pppdump; make  all
make[1]: Entering directory `/root/ppp-2.4.4/pppdump'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ppp-2.4.4/pppdump'

make install
Code:

root@uk chat]# make install
mkdir -p /usr/local/sbin /usr/local/share/man/man8
install -s -c chat /usr/local/sbin
install -c -m 644 chat.8 /usr/local/share/man/man8

But I can not install yet
Code:

[root@uk ~]# rpm -ivh pptpd-1.3.0-0.i386.rpm
error: Failed dependencies:
        ppp >= 2.4.3 is needed by pptpd-1.3.0-0.i386


mjmwired 08-21-2008 10:09 PM

If you install by source, then that installed package will NOT show up in the RPM package database.
It you install an application by RPM, the rpm command will always check the RPM database package for dependencies.

To install 'ppp', run the following as root (when you are connected to the internet):
yum install ppp

Also, you can read this:
http://www.centos.org/modules/newbb/...&post_id=29865

bakhanbeigi 08-22-2008 06:16 AM

Quote:

Originally Posted by mjmwired (Post 3255543)
If you install by source, then that installed package will NOT show up in the RPM package database.
It you install an application by RPM, the rpm command will always check the RPM database package for dependencies.

To install 'ppp', run the following as root (when you are connected to the internet):
yum install ppp

Also, you can read this:
http://www.centos.org/modules/newbb/...&post_id=29865

my ppp version in yum is 2.4.2 I need 2.4.3 or upper

Code:


[root@uk ~]# yum list ppp
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Available Packages
ppp.i386                                2.4.2-6.4.RHEL4        base

how can I upgrade yum package list version?
I do somethings like this but the version is old yet

Code:

[root@uk ~]# yum update
Setting up Update Process
Setting up repositories
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
No Packages marked for Update/Obsoletion



[root@uk ~]# yum upgrade
Setting up Upgrade Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
No Packages marked for Update/Obsoletion



All times are GMT -5. The time now is 07:38 PM.