LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2006, 04:33 PM   #1
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
Qmail installation with CentOS


i'm trying to follow QmailRocks.org instructions for installing Qmail on my CentOS box. everything was going fine until i reached this point:

Code:
[root@localhost ~]# patch</downloads/qmailrocks/patches/ucspi-tcp-0.88.errno.patch
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -u ucspi-tcp-0.88.old/error.h ucspi-tcp-0.88/error.h
|--- ucspi-tcp-0.88.old/error.h 2000-03-18 09:18:20.000000000 -0600
|+++ ucspi-tcp-0.88/error.h     2003-01-08 13:39:12.000000000 -0600
--------------------------
File to patch:
what is the path for the file that i want to patch? i tried:

Code:
[root@localhost ~]# updatedb
[root@localhost ~]# locate ucspi*
but it coudn't find nothing. any ideas?
 
Old 11-11-2006, 09:34 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The patch command is wrong try adding the switch -p0 or maybe -p1 to it, for example;

patch -p0 < the_rest
 
Old 11-13-2006, 02:40 PM   #3
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
i tried that as well and it's coming back with the same output. i would like you to take a brief look at the page:

http://www.qmailrocks.org/qmail.htm

take a look at the first red box in the middle of the page, where it says: Patch needed for redhat users. this is where i'm stuck. I'm using CentOS 4.4 so i don't know if the patch is needed or not. is there anyway to check that?
 
Old 11-13-2006, 03:20 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Ok, after looking at this again with greater attention. It seems that the command is incomplete. You need to get the file ucspi-tcp-0.88.errno.patch downloaded to patch one file. That patch file is here; http://qmail.linocomm.net/rpms/patches/

Just download the patch and apply in the usual way (patch -p0 or -p1) from the root of the qmail source directory. Or if you want simply follow the patch an manually make the edit, basically your just replacing one line in the ucspi-tcp-0.88/error.h file.
 
Old 11-15-2006, 07:29 AM   #5
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
it was just a newbei mistake. i wasn't working from the same directory so the patch util wasn't able to find the patch file. thanks for your help. i'll try to pay more attension next time before asking.
 
  


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
NE2000 installation problem on RH/CentOS yantor Linux - Networking 5 06-12-2006 04:34 AM
Installation problems with CentOS stoneyg431 Linux - Software 6 04-08-2006 05:39 PM
CentOS installation mike30188 Linux - Newbie 3 06-24-2005 12:32 AM
Post centOS IDE Installation jrichardson Linux - Hardware 4 05-09-2005 05:13 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 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