Make upgrade doesn't copy new binaries

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Make upgrade doesn't copy new binaries

Peter Lindgren
Hello, I have compiled 3.3.1 from sources with a few extra options, on OpenBSD 6.3.
I run make upgrade because I have an existing installation (from packages) whose configuration I want to keep.
I run make upgrade as root, it prints a lot but no errors as far as I can tell. I have run postfix stop as root prior to the make upgrade command.
The binaries are not replaced, and in the maillog postfix logs 3.3.0 when I start using postfix start.

Any pointers on where to start looking?

Thanks,
Peter

--
Peter Lindgren, Kazoku IT AB, Vasagatan 43A, 411 37 Göteborg
+46-703 39 39 40
Skickat från mobilen, ha överseende med stavning och formatering.

Reply | Threaded
Open this post in threaded view
|

Re: Make upgrade doesn't copy new binaries

Wietse Venema
Peter Lindgren:
> Hello, I have compiled 3.3.1 from sources with a few extra options, on OpenBSD 6.3.
> I run make upgrade because I have an existing installation (from packages) whose configuration I want to keep.
> I run make upgrade as root, it prints a lot but no errors as far as I can tell. I have run postfix stop as root prior to the make upgrade command.
> The binaries are not replaced, and in the maillog postfix logs 3.3.0 when I start using postfix start.
>
> Any pointers on where to start looking?

What is the output from "make upgrade"?

$ script
$ make upgrade
$ exit
$ less typescript

Are the pathnames as expected?

I suspect that a Postfix was installed in a different place,
because of differences in the built-in config_directory.
That means did not use old main.cf file.

If that is the case you need to override the config_directory
at BUILD time, as described in the INSTALL file section 4.6:

$ make makefiles config_directory=/some/where ...other arguments...
$ make

        Wietse