Re: LyX 2.3 with QT5

2017-10-09 Thread F M Salter
attention: Juergen Spitzmueller

    Sorry I sent the wrong log.  Correct one and the configure output
are attached.



On 09/10/17 16:30, F M Salter wrote:
> Hi,
>
>     I am enclosing the config.log file
>
> 
>

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by LyX configure 2.3.0beta1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../lyx-2.3.0beta1/configure --enable-qt5

## - ##
## Platform. ##
## - ##

hostname = cosmos
uname -m = x86_64
uname -r = 4.9.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.9.51-1 (2017-09-28)

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


## --- ##
## Core tests. ##
## --- ##

configure:2904: checking for build type
configure:2922: result: prerelease
configure:2934: checking for version suffix
configure:2953: result: 
configure:2957: checking whether Qt5 is requested
configure:2966: result: yes
configure:2975: checking build system type
configure:2989: result: x86_64-pc-linux-gnu
configure:3009: checking host system type
configure:3022: result: x86_64-pc-linux-gnu
configure:3042: checking target system type
configure:3055: result: x86_64-pc-linux-gnu
configure:3081: checking what packaging should be used
configure:3098: result: posix
configure:3198: checking whether to enable maintainer-specific portions of Makefiles
configure:3207: result: no
configure:3231: checking whether make supports nested variables
configure:3248: result: yes
configure:3279: checking for a BSD-compatible install
configure:3347: result: /usr/bin/install -c
configure:3358: checking whether build environment is sane
configure:3413: result: yes
configure:3564: checking for a thread-safe mkdir -p
configure:3603: result: /bin/mkdir -p
configure:3610: checking for gawk
configure:3640: result: no
configure:3610: checking for mawk
configure:3626: found /usr/bin/mawk
configure:3637: result: mawk
configure:3648: checking whether make sets $(MAKE)
configure:3670: result: yes
configure:3757: checking whether UID '1000' is supported by ustar format
configure:3760: result: yes
configure:3767: checking whether GID '1000' is supported by ustar format
configure:3770: result: yes
configure:3778: checking how to create a ustar tar archive
configure:3789: tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3792: $? = 0
configure:3832: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3835: $? = 0
configure:3839: tar -xf - = 2.7.0 or 3.3.0
configure:4031: python -c import sys version = sys.version_info[:3] sys.exit(not ((2,7,0) <= version < (3,0,0) or version >= (3,3,0)))
configure:4034: $? = 0
configure:4040: result: python
configure:4048: checking for python
configure:4066: found /usr/bin/python
configure:4078: result: /usr/bin/python
configure:4158: checking for python version
configure:4165: result: 2.7
configure:4177: checking for python platform
configure:4184: result: linux2
configure:4210: checking for python script directory
configure:4245: result: ${prefix}/lib/python2.7/dist-packages
configure:4254: checking for python extension module directory
configure:4289: result: ${exec_prefix}/lib/python2.7/dist-packages
configure:4316: checking for style of include used by make
configure:4344: result: GNU
configure:4415: checking for gcc
configure:4431: found /usr/bin/gcc
configure:4442: result: gcc
configure:4671: checking for C compiler version
configure:4680: gcc --version >&5
gcc (Debian 6.3.0-18) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4691: $? = 0
configure:4680: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib 

Re: LyX 2.3 with QT5

2017-10-09 Thread Jürgen Spitzmüller
2017-10-09 17:30 GMT+02:00 F M Salter :

> I am enclosing the config.log file
>
>
... which reveals that you didn't use --enable-qt5 for configure:

  $ ../lyx-2.3.0beta1/configure
>

[...]

configure:2957: checking whether Qt5 is requested
>
configure:2966: result: no
>

Jürgen


Re: LyX 2.3 with QT5

2017-10-09 Thread F M Salter
Hi,

    I am enclosing the config.log file




This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by LyX configure 2.3.0beta1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../lyx-2.3.0beta1/configure 

## - ##
## Platform. ##
## - ##

hostname = cosmos
uname -m = x86_64
uname -r = 4.9.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.9.51-1 (2017-09-28)

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


## --- ##
## Core tests. ##
## --- ##

