Hi
Spent quite some time looking into this. Seems that recompiling is the only way. Have setup a temp station to download & compile but encountered a few problems. 1. During compilation, I've had 51 warnings -: return type of main' is not int'. Is the resultant binaries usable ?
2. Do I need to replace all qmail binaries produced by the compilation ? Seems that they are different (size) from the rpm of e-smith.
Anybody that can shed any light on this ? Thanks.
Steps that I went through
Download and install development tools
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/[root@webserv dev_tools]# /bin/rpm -Uvh --replacepkgs --nodeps *.rpm
Preparing... ########################################### [100%]
1:anaconda-runtime ########################################### [ 4%]
2:automake ########################################### [ 9%]
3:cpp ########################################### [ 13%]
4:glibc-devel ########################################### [ 18%]
5:gcc ########################################### [ 22%]
6:kernel-source ########################################### [ 27%]
7:libattr ########################################### [ 31%]
8:libacl ########################################### [ 36%]
9:libacl-devel ########################################### [ 40%]
10:libstdc++-devel ########################################### [ 45%]
11:gcc-c++ ########################################### [ 50%]
12:m4 ########################################### [ 54%]
13:autoconf ########################################### [ 59%]
14:libtool ########################################### [ 63%]
15:make ########################################### [ 68%]
16:mkisofs ########################################### [ 72%]
17:ncurses-devel ########################################### [ 77%]
18:openssl-devel ########################################### [ 81%]
19:pam-devel ########################################### [ 86%]
20:readline-devel ########################################### [ 90%]
21:rpm-python ########################################### [ 95%]
22:anaconda ########################################### [100%]
[root@webserv dev_tools]#
[root@webserv dev_tools]# /sbin/e-smith/signal-event reboot
Downloaded qmail-1.03-06.src.rpm from
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/releases/5.6/SRPMSExpanded and extracted
1.qmail-1.03.patch.2001020500
2.[qmail-1.03]
Copied all to /usr/local/src/qmail-1.03
Edited extra.h to reflect the following
1. #define QUEUE_EXTRA "Tlog\0"
2. #define QUEUE_EXTRALEN 5
[root@webserv qmail-1.03]# pwd
/usr/local/src/qmail-1.03
Applying the patch file
[root@webserv qmail-1.03]# patch -p1 < qmail-1.03.patch.2001020500
patching file Makefile
patching file hier.c
patching file install-big.c
patching file root_auto_qmail.h
[root@webserv qmail-1.03]#
Making symbolic link into the kernel sources
[root@webserv qmail-1.03]# cd /usr/include
[root@webserv include]#
[root@webserv include]# ln -s /usr/src/linux-2.4.18-3/include/asm
[root@webserv include]# ln -s /usr/src/linux-2.4.18-3/include/linux
[root@webserv include]# cd /usr/local/src/qmail-1.03
Making subdirectories
[root@webserv qmail-1.03]# mkdir root
[root@webserv qmail-1.03]# cd root
[root@webserv root]# mkdir var
[root@webserv root]# cd var
[root@webserv var]# mkdir qmail
[root@webserv var]# cd qmail
[root@webserv qmail]# pwd
/usr/local/src/qmail-1.03/root/var/qmail
[root@webserv qmail]#
[root@webserv qmail]# cd /usr/local/src/qmail-1.03
[root@webserv qmail-1.03]#
Stopping qMail
[root@webserv qmail-1.03]# /etc/rc.d/init.d/qmail stop
Stopping qmail: [ OK ]
[root@webserv qmail-1.03]#
Start Compilation
[root@webserv qmail-1.03]# make setup check