Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with prebuilt debian (ubuntu) installation #1022

Closed
SamKacer opened this issue Jul 23, 2018 · 10 comments
Closed

problem with prebuilt debian (ubuntu) installation #1022

SamKacer opened this issue Jul 23, 2018 · 10 comments

Comments

@SamKacer
Copy link

@SamKacer SamKacer commented Jul 23, 2018

So, I installed latexml to my ubuntu 16 machine using the instructions for installing latexml prebuilt for debian systems using command:
sudo apt-get install latexml

installation finished, but when I then tried running latexml then I got the following output:

 Can't locate Text/Unidecode.pm in @INC (you may need to install the Text::Unidec
 ode module) (@INC contains: /usr/bin/../lib /etc/perl /usr/local/lib/x86_64-linu
 x-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5
 .26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /u
 sr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/
 LaTeXML/Package.pm line 50.                                                     
 BEGIN failed--compilation aborted at /usr/share/perl5/LaTeXML/Package.pm line 50
 .                                                                               
 Compilation failed in require at /usr/share/perl5/LaTeXML/Core.pm line 28.      
 BEGIN failed--compilation aborted at /usr/share/perl5/LaTeXML/Core.pm line 28.  
 Compilation failed in require at /usr/bin/latexml line 19.                      
 BEGIN failed--compilation aborted at /usr/bin/latexml line 19.                  
@dginev
Copy link
Collaborator

@dginev dginev commented Jul 23, 2018

Thanks for the report! I recall this issue flying by the Debian packaging team and getting fixed, maybe that updated package never swam upstream to Ubuntu?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893528

In the short term you can simply install:

sudo apt get install libtext-unidecode-perl

to get the dependency, but I am unsure if we need to take any extra steps to get the Debian fix upstream to Ubuntu 16...

@dginev
Copy link
Collaborator

@dginev dginev commented Jul 23, 2018

cc @norbusan , maybe you have a better overview here

matteosecli added a commit to matteosecli/latexml-packaging that referenced this issue Jul 23, 2018
@SamKacer
Copy link
Author

@SamKacer SamKacer commented Jul 23, 2018

thanks! installing the package solved the issue and latexml seems to work just fine. used it to convert some .tex to html.

@norbusan
Copy link

@norbusan norbusan commented Jul 23, 2018

Thanks for the ping, this is now fixed in my git repository and will be in the next upload to Debian. After that it should enter into Ubuntu, too, but this is nothing I can influence.

@brucemiller
Copy link
Owner

@brucemiller brucemiller commented Jul 27, 2018

Thanks @norbusan! Hopefully we'll be pinging you again for an 0.8.3 release real soon now :>

@dginev dginev added this to the LaTeXML-0.8.4 milestone Aug 27, 2018
@tkw1536
Copy link
Contributor

@tkw1536 tkw1536 commented Aug 29, 2019

This appears to still be a problem on Ubuntu 18.04 LTS.
You can easily reproduce this using Docker to start up a clean instance, install the latexml package, and run the latexml executable

$ docker run -t -i --rm ubuntu:18.04 /bin/bash -c "apt update && apt install -y latexml && latexml"
[... lots of output omitted ...]
Can't locate Text/Unidecode.pm in @INC (you may need to install the Text::Unidecode module) (@INC contains: /usr/bin/../lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/LaTeXML/Package.pm line 50.
BEGIN failed--compilation aborted at /usr/share/perl5/LaTeXML/Package.pm line 50.
Compilation failed in require at /usr/share/perl5/LaTeXML/Core.pm line 28.
BEGIN failed--compilation aborted at /usr/share/perl5/LaTeXML/Core.pm line 28.
Compilation failed in require at /usr/bin/latexml line 19.
BEGIN failed--compilation aborted at /usr/bin/latexml line 19.
@dginev
Copy link
Collaborator

@dginev dginev commented Aug 29, 2019

cc @norbusan unsure if we can get 18.04 LTS to the latest latexml package, which works well in Ubuntu 19.04? Not familiar with the proceedings there.

@norbusan
Copy link

@norbusan norbusan commented Aug 30, 2019

Hi all

@tkw1536 You need to install libtext-unidecode-perl, than it should work.

I don't know, the version in Debian has this dependency, so there is no such problem.

I don't know how one could update the LTS version. I guess one could make a fixed package based on the version in 18.04LTS and only add the dependency, and then try to get that into a point release, but since I am not from Ubuntu I have really no idea, sorry.

Better to grab the version from Debian ;-)

@skellat
Copy link

@skellat skellat commented Aug 31, 2019

skellat@Overwatch:~$ seeded-in-ubuntu latexml
latexml's binaries are not seeded.

skellat@Overwatch:~$ rmadison latexml
latexml | 0.7.0-1 | precise/universe | source, all
latexml | 0.7.0-1 | trusty/universe | source, all
latexml | 0.8.1-1 | xenial/universe | source, all
latexml | 0.8.2-1 | bionic/universe | source, all
latexml | 0.8.3-1 | disco/universe | source, all
latexml | 0.8.3-3 | eoan/universe | source, all

skellat@Overwatch:~$ reverse-depends latexml
No reverse dependencies found

skellat@Overwatch:~$ reverse-depends -b latexml
No reverse dependencies found

skellat@Overwatch:~$ ubuntu-upload-permission --list-uploaders latexml
All upload permissions for latexml:

Component (universe)

  • MOTU (motu) [team]

You can not upload latexml to eoan, yourself.
But you can still contribute to it via the sponsorship process: https://wiki.ubuntu.com/SponsorshipProcess

skellat@Overwatch:~$ ubuntu-distro-info --supported
xenial
bionic
disco
eoan

I have done no-change backports of the package in eoan to 18.04 and 16.04. I need people to test this so that I can do the paperwork to actually have the backported package show up in 18.04 and 16.04. The PPA with the test packages can be found here: https://launchpad.net/~skellat/+archive/ubuntu/latexml-test . There is of course no warranty in testing the packages.

@norbusan
Copy link

@norbusan norbusan commented Aug 31, 2019

Hi @skellat
cool stuff!!! I am interested in doing similar things, and I am the responsible Debian Developer for these (and other) packages.

Do you know what I have to do to get upload permissions so that I can push stuff into older releases like LaTeXML, but also OneDrive (I am interested in)?

bhpayne added a commit to allofphysicsgraph/latexml that referenced this issue Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants