biber, two issues
mario chiari
ml at mariochiari.net
Mon Jun 10 16:42:26 CEST 2019
Hi
thanks for your reply.
My settings are such that:
> echo $PATH
/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/root/b
in:/usr/local/texlive/2018:/usr/local/texlive/2018/bin/x86_64-linux
> which perl
/usr/bin/perl
> perl -v
This is perl 5, version 28, subversion 2 (v5.28.2) built for x86_64-linux-
thread-multi (with 48 registered patches, see perl -V for more detail)
> printenv | grep -i perl
[empty]
how do I check that /usr/bin/perl looks for modules in standard
directories (usually /usr/share or /usr/lib)?
thanks
cheers
mario
On Mon, 2019-06-10 at 01:26 +0200, Reinhard Kotucha wrote:
> On 2019-06-09 at 16:58:45 +0200, mario chiari wrote:
>
> > Hi
> >
> > I am not getting it right with biber. Two issues:
> >
> > 1. if I try >>> /usr/local/texlive/2018/bin/x86_64-linux/biber --help
> >
> > I get [...]
>
> It works fine here. I tested with Perl version 16.3 on CentOS 7 and
> with Perl version 24.1 on Debian 9 (stretch) and with all TeX Live
> releases from 2010 to 2019. No problems at all.
>
> Is /usr/local/texlive/2018/bin/x86_64-linux in PATH? It has to be,
> unconditionally. You can call a particular program by specifying
> its location on the command line. But if this program depends on
> other resources, it's mandatory that the TeX Live bin directory is in
> PATH.
>
> Please note that according to the error messages you got, some files
> are at non-standard locations:
>
> /var/www/tmp/inc/lib/Unicode/Collate/Locale.pm
> /var/www/tmp/inc/lib/Biber/Internals.pm
>
> I don't know why these files are looked up at /var/www/tmp at all if
> you just type biber --help. It seems that your Perl installation is
> completely broken.
>
> I suppose that
>
> which perl
>
> returns
>
> /usr/bin/perl
>
> Please run
>
> printenv | grep -i perl
>
> , unset all Perl related environment variables and try again.
>
> With a clean Perl installation Perl modules are never searched in
> /var/www.
>
> > I suspect it is a Perl issue, but I do not know anything about
> > perl.
> >
> > 2. I use a php script, say my.php, to create a .tex file. It also
> > calls latex, (2016) biber, and pdflatex to produce final outputs.
> >
> > If I run it from terminal - php cli, as root - it works fine. If I
> > run it from a web browser (http://localhost/my.php), biber does not
> > seem to be called at all. In the latter case, files are owned by
> > user apache, and I suspect that biber does not like that. How do I
> > fix it?
>
> It's definitely a Perl issue. But before you care about your web
> server, make sure that /usr/bin/perl looks for modules in standard
> directories (usually /usr/share or /usr/lib).
>
> Regards,
> Reinhard
>
> --
> ------------------------------------------------------------------
> Reinhard Kotucha Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover mailto:reinhard.kotucha at web.de
> ------------------------------------------------------------------
More information about the tex-live
mailing list