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

Perl execution doesn't work in fish shell #38

Closed
languitar opened this issue Jul 25, 2017 · 5 comments
Closed

Perl execution doesn't work in fish shell #38

languitar opened this issue Jul 25, 2017 · 5 comments

Comments

@languitar
Copy link

latex2html doesn't work in fish shell as the eval line of the unix wrapper cannot be parsed there:

Failed to execute process '/usr/bin/latex2html'. Reason:
exec: Exec format error
The file '/usr/bin/latex2html' is marked as an executable but could not be run by the operating system.
@danielgildea
Copy link
Contributor

Works OK for me with fish.
The first line of the latex2html script is written by config.pl.
For me, it is "#! /usr/bin/perl".
What is it for you?

@languitar
Copy link
Author

On archlinux this is:

# -*- perl -*- -w
eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
  & eval 'exec /usr/bin/perl -S $0 $argv:q'
  if 0; # suppress this stuff in perl

# The above lines start up perl on almost every shell,
# below we find usual perl code

@languitar
Copy link
Author

Looks like the platform detection doesn't work properly inside the arch build environment.

@danielgildea
Copy link
Contributor

This is caused by "--enable-wrapper" in the archlinux build script.
It looks like latex2html is behaving as expected, so I will close.

@languitar
Copy link
Author

Ok, thanks. I have reported this back upstream.

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