Re: #11509: Lyx 2.3.2 Ubuntu Xenial cmake make install failed

2019-03-07 Thread Kornel Benko
Am Donnerstag, 7. März 2019 20:09:10 CET schrieb Adolf Mathias 
:
> $mkdir mynewbuilddir
> $cd mynewbuilddir
> $cmake /home/dolfi/Downloads/lyx-2.3.2 -DLYX_CPACK=ON
> -DCPACK_BINARY_DEB:BOOL=ON -DLYX_NLS=ON > OUT 2>&1
> $ls -a
>./  ../  OUT
> 
> I have attached OUT.

The problem is that the source dir '/home/dolfi/Downloads/lyx-2.3.2' is already 
contaminated with previous calls
to cmake.
Unfortunately cmake gets its information from the previous call.
The cleanes way I suggest:
1.) Remove content of  '/home/dolfi/Downloads/lyx-2.3.2'
2.) Rebuild it from the tar file
3.) cd mynewbuilddir
4.) proceed with cmake

Kornel

P.S. The posted output of cmake looks good otherwise.


signature.asc
Description: This is a digitally signed message part.


Re: #11509: Lyx 2.3.2 Ubuntu Xenial cmake make install failed

2019-03-07 Thread Kornel Benko
Am Donnerstag, 7. März 2019 16:14:51 CET schrieb Adolf Mathias 
:
> Same story - when I do this in the build directory you suggested, no
> files are generated there, and make rightfully complains.
> 
> Sorry, I am not familiar with cmake and cannot be of any help yet.
> 
> On Thu, Mar 7, 2019 at 10:03 AM Kornel Benko  wrote:
> >
> > Am Donnerstag, 7. März 2019 06:25:15 CET schrieb Adolf Mathias 
> > :
> > > #  1.) Don't compile in source tree, it may work, but is not recomended.
> > > Lyx by itself created a directory called build right under the source tree
> > > # Do you have 'gettext' installed?
> > > Yes.
> > >
> > > When I try the commands you gave me, the process fails after
> > > $ make package
> > > with
> > >make: *** No rule to make target 'package'.  Stop.
> > > Inside builddir, no files have been created.
> >
> > OK, my fault. Probably missing extra parameter '-DLYX_CPACK=ON' on cmake 
> > command line.
> > E.g.
> > $ cmake /home/dolfi/Downloads/lyx-2.3.2 -DLYX_CPACK=ON 
> > -DCPACK_BINARY_DEB:BOOL=ON -DLYX_NLS=ON
> > should do.
> >

Please post output of cmake. (Create _empty_ build dir first)

Kornel



signature.asc
Description: This is a digitally signed message part.