configure:2904: checking for build type
configure:2922: result: prerelease
configure:2934: checking for version suffix
configure:2953: result: 
configure:2957: checking whether Qt5 is requested
configure:2966: result: no
configure:2975: checking build system type
configure:2989: result: x86_64-pc-linux-gnu
configure:3009: checking host system type
configure:3022: result: x86_64-pc-linux-gnu
configure:3042: checking target system type
configure:3055: result: x86_64-pc-linux-gnu
configure:3081: checking what packaging should be used
configure:3098: result: posix
configure:3198: checking whether to enable maintainer-specific portions of Makefiles
configure:3207: result: no
configure:3231: checking whether make supports nested variables
configure:3248: result: yes
configure:3279: checking for a BSD-compatible install
configure:3347: result: /usr/bin/install -c
configure:3358: checking whether build environment is sane
configure:3413: result: yes
configure:3564: checking for a thread-safe mkdir -p
configure:3603: result: /bin/mkdir -p
configure:3610: checking for gawk
configure:3640: result: no
configure:3610: checking for mawk
configure:3626: found /usr/bin/mawk
configure:3637: result: mawk
configure:3648: checking whether make sets $(MAKE)
configure:3670: result: yes
configure:3757: checking whether UID '1000' is supported by ustar format
configure:3760: result: yes
configure:3767: checking whether GID '1000' is supported by ustar format
configure:3770: result: yes
configure:3778: checking how to create a ustar tar archive
configure:3789: tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3792: $? = 0
configure:3832: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3835: $? = 0
configure:3839: tar -xf - = 2.7.0 or 3.3.0
configure:4031: python -c import sys version = sys.version_info[:3] sys.exit(not ((2,7,0) <= version < (3,0,0) or version >= (3,3,0)))
configure:4034: $? = 0
configure:4040: result: python
configure:4048: checking for python
configure:4066: found /usr/bin/python
configure:4078: result: /usr/bin/python
configure:4158: checking for python version
configure:4165: result: 2.7
configure:4177: checking for python platform
configure:4184: result: linux2
configure:4210: checking for python script directory
configure:4245: result: ${prefix}/lib/python2.7/dist-packages
configure:4254: checking for python extension module directory
configure:4289: result: ${exec_prefix}/lib/python2.7/dist-packages
configure:4316: checking for style of include used by make
configure:4344: result: GNU
configure:4415: checking for gcc
configure:4431: found /usr/bin/gcc
configure:4442: result: gcc
configure:4671: checking for C compiler version
configure:4680: gcc --version >&5
gcc (Debian 6.3.0-18) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4691: $? = 0
configure:4680: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin 

Re: LyX 2.3 with QT5

2017-10-09 Thread Jean-Marc Lasgouttes

Le 09/10/2017 à 14:14, F M Salter a écrit :

JMarc

     Thank you for your prompt response.

     I believe I have installed all the development packages of which I
am aware.  I did use  --enable-qt5, without success.

     I have also noticed that the included boost libraries were used even
though system-wide boost libraries and headers are available.  This
seems to suggest that the configuration is not picking the required
libraries.


Boost is particular, we use the included ones by defaults. As reason is 
that it is necessary to use run-time checking of bounds, which is useful 
on development versions. You can use --without-included-boost if you do 
not like that.


Could you send your config.log file?

JMarc



Re: LyX 2.3 with QT5

2017-10-09 Thread F M Salter
JMarc

    Thank you for your prompt response.

    I believe I have installed all the development packages of which I
am aware.  I did use  --enable-qt5, without success.

    I have also noticed that the included boost libraries were used even
though system-wide boost libraries and headers are available.  This
seems to suggest that the configuration is not picking the required
libraries.

Regards

Frank


On 09/10/17 12:28, Jean-Marc Lasgouttes wrote:
> Le 09/10/2017 à 13:13, Jürgen Spitzmüller a écrit :
>> Do you have all necessary qt5-devel packages installed?
>>
>> Do you use --enable-qt5?
>
> If you do those two things, you should not need to set any directories
> (at least for a first try).
>
> JMarc



Re: LyX 2.3 with QT5

2017-10-09 Thread Jean-Marc Lasgouttes

Le 09/10/2017 à 13:13, Jürgen Spitzmüller a écrit :

Do you have all necessary qt5-devel packages installed?

Do you use --enable-qt5?


If you do those two things, you should not need to set any directories 
(at least for a first try).


JMarc


Re: LyX 2.3 with QT5

2017-10-09 Thread Jürgen Spitzmüller
Do you have all necessary qt5-devel packages installed?

Do you use --enable-qt5?

If this is all true, please post some more information (exact error
message, used options for configure)

Jürgen

Am Montag, den 09.10.2017, 11:59 +0100 schrieb F M Salter:
> Hi,
> 
> I am attempting and failing to compile 2.3 with QT5 in Debian
> Stretch.  Setting QTDIR to all directories-qt5 in turn produces the
> same
> configuration failure, suggesting QT5DIR is set incorrectly.
> 
> Has anyone done this successfully?  If so would you please
> explain
> what needs to be done to use QT5.
> 
> Regards
> 
> Frank Salter
> 
> 
> 

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


LyX 2.3 with QT5

2017-10-09 Thread F M Salter
Hi,

    I am attempting and failing to compile 2.3 with QT5 in Debian
Stretch.  Setting QTDIR to all directories-qt5 in turn produces the same
configuration failure, suggesting QT5DIR is set incorrectly.

    Has anyone done this successfully?  If so would you please explain
what needs to be done to use QT5.

Regards

Frank Salter





Re: Have you tested 2.3.0beta1?

2017-10-09 Thread Jürgen Spitzmüller
Am Freitag, den 06.10.2017, 10:32 +0200 schrieb racoon:
> I think that "natbib compatibility mode" as explained at
> 
> http://wiki.lyx.org/BibTeX/Biblatex#toc6
> 
> is redundant if one uses lyx's new biblatex support. Is that correct?
> If 
> so I'll add at
> 
> http://wiki.lyx.org/BibTeX/Biblatex#toc3
> 
> that these settings can be removed.

Yes, any module or local layout setting that uses the "Provides natbib
1" trick needs to be removed.

Jürgen

> 
> Daniel
> 

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