custombuild: Exim build bug

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,232
Location
GMT +7.00
Code:
gcc version.c
gcc -o exim

>>> exim binary built

make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.77/build-Linux-x86_64'

Installation directory is /usr/sbin

cp exim /usr/sbin/exim-4.77-3
/bin/chown root /usr/sbin/exim-4.77-3
chmod a+x /usr/sbin/exim-4.77-3
chmod u+s /usr/sbin/exim-4.77-3
creation of symlink omitted
...
...
...

Configuration file /etc/exim.conf already exists

Exim installation complete
Moving exim binary.
mv: cannot stat `/usr/sbin/exim-4.77-1': No such file or directory
Exim 4.77 Installed.
Restarting exim.
Shutting down exim:
Starting exim:

It does

mv: cannot stat `/usr/sbin/exim-4.77-1': No such file or directory

but I've got now

/usr/sbin/exim-4.77-3

To resolve do

Code:
# mv -f /usr/sbin/exim-4.77-3  /usr/sbin/exim
# service exim restart
 
Zeiter is not for everyone -3, i saw a guy that had -2 in the file name,

maybe would be better:

Code:
mv /usr/sbin/exim-4.77-* /usr/sbin/exim
/etc/init.d/exim restart

Regards
 
Personaly I would not do that.

Code:
mv /usr/sbin/exim-4.77-* /usr/sbin/exim

So it depends on smtalk (Martynas Bendorius)

not for everyone -3, i saw a guy that had -2 in the file name

I've upgraded my exim five minutes before the current thread. So exim sorces were updated, I guess.
 
Well the only /usr/sbin/exim-* that should exist there is the binary of latest version installed... Any other should not be there...

On my server too was -3

Regards
 
This issue is now solved by John. The following change was made:
Code:
mv -f /usr/sbin/exim-${EXIM_VER}-1 /usr/sbin/exim
Is now:
Code:
EXIM_BINARY=`ls -t /usr/sbin/exim-${EXIM_VER}-* | head -n1`
mv -f ${EXIM_BINARY} /usr/sbin/exim
Thank you for the report.
 
Back
Top