Franta Hanzlík
2017-06-10 11:24:19 UTC
Please, what is best way for preparing mailutils package for subsequent
build on destination machine, where is only minimal build system (gcc +
devel libraries)? I thin somthin as project has already in its archive:
ftp://download.gnu.org.ua/pub/alpha/mailutils/mailutils-3.2.91.tar.xz
which has only 2.7 MB size!
What I tried:
I must download sources from git (need actual version), thus I did:
git clone git://git.savannah.gnu.org/mailutils.git mailutils
I got mailutils sources, it's have ~ 32 MB size, but there aren't some
needed files (./configure, .po files, maybe other). Thus I (IMO) must
run ./bootstrap
bootstrap script performs tons of downloads, some of them:
Cloning into 'doc/imprimatur'
Cloning into 'gint'
Cloning into 'gnulib' <= why? When I gave '--gnulib-srcdir'
wget 'm4/radius.m4'
Resulted mailutils-3.2.91-git263e2e9f directory has size 154 MB, and even
when I tar it excluding git stuff:
tar cf mailutils-3.2.91-git.tar --exclude-vcs mailutils-3.2.91-git263e2e9f
it has ~ 65 MB size; with xz compression it has 6.2 MB size - still much
more than 2.7 MB size.
I have already installed "gnulib-devel" package, which has dir structure
as:
/usr/bin/{check-module,gnulib-tool}
/usr/share/doc/gnulib-0/
/usr/share/gnulib/
/usr/share/gnulib/build-aux/
/usr/share/gnulib/config/
/usr/share/gnulib/lib/
/usr/share/gnulib/m4/
/usr/share/gnulib/modules/
/usr/share/gnulib/tests/
/usr/share/man/man1/{check-module.1.gz,gnulib-tool.1.gz}
thus I tried to reduce package size by referring to gnulib with
'--gnulib-srcdir' bootstrap option. It seems as bootstrap want gnulib-tool
to be in directory pointed by --gnulib-srcdir option (/usr/bin/ in my
case). Thus I run:
./bootstrap --gnulib-srcdir=/usr/bin --no-git --no-bootstrap-sync
or
./bootstrap --gnulib-srcdir=/usr/bin --no-bootstrap-sync
Despite it, bootstrap script still do lot of downloads, including gnulib,
and at end it fail. Outputs from both these bootstraps runs are attached.
How should I do that minimal tarbal, with ./configure for my system
autoconf, with .po files, radius.m4 and all needed files for mailutils
build - and withou other balast?
Thanks, Franta
--
I hope the Fedora will have a better init and no binary logs
build on destination machine, where is only minimal build system (gcc +
devel libraries)? I thin somthin as project has already in its archive:
ftp://download.gnu.org.ua/pub/alpha/mailutils/mailutils-3.2.91.tar.xz
which has only 2.7 MB size!
What I tried:
I must download sources from git (need actual version), thus I did:
git clone git://git.savannah.gnu.org/mailutils.git mailutils
I got mailutils sources, it's have ~ 32 MB size, but there aren't some
needed files (./configure, .po files, maybe other). Thus I (IMO) must
run ./bootstrap
bootstrap script performs tons of downloads, some of them:
Cloning into 'doc/imprimatur'
Cloning into 'gint'
Cloning into 'gnulib' <= why? When I gave '--gnulib-srcdir'
wget 'm4/radius.m4'
Resulted mailutils-3.2.91-git263e2e9f directory has size 154 MB, and even
when I tar it excluding git stuff:
tar cf mailutils-3.2.91-git.tar --exclude-vcs mailutils-3.2.91-git263e2e9f
it has ~ 65 MB size; with xz compression it has 6.2 MB size - still much
more than 2.7 MB size.
I have already installed "gnulib-devel" package, which has dir structure
as:
/usr/bin/{check-module,gnulib-tool}
/usr/share/doc/gnulib-0/
/usr/share/gnulib/
/usr/share/gnulib/build-aux/
/usr/share/gnulib/config/
/usr/share/gnulib/lib/
/usr/share/gnulib/m4/
/usr/share/gnulib/modules/
/usr/share/gnulib/tests/
/usr/share/man/man1/{check-module.1.gz,gnulib-tool.1.gz}
thus I tried to reduce package size by referring to gnulib with
'--gnulib-srcdir' bootstrap option. It seems as bootstrap want gnulib-tool
to be in directory pointed by --gnulib-srcdir option (/usr/bin/ in my
case). Thus I run:
./bootstrap --gnulib-srcdir=/usr/bin --no-git --no-bootstrap-sync
or
./bootstrap --gnulib-srcdir=/usr/bin --no-bootstrap-sync
Despite it, bootstrap script still do lot of downloads, including gnulib,
and at end it fail. Outputs from both these bootstraps runs are attached.
How should I do that minimal tarbal, with ./configure for my system
autoconf, with .po files, radius.m4 and all needed files for mailutils
build - and withou other balast?
Thanks, Franta
--
I hope the Fedora will have a better init and no binary logs