DeanW
26th June 2006, 06:43 AM
I need help recompiling qmail...
Plesk 8 qmail patches (http://kb.swsoft.com/attachments/1161/qmail_patches.tar.gz)
Plesk v7.5.4 qmail patches (http://kb.swsoft.com/attachments/1088/qmail_patches.tgz)
qmail 1.03 source (http://cr.yp.to/software/qmail-1.03.tar.gz)
Downloaded all to /usr/src
tar xzf qmail-1.03.tar.gz
tar xzf qmail_patches.tar.gz
As per this article (http://tomclegg.net/qmail-linux) I attempted to add the patches...
cd qmail-1.03
for d in ../qmail-patches/patch*; do patch <"$d"; done
Then compile qmail...
make setup check
I get an error
./chkspawn
Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors.
This means that the qmail daemons could crash if you set the run-time
concurrency higher than 509. So I'm going to insist that the concurrency
limit in conf-spawn be at most 509. Right now it's 1000.
make: *** [spawn.o] Error 1
So I modify conf-spawn to 509 instead of 1000...
make setup check
I get an error
./compile qmail-remote.c
In file included from qmail-remote.c:53:
tls.h:4:25: openssl/ssl.h: No such file or directory
In file included from qmail-remote.c:53:
tls.h:7: error: syntax error before '*' token
tls.h:7: warning: data definition has no type or storage class
tls.h:9: error: syntax error before '*' token
In file included from qmail-remote.c:54:
ssl_timeoutio.h:4:25: openssl/ssl.h: No such file or directory
ssl_timeoutio.h:8:3: #error "Need OpenSSL version at least 0.9.6"
Checked for openssl
rpm -qa | grep openssl
openssl-0.9.7a-35
Of course I have openssl, but apparently need libs from somewhere...
Downloaded openssl source corresponding to my RPM version from here (http://www.openssl.org/source/openssl-0.9.7a.tar.gz).
Created the apparent folder
mkdir openssl
Copied the 'include' files...
cd openssl
cp -L /usr/src/openssl-0.9.7a/include/openssl/* .
And still the same error about not being able to find include files in the openssl dir... I checked the conf-* files and there are no config options for this dir... also it concerns me that the users in conf-users are not the same plesk uses - won't this break things?
Thanks for any direction.
Plesk 8 qmail patches (http://kb.swsoft.com/attachments/1161/qmail_patches.tar.gz)
Plesk v7.5.4 qmail patches (http://kb.swsoft.com/attachments/1088/qmail_patches.tgz)
qmail 1.03 source (http://cr.yp.to/software/qmail-1.03.tar.gz)
Downloaded all to /usr/src
tar xzf qmail-1.03.tar.gz
tar xzf qmail_patches.tar.gz
As per this article (http://tomclegg.net/qmail-linux) I attempted to add the patches...
cd qmail-1.03
for d in ../qmail-patches/patch*; do patch <"$d"; done
Then compile qmail...
make setup check
I get an error
./chkspawn
Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors.
This means that the qmail daemons could crash if you set the run-time
concurrency higher than 509. So I'm going to insist that the concurrency
limit in conf-spawn be at most 509. Right now it's 1000.
make: *** [spawn.o] Error 1
So I modify conf-spawn to 509 instead of 1000...
make setup check
I get an error
./compile qmail-remote.c
In file included from qmail-remote.c:53:
tls.h:4:25: openssl/ssl.h: No such file or directory
In file included from qmail-remote.c:53:
tls.h:7: error: syntax error before '*' token
tls.h:7: warning: data definition has no type or storage class
tls.h:9: error: syntax error before '*' token
In file included from qmail-remote.c:54:
ssl_timeoutio.h:4:25: openssl/ssl.h: No such file or directory
ssl_timeoutio.h:8:3: #error "Need OpenSSL version at least 0.9.6"
Checked for openssl
rpm -qa | grep openssl
openssl-0.9.7a-35
Of course I have openssl, but apparently need libs from somewhere...
Downloaded openssl source corresponding to my RPM version from here (http://www.openssl.org/source/openssl-0.9.7a.tar.gz).
Created the apparent folder
mkdir openssl
Copied the 'include' files...
cd openssl
cp -L /usr/src/openssl-0.9.7a/include/openssl/* .
And still the same error about not being able to find include files in the openssl dir... I checked the conf-* files and there are no config options for this dir... also it concerns me that the users in conf-users are not the same plesk uses - won't this break things?
Thanks for any direction.