propcgamer
Verified User
- Joined
- Dec 27, 2005
- Messages
- 148
How come exim isn't part of custombuild?
Should be safe then, but just to bu sure I used the manual upgrade, so I could put the 2 lines in the Makefile.
Your welcome. Remember to change the config file too if you want to make use of the features of the new Exim version.
You can find that here: http://help.directadmin.com/item.php?id=51
Make a backup of your existing exim.conf first, so you can put your custom settings back if any.
Is there a post somewhere showing that CustomBuild now includes those 2 lines in the makefile? If so, I'm somehow missing it.Should be safe then, but just to bu sure I used the manual upgrade, so I could put the 2 lines in the Makefile.
To what features are you referring?Your welcome. Remember to change the config file too if you want to make use of the features of the new Exim version.
So there must be some new settings and enhancements, correct?Directadmin said:To make use of the newest exim settings and enhancements, you can update your exim.conf by running the following as root:
No but there are several comments that the problem would only occur on Exim versions lower then 4.72, also on a Dutch forum.Is there a post somewhere showing that CustomBuild now includes those 2 lines in the makefile?
For the people running into some issues with installing the centos src.rpm, some copy/paste ready scripts:
CentOS 5.x
Code:cd /usr/local/directadmin/scripts/packages wget http://files.directadmin.com/services/da_exim-4.72-1.src.rpm yum -y install pcre pcre-devel rpmbuild --rebuild --force da_exim-4.72-1.src.rpm && rpm -Uvh /usr/src/redhat/RPMS/*/da_exim-4.72-1.*.rpm /etc/init.d/exim restart
gcc exim_dbmbuild.c
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:540: error: expected specifier-qualifier-list before ‘DB’
exim_dbmbuild.c: In function ‘main’:
exim_dbmbuild.c:150: error: ‘DB’ undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: ‘d’ undeclared (first use in this function)
exim_dbmbuild.c:151: error: ‘DBT’ undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ‘;’ before ‘key’
exim_dbmbuild.c:213: error: ‘DB_HASH’ undeclared (first use in this function)
exim_dbmbuild.c:295: error: ‘content’ undeclared (first use in this function)
exim_dbmbuild.c:298: error: ‘key’ undeclared (first use in this function)
exim_dbmbuild.c:298: error: ‘R_NOOVERWRITE’ undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.72/build-Linux-i386'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.77109 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.77109 (%build)
These directions worked fine for me on a centos 4 box.
wget http://files.directadmin.com/services/da_exim-4.72-1.src.rpm
rpmbuild --rebuild --force da_exim-4.72-1.src.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/da_exim-4.72-1.i386.rpm
/sbin/service exim restart
gcc exim_dbmbuild.c
In file included from exim_dbmbuild.c:33:
exim.h:430:18: pcre.h: No such file or directory
In file included from exim.h:440,
from exim_dbmbuild.c:33:
globals.h:78: error: syntax error before '*' token
globals.h:78: warning: data definition has no type or storage class
# yum list pcre*
Setting up repositories
Reading repository metadata in from local files
Installed Packages
pcre.i386 4.5-4.el4_6.6 installed
pcre-devel.i386 4.5-4.el4_6.6 installed
# yum provides pcre.h
Searching Packages:
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
Importing Additional filelist information for packages
pcre-devel.i386 4.5-4.el4_6.6 base
Matched from:
/usr/include/pcre/pcre.h
pcre-devel.i386 4.5-4.el4_6.6 installed
Matched from:
/usr/include/pcre/pcre.h
Hello again,
During the rpm rebuild of src.rpm on CentOS 4.8, I got the following error due to pcre.h not found:
It is strange, since pcre* package are installed, and pcre.h exists.
Any idea? Maybe exim.h need to use #include "pcre.h" instead of #include <pcre.h>?