Re: Failure bilding 2.3.6.1 [FIXED]
On Mon, 22 Feb 2021, Rich Shepard wrote: Slackware-14.2/x86_64. I've reinstalled all packages that were in the system before I borked it, but I must still be missing one. The newest gzipped build log is attached. I don't see what's missing. My apologies to all; I think my brain hasn't thawed from last weeks cold and snow. I just did what I should have done before: downloaded fresh copies of the build file and source tarball. It's building now. Humbly submitted, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Sun, 21 Feb 2021, Jean-Marc Lasgouttes wrote: Can you tell me again what system this is? You should make sure that you have all tools for building qt5 apps. JMarc, Slackware-14.2/x86_64. I've reinstalled all packages that were in the system before I borked it, but I must still be missing one. The newest gzipped build log is attached. I don't see what's missing. Do you have a command named moc5, for example? (BTW moc is a helper program used by Qt to preprocess some source files). All the qt5 packages installed here are: poppler-qt5-0.45.0-x86_64-2_SBo qca-qt5-2.1.3-x86_64-1_SBo qt5-5.12.8-x86_64-1_SBo qt5-webkit-5.212.0_alpha4-x86_64-3_SBo qt5ct-1.1-x86_64-1_SBo Regards, Rich lyx-build.log.gz Description: GNU Zip compressed data -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Sun, 21 Feb 2021, Jean-Marc Lasgouttes wrote: Can you tell me again what system this is? You should make sure that you have all tools for building qt5 apps. J-Marc, Slackware-14.2/x86_64. Do you have a command named moc5, for example? (BTW moc is a helper program used by Qt to preprocess some source files). No moc5 here. But, I discovered that I've not restored all Python packages that were inadvertently deleted last week. Let me get them all rebuilt and reinstalled first; I think the problem is a missing library. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On 2/21/21 12:50 PM, Jean-Marc Lasgouttes wrote: > Le 17/02/2021 à 22:51, Rich Shepard a écrit : >> On Wed, 17 Feb 2021, Jean-Marc Lasgouttes wrote: >> >>> The build log says: >>> == The found moc compiler is for Qt 4.8.7 but the Qt library version >>> is 5.12.8. >> >> JMarc, >> >> Yes, I saw that and have no idea what 'moc' is. Also, I run Python3 >> here and >> have both qt-4.8.7-x86_64-4 and qt5-5.12.8-x86_64-1_SBo installed. > > Can you tell me again what system this is? You should make sure that > you have all tools for building qt5 apps. > > Do you have a command named moc5, for example? (BTW moc is a helper > program used by Qt to preprocess some source files). Could also be moc-qt5 or something like that. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
Le 17/02/2021 à 22:51, Rich Shepard a écrit : On Wed, 17 Feb 2021, Jean-Marc Lasgouttes wrote: The build log says: == The found moc compiler is for Qt 4.8.7 but the Qt library version is 5.12.8. JMarc, Yes, I saw that and have no idea what 'moc' is. Also, I run Python3 here and have both qt-4.8.7-x86_64-4 and qt5-5.12.8-x86_64-1_SBo installed. Can you tell me again what system this is? You should make sure that you have all tools for building qt5 apps. Do you have a command named moc5, for example? (BTW moc is a helper program used by Qt to preprocess some source files). JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On 2021-02-21 06:29, Daniel wrote: On 2021-02-17 21:22, Rich Shepard wrote: I've had to rebuild lyx-2.3.6.1 and not before have I had a problem like this. There's apparently a missing library or other dependency and I don't see what it is when I look at the build log (attached). Please let me know what's missing. Rich Maybe related to https://www.lyx.org/trac/ticket/12155? Daniel Ah, it's not. Never mind. Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On 2021-02-17 21:22, Rich Shepard wrote: I've had to rebuild lyx-2.3.6.1 and not before have I had a problem like this. There's apparently a missing library or other dependency and I don't see what it is when I look at the build log (attached). Please let me know what's missing. Rich Maybe related to https://www.lyx.org/trac/ticket/12155? Daniel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Fri, Feb 19, 2021 at 05:09:59PM -0800, Rich Shepard wrote: > On Fri, 19 Feb 2021, Scott Kostyshak wrote: > > > Just to try something different, do you feel like trying the cmake build? > > Let us know if you want instructions for how to use cmake. > > Scott, > > I can try that. Since I switched from Red Hat-7 to Slackware-8.0 in 2003 > I've built Lyx using the SlackBuild script (copy attached.) And it's always > worked flawlessly for me ... until earlier this week when I inadvertently > removed all the SBo packages while upgrading the distribution (and spent the > rest of the week re-building and re-installing them). > > I should mention that the SlackBuild script worked fine last month in the > upgrade from 2.6.3 to 2.6.3.1. That's why I'm puzzled it now fails. Same > Qt4 and Qt5/PyQt5 versions as then. > > And long ago I switched from writing tools for me in C to Python so I'm 20 > years out of data on all the different C/C++ compilers now out there. > > Carpe weekend, > > Rich Makes sense, Rich. I was just thinking it might provide a clue as to what's going on with the other build. Sometimes different build systems give different errors. Similar to C++: if I don't understand an error from GCC, sometimes I compile with Clang. Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Fri, 19 Feb 2021, Scott Kostyshak wrote: Just to try something different, do you feel like trying the cmake build? Let us know if you want instructions for how to use cmake. Scott, I can try that. Since I switched from Red Hat-7 to Slackware-8.0 in 2003 I've built Lyx using the SlackBuild script (copy attached.) And it's always worked flawlessly for me ... until earlier this week when I inadvertently removed all the SBo packages while upgrading the distribution (and spent the rest of the week re-building and re-installing them). I should mention that the SlackBuild script worked fine last month in the upgrade from 2.6.3 to 2.6.3.1. That's why I'm puzzled it now fails. Same Qt4 and Qt5/PyQt5 versions as then. And long ago I switched from writing tools for me in C to Python so I'm 20 years out of data on all the different C/C++ compilers now out there. Carpe weekend, Rich#!/bin/sh # Slackware build script for LyX # Written by Morten Juhl-Johansen Zölde-Fejér # Now maintained by R. S. Ananda Murthy (rsamu...@gmail.com) PRGNAM=lyx VERSION=${VERSION:-2.3.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-qt5 \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Fri, Feb 19, 2021 at 04:32:48PM -0800, Rich Shepard wrote: > On Fri, 19 Feb 2021, Rich Shepard wrote: > > > Did that and had the same result. > > I don't see a different issue in the build log with --enable=qt5 in the > config options. That build log is attached. Just to try something different, do you feel like trying the cmake build? Let us know if you want instructions for how to use cmake. Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Fri, 19 Feb 2021, Rich Shepard wrote: Did that and had the same result. I don't see a different issue in the build log with --enable=qt5 in the config options. That build log is attached. Rich lyx-build.log.gz Description: GNU Zip compressed data -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Wed, 17 Feb 2021, Jean-Marc Lasgouttes wrote: The build log says: == The found moc compiler is for Qt 4.8.7 but the Qt library version is 5.12.8. You might want to use --enable-qt5 as configure option. JMarc, Did that and had the same result. More thoughts and suggestions needed. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Wed, 17 Feb 2021, Jean-Marc Lasgouttes wrote: The build log says: == The found moc compiler is for Qt 4.8.7 but the Qt library version is 5.12.8. JMarc, Yes, I saw that and have no idea what 'moc' is. Also, I run Python3 here and have both qt-4.8.7-x86_64-4 and qt5-5.12.8-x86_64-1_SBo installed. You might want to use --enable-qt5 as configure option. Okay. Hadn't needed it before but I'll sure do so now. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
Le 17/02/2021 à 21:22, Rich Shepard a écrit : I've had to rebuild lyx-2.3.6.1 and not before have I had a problem like this. There's apparently a missing library or other dependency and I don't see what it is when I look at the build log (attached). Please let me know what's missing. Rich The build log says: == The found moc compiler is for Qt 4.8.7 but the Qt library version is 5.12.8. You might want to use --enable-qt5 as configure option. JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
On Wed, 17 Feb 2021, Hartmut Haase wrote: what does configure say? Hartmut, The SlackBuild script calls for: ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-qt5 \ --build=$ARCH-slackware-linux And, qt-4.8.7-x86_64-4 qt-gstreamer-1.2.0-x86_64-1 qt5-5.12.8-x86_64-1_SBo are installed Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Failure bilding 2.3.6.1
what does configure say? Am 17. Februar 2021 21:22:44 MEZ schrieb Rich Shepard : >I've had to rebuild lyx-2.3.6.1 and not before have I had a problem >like >this. There's apparently a missing library or other dependency and I >don't >see what it is when I look at the build log (attached). > >Please let me know what's missing. > >Rich -- Viele Grüße Hartmut Haase Diese Nachricht wurde mit meinem Tablett serviert.-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Failure bilding 2.3.6.1
I've had to rebuild lyx-2.3.6.1 and not before have I had a problem like this. There's apparently a missing library or other dependency and I don't see what it is when I look at the build log (attached). Please let me know what's missing. Rich lyx-build.log.gz Description: GNU Zip compressed data -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users