LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2008, 02:34 AM   #1
bakhanbeigi
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
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
 
Old 08-21-2008, 10:09 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
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
 
Old 08-22-2008, 06:16 AM   #3
bakhanbeigi
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mjmwired View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTPD CentOS 5 - Issues with Shorewall CoMMy Linux - General 0 08-10-2008 10:12 AM
Installing CentOS 5.1 kg4ibj Linux - Newbie 17 04-21-2008 02:29 AM
Installing R on CentOS 4.5 vital_101 Linux - Software 1 10-16-2007 10:24 AM
Installing CentOS easy_bill Linux - Newbie 5 10-02-2006 09:47 PM
Installing CentOS robyne Linux - Newbie 2 06-24-2005 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration