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

Ubuntu 18.04: cannot compile binary #52

Closed
leder11011 opened this issue Jun 14, 2020 · 8 comments
Closed

Ubuntu 18.04: cannot compile binary #52

leder11011 opened this issue Jun 14, 2020 · 8 comments

Comments

@leder11011
Copy link

Previous git sources allowed me to generate mdless binary.
Now I only get errors:
Please give me a hint how to compile mdless binary!


leder@leder-ryzen-home:~/Git/mdless$ bundle update
The gemspec at /home/leder/Git/mdless/mdless/mdless.gemspec is not valid. Please fix this gemspec.
The validation error was 'metadata['homepage_uri'] has invalid link: "TODO: Put your gem's website or public
repo URL here."'
leder@leder-ryzen-home:~/Git/mdless$ gem build mdless.gemspec 
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["bin/mdless"] are not files
leder@leder-ryzen-home:~/Git/mdless$ gem install mdless
Done installing documentation for  after 0 seconds
leder@leder-ryzen-home:~/Git/mdless$ 

@ttscoff
Copy link
Owner

ttscoff commented Jun 15, 2020 via email

@leder11011
Copy link
Author

leder11011 commented Jun 16, 2020

leder@leder-ryzen-home:~/Git/mdless$ rake package
rake aborted!
Don't know how to build task 'bin/mdless' (See the list of available tasks with `rake --tasks`)
/home/leder/.gem/ruby/2.7.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => package => gem => pkg/mdless-1.0.10.gem
(See full trace by running task with --trace)
leder@leder-ryzen-home:~/Git/mdless$ 

@ttscoff
Copy link
Owner

ttscoff commented Jun 16, 2020

Is there a reason you're not just using gem install mdless? I haven't made any significant changes that should break your ability to compile, but you're getting errors I can't explain without a more info on what you're trying to do.

@leder11011
Copy link
Author

OK: fresh git clone installed mdless binary in bin folder. But I am unable to:

  • delete bin folder
  • compile binary mdless by myself

Any ideas? This should be possible in order not to checkout the binary, but do a git pull on the sources and implementing any changes by myself!

@ttscoff
Copy link
Owner

ttscoff commented Jun 17, 2020 via email

@tomangert
Copy link

Not sure about 18.04, but on ubuntu 20.04 it compiles and runs successfully. I did:
sudo apt install rake
rake package
sudo rake install

I previously had a snap installed for mdless - but it didn't like one of the terminal types I use. The one I compiled has no trouble with it.

@leder11011
Copy link
Author

leder11011 commented Oct 18, 2021 via email

@ernstki
Copy link

ernstki commented Dec 15, 2023

@ttscoff Ubuntu 18.04 is no longer supported since May of this year.

The Snap package is stuck back in the 1.0.3x days, so if people get the idea of using that from this issue, it's likely to lead to more confusion.

Maybe it's best to close this?

@ttscoff ttscoff closed this as completed Dec 15, 2023
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

4 participants