Re: how to download mailutils sources from git for next offline build

Franta Hanzlík <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization Klempaku klempeni
Message-ID <[email protected]>
On Mon, 10 Jul 2017 04:53:52 +0300
Sergey Poznyakoff <[email protected]> wrote:

> Franta Hanzlík <[email protected]> ha escrit:
>  
> > But is this way of manually adding the path correct/optimal?  
> 
> It is quiet correct.
> 
> > Should not solve this automatically ./bootstrap or ./configure itself?  
> 
> It could be figured out by configure.

After looking to some other packages it seems as it should be solved
 automatically - these paths for i386 and x86_64 are known.
In mailutils case perhaps sufficient should be patch:


--- configure.ac_OLD    2017-07-15 14:17:29.000000000 +0200
+++ configure.ac        2017-07-15 21:25:37.560452692 +0200
@@ -843,7 +843,7 @@
                 MU_SQL_LDADD(MYSQLLIBS, $mu_cv_lib_mysqlclient)
                  status_mysql=yes ],
               [ AC_MSG_FAILURE([The requested library libmysqlclient is not found or is unusable])],
-               [/usr/local/lib/mysql /usr/lib/mysql])
+               [${libdir}/mysql /usr/local/lib/mysql /usr/lib/mysql])
 }
 
 AC_ARG_WITH(mysql,
@@ -867,7 +867,7 @@
                 MU_SQL_LDADD(POSTGRESLIBS, $mu_cv_lib_pq)
                  status_pgsql=yes ],
               [ AC_MSG_FAILURE([The requested library libpq is not found or is unusable])],
-               [/usr/local/pgsql/lib /usr/pgsql/lib])
+               [${libdir}/pgsql/lib /usr/local/pgsql/lib /usr/pgsql/lib])
 }
 
 AC_ARG_WITH(postgres,


Using it and with '--libdir=/usr/lib64' ./configure option I was able build
mailutils also on Fedora 25/x86_64 systems.

Regards, Franta
--
I hope the Fedora will have a better init and no binary logs

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.