
| ||
| ||
| In this how-to, we'll outline how to install a fresh exim binary for your system. First, ensure you have the dependencies for exim. Debian apt-get install libdb4.8-dev libperl-dev libsasl2-dev CentOS:yum install db4-devel cyrus-sasl-devel perl-ExtUtils-Embed FreeBSD:pkg_add -r cyrus-sasl2 The simplest method is to use custombuild: cd /usr/local/directadmin/custombuild See below for possible errors and solutions. If you want more control, instead of using custmbuild,you can do a manual compile. We'll use exim 4.80.1 for this example. Change all occurances of 4.80.1 to the version you want to use. wget http://files.directadmin.com/services/custombuild/exim-4.80.1.tar.gz cp -f /usr/sbin/exim-4.80.1-1 /usr/sbin/exim Remember to restart exim after you're finished. **Note: If you can't download the exim-4.76.tar.gz from the above link, just go to www.exim.org and find a different link there. It's the original source, unmodified by us, you can get it anywhere. You may need to edit the Local/Makefile and remove the iconv section near the top: HAVE_ICONV=no if you see this error rfc2047.o: In function `rfc2047_decode2': If you get perl errors during the compile, you may need to edit the Local/Makefile, and set the values for: PERL_CC, PERL_CCOPTS, and PERL_LIBS. You can generate the values for those options with the following code: echo "PERL_CC=`/usr/bin/perl -MConfig -e 'print $Config{cc}'`"; \ PERL_CC=cc PERL_CC=cc apt-get build-dep exim4 to install all dependancies that exim needs to compile, without installing the apt-get version of exim itself.Debian 5 requires the libperl5.10 module. If you don't have it: apt-get install libperl5.10 The above code will resolve the error:exim: error while loading shared libraries: libperl.so.5.10: cannot open shared object file: No such file or directory | ||
| Related Helpfiles | ||
| How to update your exim.conf | ||
| How To Update exim using a source rpm (src.rpm) | ||
| perl.o: In function `call_perl_cat': undefined reference to `Perl_Gthr_key_ptr' | ||
| How to compile pcre from source |
![]()
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST