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

Cannot locate package libmujs-dev, cannot run test #67

Open
GiovanniMottola opened this issue Jun 26, 2024 · 4 comments
Open

Cannot locate package libmujs-dev, cannot run test #67

GiovanniMottola opened this issue Jun 26, 2024 · 4 comments

Comments

@GiovanniMottola
Copy link

I am on Ubuntu 20.04, which is one of the tested environments. When running the command to install all dependencies, I get the following:

Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
E: Unable to locate package libmujs-dev

I tried to proceed with the installation, to see whether the package was in fact needed. The build succeeded. However, when running the test, I get the following error:

SDL could not initialize wayland driver! SDL_Error: wayland not available
Falling back to default driver
texpresso logo: 512x512
[info] tectonic path: texpresso-tonic
[dvi] loading pdftex.map
bundle_serve_hooks_cat: cannot read answer
[dvi] loading kanjix.map

A window appears for a few instants, then closes; no PDF is generated.

@let-def
Copy link
Owner

let-def commented Jun 26, 2024

Can you share the rest of the output from the test command?
It is likely that tectonic has to initialize itself first if you have never used it before.

You can run ./build/texpresso-tonic -X compile test/simple.tex first to check that the TeX distribution is working as expected, and if this works, try again texpresso.

@GiovanniMottola
Copy link
Author

My bad, sorry: I missed the part about building Tectonic. Now apparently it works. Still, I am a bit puzzled about libmujs-dev: is it actually needed or not? I don't have it in my sistem, yet Texpresso seems to work (albeit with some crashes)...

Thanks for the very quick feedback!

@let-def
Copy link
Owner

let-def commented Jun 27, 2024

TeXpresso uses mupdf, and libmujs is an optional dependency of mupdf: certain distributions do not provide it, some provide it in the same package, other provide it as two separate packages. The installation instructions were tested on a few systems but are likely a bit incorrect for Ubuntu 20.04: as long as you have mupdf, it should work.

I plan to update the instructions and the build script when I have more time.

@let-def
Copy link
Owner

let-def commented Jun 27, 2024

What are the crashes? If possible, try to share a copy of the standard error output when that happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants