bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] how to download mailutils sources from git for next


From: Franta Hanzlík
Subject: Re: [bug-mailutils] how to download mailutils sources from git for next offline build
Date: Sun, 16 Jul 2017 00:25:42 +0200

On Mon, 10 Jul 2017 04:53:52 +0300
Sergey Poznyakoff <address@hidden> wrote:

> Franta Hanzlík <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]