Code Monkey home page Code Monkey logo

Comments (8)

meysam81 avatar meysam81 commented on September 17, 2024
meysam@meysam-pc:bunny$ ls -l bunny 
-rwxr-xr-x 1 meysam meysam 13325552 Mar  5 11:36 bunny

meysam@meysam-pc:bunny$ ./bunny 
-bash: ./bunny: cannot execute binary file: Exec format error

from bunny.

kamyar1979 avatar kamyar1979 commented on September 17, 2024

Which build are you using? Can you build the project yourself for your architecture?

from bunny.

kamyar1979 avatar kamyar1979 commented on September 17, 2024

The usage is same as httpie:

./bunny http://dlang.org

./bunny POST https://mysite.com/login username=myuser password=mypassword

from bunny.

meysam81 avatar meysam81 commented on September 17, 2024

I'm not using any build. I'm just trying to run the binary inside the repository.
And I also did try to compile it with dmd such as follow:

meysam@meysam-pc:bunny$ dmd src/app.d 
src/app.d(8): Error: module requests is in file 'requests.d' which cannot be read
import path[0] = /snap/dmd/102/bin/../import/druntime
import path[1] = /snap/dmd/102/bin/../import/phobos
src/app.d(11): Error: module colorize is in file 'colorize.d' which cannot be read
import path[0] = /snap/dmd/102/bin/../import/druntime
import path[1] = /snap/dmd/102/bin/../import/phobos

from bunny.

kamyar1979 avatar kamyar1979 commented on September 17, 2024

Sorry! It is not the way D projects build! You have to use dub for dependencies:

dub build

from bunny.

meysam81 avatar meysam81 commented on September 17, 2024

OK then, although I have to try it out, it might be a good idea for you to add this in the README as well. 🙏

from bunny.

meysam81 avatar meysam81 commented on September 17, 2024

also:

meysam@meysam-pc:bunny$ dub build                                                                                                                                        
The dependency resolution process is taking too long. The dependency graph is likely hitting a pathological case in the resolution algorithm. Please file a bug report at 
https://github.com/dlang/dub/issues and mention the package recipe that reproduces this error.                                                                            

from bunny.

kamyar1979 avatar kamyar1979 commented on September 17, 2024

Sorry! You are using Iran internet! You have to use http://shecan,ir, http://begzar.ir or use some VPN. There is no problem with the package.

from bunny.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.