conda-forge / texlive-core-feedstock

A conda-smithy repository for texlive-core.
BSD 3-Clause "New" or "Revised" License
1 stars 25 forks source link

tlmgr error: Can't locate TeXLive/TLConfig.pm #27

Open paugier opened 5 years ago

paugier commented 5 years ago

I've tried using texlive with conda but tlmgr is broken:

tlmgr init-usertree
Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC contains: /home/users/augier3pi/miniconda3/envs/texmf-dist/scripts/texlive /home/users/augier3pi/miniconda3/envs/tlpkg /home/users/augier3pi/miniconda3/envs/env_texlive/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi /home/users/augier3pi/miniconda3/envs/env_texlive/lib/perl5/site_perl/5.22.2 /home/users/augier3pi/miniconda3/envs/env_texlive/lib/perl5/5.22.2/x86_64-linux-thread-multi /home/users/augier3pi/miniconda3/envs/env_texlive/lib/perl5/5.22.2 .) at /home/users/augier3pi/miniconda3/envs/env_texlive/bin/tlmgr line 98.
BEGIN failed--compilation aborted at /home/users/augier3pi/miniconda3/envs/env_texlive/bin/tlmgr line 98.
abhi-k9 commented 3 years ago

Having the same issue with the latest default package from conda

texlive-core 20180414 h3d9e0a8_6 conda-forge

This happens even with the general tlmgr command.

Mutaz94 commented 2 years ago

Hi! Is there any work around for this issue?

Dahoas commented 2 years ago

+1

Adamtaranto commented 1 year ago

TeXLive/TLConfig.pm is missing from texlive-core package see #19

You can manually add the files back in from another version of texlive or install with apt if you are on a linux system.

malcook commented 2 months ago

Against my better judgement, I tried a version of @Adamtaranto suggestion to

manually add the files back in from another version of texlive

by setting PERL5LIB to pickup them up from (old) system texlive, but found it to generate

PERL5LIB=/usr/share/texlive/tlpkg tlmgr --help
Global symbol "$CompressorExtRegexp" requires explicit package name (did you forget to declare "my $CompressorExtRegexp"?) at /n/projects/mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/mec_base/bin/tlmgr line 1884.
.... (and many such)

editting the script to comment out use warnings just exposed the next incompatibility

PERL5LIB=/usr/share/texlive/tlpkg tlmgr --help
"wndws" is not exported by the TeXLive::TLUtils module
"repository_to_array" is not exported by the TeXLive::TLUtils module
Can't continue after import errors at /n/projects/mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/mec_base/bin/tlmgr line 100.

like I said, I tried this against my better judgement.

Still wishing this would fix in the feedstock.