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 Thu, 06 Jul 2017 22:21:06 +0300
Sergey Poznyakoff <[email protected]> wrote:

> Franta Hanzlík <[email protected]> ha escrit:
> 
> > Attached are outputs from configure and make  
> 
> Thanks.  Please do the following:
> 
> 1. git pull
> 2. make maintainer-clean
> 3. ./bootstrap
> 4. ./configure
> 5. make
> 

I'm far ahead, but there are still some little problem:

I did 'git clone', not 'git pull' (which I don't know, I know only clone),
and I got mailutils-3.2.93 commit 8d892095.

- ./bootstrap, ./configure and make ends OK on my F19/i686 machine.

- but when I tried to build mailutils on my F25/x86_64 server, ./configure
ends with error:
...
checking for struct sockaddr_in6... yes
checking for struct addrinfo... yes
checking for getnameinfo... yes
checking for wcwidth... (cached) yes
checking fribidi/fribidi.h usability... yes
checking fribidi/fribidi.h presence... yes
checking for fribidi/fribidi.h... yes
checking for fribidi_log2vis in -lfribidi... yes
checking for mysql_real_connect in -lmysqlclient... no
configure: error: in `/home/hanzlik/tmp/mailutils-3.2.93':
configure: error: The requested library libmysqlclient is not found or is unusable
See `config.log' for more details

which is perhaps because my libmysqlclient.so (mariadb-devel-10.1.24-3.fc25.x86_64)
is in /usr/lib64/mysql/ :
$ ls -l /usr/lib64/mysql/libmysqlclient.so 
lrwxrwxrwx. 1 root root 20 Jun  9 08:31 /usr/lib64/mysql/libmysqlclient.so -> libmysqlclient.so.18

after patching 'configure' with:

$ diff -u configure_upto_2017.07.07 configure 
--- configure_upto_2017.07.07   2017-07-07 00:33:11.000000000 +0200
+++ configure   2017-07-07 01:13:14.770476272 +0200
@@ -30825,7 +30825,7 @@
 else
   mu_cv_lib_mysqlclient=no
  mu_check_lib_save_LIBS=$LIBS
- for path in "" /usr/local/lib/mysql /usr/lib/mysql
+ for path in "" /usr/lib64/mysql /usr/local/lib/mysql /usr/lib/mysql
  do
    if test -n "$path"; then
      mu_ldflags="-L$path -lmysqlclient -lm"

I was able build mailutils on x86_64 arch too.

I tried, when this problem may be due to using tarball which was generated
on i32 system, and I was repeated new git clone/bootstrap/configure
procedure on x86_64 system, but configure ends with same
 'libmysqlclient is not found' error.

I think, for now is my problem with mailutils build solved.
Again many thanks for your help.

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.