BBS:      TELESC.NET.BR
Assunto:  Re: Citadel? Courier? Cyrus? Dovecot? - I just want to backup my emails
De:       Computer Nerd Kev
Data:     Tue, 13 Jan 2026 08:15:47 +1000
-----------------------------------------------------------
Markus Robert Kessler  wrote:
> On Mon, 12 Jan 2026 12:45:29 +0000 Daniel James wrote:
>> On 12/01/2026 06:36, Markus Robert Kessler wrote:
>>> Well, these are the BUILD dependencies - are there RUNTIME requirements
>>> also?
>> 
>> Generally (but I don't promise that it always works) if you have the dev
>>   package installed in order to meet the build requirements you not need
>> anything more at runtime.
>> 
>> There are non-dev packages that meet *only* the runtime requirements for
>> people who don't need to meet the build requirements, but if you have
>> the dev packages you don't need those as well.
> 
> B.t.w.,
> 
> how do you install all the files retrieved from compiling the tarball from 
> scratch, if you want to avoid building a deb or rpm?
> 
> Meaning, do you let "make install" write directly to the filesystem, or do 
> you pack all that files in one tar.gz and then use "alien" to transform it 
> into a deb or rpm?

If you want to install to the system then of course "make install",
if you want to make a package or just a tar file that can be
unpacked to "/" on similar systems, DESTDIR is useful:

 sudo make DESTDIR=/tmp/mailutils install-strip

That installs everything into equivalent directories under
/tmp/mailutils as when you do a "make install", with debugging info
stripped to avoid wasting space. You should still run it as root so
that the file permissions are set correctly. Then you can make a
package or tar archive from the contents of that directory for
installing to other systems running the same distro.

Note occasionally programs won't support "DESTDIR" and will then
install to "/" anyway, and also some won't understand
"install-strip" so you must use "install" instead, then run "strip"
on the binaries manually. But Mailutils supports both, as, it
seems, do all GNU projects.

-- 
__          __
#_ < |\| |< _#

--- PyGate Linux v1.5.2
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)

-----------------------------------------------------------
[Voltar]