Well on CentOS5 after I run:
Code:
1. chown cpanel:cpanel /usr/local/cpanel/rpm-build/tmp
2. /scripts/courierup --force --source
I'v got:
(root)>/scripts/courierup --force --source
courier-imap Setup Script Version 1.0
Fetching version information from http://updates.cpanel.net/courierinstall/version (CURRENT)....Fetching http://updates.cpanel.net/courierinstall/version (0)....@xxx.xxx.xxx.xxx......connected......receiving...100%......Done
Done
This is the courier-authlib 0.57 installer release number 6cp
Using newyum support..
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
Resetting courier-authlib to cPanel Defaults and Installing the Latest Version
usermod: invalid numeric argument 'compiler'
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
Building RPM....Done
Rpm failed to build! Please recall courierup with --source --verbose to find out why at /scripts/courierup line 462.