Re: LyX-3.2.7.1 not finding biber

2024-03-29 Thread Rich Shepard

On Fri, 29 Mar 2024, Paul Rubin wrote:


First, try "kpsewhich biblatex.sty" in a terminal to confirm that TeXLive
knows where to find it. If the return is empty, there's a setup problem
with TeXLive.


Paul,

Working off the mail list with Herbert I think I just found the problem, but
not yet the solution.

I used the same command, `perl ./install-tl --no-interaction --paper=letter'
on both the Slackware64-14.2 desktop and the Slackware64-15.0 laptop.

On the former, all files are in /usr/local/texlive/2024; on laptop,
some/many/most files are in /usr/share/texlive/2024. The latter is
apparently the Debian default.

Why two different installations using the same command line installed
differently might well be the reason I have the missing files errors.

Thanks,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX-3.2.7.1 not finding biber

2024-03-29 Thread Paul Rubin




On 3/29/24 10:21, Rich Shepard wrote:

On Fri, 29 Mar 2024, Rich Shepard wrote:


Found a couple and changed them. Will check this morning if that solves
the problem.


Invoked lyx-2.3.7.1 and opened a document with bibliography. When the
document loaded a message box appeared telling me that lyx couldn't find
biblatex.sty.

However, that style file is present in:
/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/biblatex.sty

And, in Document -> Settings -> Bibliograpy the processor still says 
`biber

(not found)'. This still needs fixing.

Where should I look to find why both biber and biblatex are not found?

TIA,

Rich

Rich,

First, try "kpsewhich biblatex.sty" in a terminal to confirm that 
TeXLive knows where to find it. If the return is empty, there's a setup 
problem with TeXLive.


Second, try "which biber" in a terminal to confirm that biber is on your 
system path. If not, you may need to modify your system path (or change 
how biber is installed).


FWIW, on my system the texlive tree is under /usr/share rather than 
/usr/local (and kpsewhich finds biblatex.sty) and biber is in /usr/bin 
(which is of course on my system path).


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Builing 2.4.0~RC4

2024-03-29 Thread Richard Kimberly Heck

On 3/29/24 10:25, Rich Shepard wrote:

On Fri, 29 Mar 2024, Richard Kimberly Heck wrote:


Which build script?


Riki,

-
#!/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.7.1} # change as needed


Try: ${VERSION:-2.4.0~RC4}

This is more a Slackware issue than a LyX one.

Riki


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Builing 2.4.0~RC4

2024-03-29 Thread Rich Shepard

On Fri, 29 Mar 2024, Eckhard Höffner wrote:


Did you change the Version?



Am 29.03.24 um 3:25 PM schrieb Rich Shepard:

PRGNAM=lyx
VERSION=${VERSION:-2.3.7.1} # change as needed


Eckhard,

Not for the installed version. When I tried to build lyx-2.4 I tried several
ways of presenting that RC4 but none worked.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Builing 2.4.0~RC4

2024-03-29 Thread Eckhard Höffner

Did you change the Version?

Am 29.03.24 um 3:25 PM schrieb Rich Shepard:

PRGNAM=lyx
VERSION=${VERSION:-2.3.7.1} # change as needed 


--
Eckhard Höffner
Volkartstr. 64
80636 München
089 210 31 888

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Builing 2.4.0~RC4

2024-03-29 Thread Rich Shepard

On Fri, 29 Mar 2024, Richard Kimberly Heck wrote:


Which build script?


Riki,

-
#!/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.7.1} # change as needed
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 \
  --enable-qt5 \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --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}
-

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX-3.2.7.1 not finding biber

2024-03-29 Thread Rich Shepard

On Fri, 29 Mar 2024, Rich Shepard wrote:


Found a couple and changed them. Will check this morning if that solves
the problem.


Invoked lyx-2.3.7.1 and opened a document with bibliography. When the
document loaded a message box appeared telling me that lyx couldn't find
biblatex.sty.

However, that style file is present in:
/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/biblatex.sty

And, in Document -> Settings -> Bibliograpy the processor still says `biber
(not found)'. This still needs fixing.

Where should I look to find why both biber and biblatex are not found?

TIA,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX-3.2.7.1 not finding biber

2024-03-29 Thread Rich Shepard

On Thu, 28 Mar 2024, Rich Shepard wrote:


This is a new installation of the OS on the laptop. There is no TeXLive2023
anywhere. And the only reference to texlive is the TEXLIVEPATH in
~/.bash_profile. I've no idea where `echo $PATH' could find a texlive/2023/
directory since none exists.


Paul,

Found a couple and changed them. Will check this morning if that solves the
problem.

More later,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users