Quoting Ken Weingold <[EMAIL PROTECTED]> [Mar 10, 2002 18:05]:
> I am getting a new shell account where I am limited 50 megs of
> space.  Even though I use my own patched version of mutt, they
> do have it installed.  What I want to do is use the mutt binary
> from ~/bin, but use the rest of the stuff from the system
> directories.  What is the best way to do this?  I am thinking I
> guess about compile parameters, etc.

Assuming that the system on which you are building has a decent
libc and a libncurses, there should be many exteranl
dependencies.  On my boxen, I get:

$ ldd /usr/local/bin/mutt
        libncurses.so.5 => /usr/local/lib/libncurses.so.5 (0x4001c000)
        libc.so.6 => /lib/libc.so.6 (0x4005e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

and:

$ ldd /usr/local/bin/mutt-1.3.22.1 
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1

(Linux and Solaris, repsecitvely).  It looks like all of the
required files are from the system itself (other than mutt
itself).

So, build mutt with --prefix=/where/yor/isp/has/their/mutt/installed
and just copy your resulting binary to ~/bin (don't run make
install) so you can piggyback off their installed files.

(darren)

-- 
An error on your own is safer than ten truths accepted on faith,
because the first leaves you the means to correct it, but the second
destroys your capacity to distinguish truth from error.
    -- Ayn Rand

Reply via email to