Subject: Re: Support
From: Ondřej Jirman
Date: Mon, 11 Nov 2019 22:45:21 +0100
Hi,

On Tue, Nov 12, 2019 at 12:53:49AM +0530, Niklas Finkel wrote:
> Hey buddy, thank you. I'm trying to get it to work but it does end up
> giving me one error or the other every time I do "meson build". The current
> terminal and error log is as follows:
> 
> *The Meson build system*
> 
> Version: 0.52.999
> 
> Source dir: */root/Desktop/mega*
> 
> Build dir: */root/Desktop/mega/build*
> 
> Build type: *native build*
> 
> Project name: *megatools*
> 
> Project version: *1.11.0*
> 
> C compiler for the host machine: *cc* (gcc 5.4.0 "cc (Ubuntu
> 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
> 
> C linker for the host machine: *GNU ld.bfd* 2.26.1
> 
> Host machine cpu family: *x86_64*
> 
> Host machine cpu: *x86_64*
> 
> Run-time dependency *threads* found: *YES*
> 
> Found pkg-config: */usr/bin/pkg-config* (0.29.1)
> 
> Run-time dependency *gio-2.0* found: *YES* 2.48.2
> 
> Run-time dependency *libcurl* found: *YES* 7.47.0
> 
> Run-time dependency *openssl* found: *YES* 1.0.2g
> 
> Configuring *config.h* using configuration
> 
> Program *install-symlinks.sh* found: *YES* (/bin/sh
> /root/Desktop/mega/install-symlinks.sh)
> 
> Program *asciidoc* found: *YES* (/usr/bin/asciidoc)
> 
> Program *db2x_xsltproc* found: *NO*
> 
> 
> meson.build:77:0: *ERROR:* Program(s) ['db2x_xsltproc'] not found or not
> executable
> 

You need some apps to build man pages. (which ones is in the README) I've pushed
an update to git repository to make this optional. That should fix it.

  https://megous.com/git/megatools/

regards,
	o.

> A full log can be found at
> */root/Desktop/mega/build/meson-logs/meson-log.txt*
> 
> I'm sorry I keep messaging you, I know you're not a "helpdesk" but I'm not
> able to find anything on google at the moment (probably because the newest
> update is still very new). If nothing, I think I might just install the
> previous version since ./configure, make and make install were much easier
> to get a better understanding of.
> 
> Thanks!
> 
> 
> On Monday, November 11, 2019, Ondřej Jirman <megatools@megous.com> wrote:
> 
> > Hello,
> >
> > On Mon, Nov 11, 2019 at 11:10:11AM +0530, Niklas Finkel wrote:
> > > Thank you so much for your email. The meson package installed by default
> > is
> > > a very outdated version - I've installed the latest version of meson
> > using
> > > pip but I have no idea how to do 'meson b' with pip.
> >
> > You can also try lowering the version requirement in the meson.build file,
> > to avoid that:
> >
> >   meson_version : '>= 0.46.0',
> >
> > it may work with earlier versions too. I haven't tested.
> >
> > regards,
> >         o.
> >
> > > I'll have to get a better understanding of meson and ninja before I can
> > get
> > > this to work.
> > >
> > > On Monday, November 11, 2019, Ondřej Jirman <megatools@megous.com>
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > On Mon, Nov 11, 2019 at 08:22:43AM +0530, Niklas Finkel wrote:
> > > > > Hello, I hope you're well.
> > > > >
> > > > > Firstly, I'd like to thank you for all you do. Megatools is one of
> > the
> > > > > reasons why I still upload to MEGA, otherwise I would have given up
> > on
> > > > it a
> > > > > long time ago.
> > > > >
> > > > > I had a query - I am trying one of the new experimental builds you've
> > > > > uploaded on the site on my Ubuntu machine. The version I've
> > downloaded
> > > > is:
> > > > >
> > > > > megatools-1.11.0-git-20191107.tar.gz               07-Nov-2019 14:49
> > > > >        101957
> > > > >
> > > > > When I try to install it like every past installation of megatools
> > > > > (extract, ./configure, make, make install) it won't work on
> > ./configure
> > > >
> > > > megatools now use meson build system. (https://mesonbuild.com/)
> > > >
> > > > just run:
> > > >
> > > >   meson b
> > > >   ninja -C b
> > > >   sudo ninja -C b install
> > > >
> > > > I hope it will work.
> > > >
> > > > regards,
> > > >         o.
> > > >
> > > > > I've read the README but I couldn't find any details in there
> > either. Any
> > > > > idea on how I could get this to work? The files/folders inside the
> > > > archive
> > > > > are as follows:
> > > > >
> > > > > *contrib*  install-symlinks.sh  LICENSE      meson_options.txt
> > README
> > > > TODO
> > > > >
> > > > > *docs*     *lib*                  meson.build  NEWS
> >  *tests*
> > > > > *tools*
> > > > >
> > > > > Thank you!
> > > >
> >