Giter Club home page Giter Club logo

Comments (15)

leardilap avatar leardilap commented on August 10, 2024 2

just a comment: is opam 4.06.0 really the correct version?
I see the travis file with OCAML_VERSION=4.07
in a clean Centos8 system I did this:

# install opam according to your distro, in my case (centos8) was
wget https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh
sudo sh install.sh

opam switch 4.07.0 # at this point it showed two errors \
[ERROR] Opam has not been initialised, please run 'opam init' \
[ERROR] No switch 4.07.0 is currently installed. Did you mean 'opam switch create 4.07.0'

# suggestion for instructions
opam init
opam switch create 4.07.0
eval `opam config env`
opam update
opam install plotkicadsch

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024 1

Is it possible to remove the $ in front of the commands in the README.md too? It will make the copy-paste processes so much easier?

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

I don't have this 4.06.0, should I create this?

image

Like this:

opam switch create 4.06.0

If Yes, it will be nice to add this to the README.

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Still no luck

➜ opam install plotkicadsch
[ERROR] Sorry, resolution of the request timed out.
        Try to specify a simpler request, use a different solver, or increase the
        allowed time by setting OPAMSOLVERTIMEOUT to a bigger value (currently,
        it is set to 60.0 seconds).

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Any idea what I am doing wrong?

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Suppose I have a clean OS install, which is actually the truth right now. Does the steps cover the whole opam install?

I started with:

sudo apt install opam

Then I followed your steps..

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Should I install another package?
They are not installed by default and the install process does not install them..

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Good, after some time, I made it. This was my process..

# Install 

opam init

opam install --switch 4.06.0 plotkicadsch
eval $(opam env)
opam switch 4.06.0
opam update

opam install -y --jobs=8 --deps-only .
opam install .

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

Thanks! Will update the guide with your procedure from scratch.

Anyway, the next version of plotkicadsch is on its way to opam.

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Anyway, the next version of plotkicadsch is on its way to opam.

Cool! And sorry for the number of unconnected messages. I was struggling to make it work very late at night.

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Just to adding here a second try to install this using an almost clean Ubuntu docker

# Schematic Diffs
run apt-get -y install --no-install-recommends m4
run apt-get -y install --no-install-recommends rsync
run apt-get -y install --no-install-recommends mercurial
run apt-get -y install --no-install-recommends darcs
run apt-get -y install --no-install-recommends opam
run git clone https://github.com/jnavila/plotkicadsch.git
run cd plotkicadsch
run opam init --disable-sandboxing
run opam switch create 4.06.0
run eval $(opam env)
run opam switch 4.06.0
run opam update
run opam install -y --jobs=8 --deps-only .
run opam install .

Maybe the last 2 lines can be reverted to the original opam install plotkicadsch

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

This is the issue I was having before. Trying to install it on another ubuntu machine.
image

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Using this 4.07.0 works out of the box. @leardilap @jnavila

This is solves my problem too. Thanks,
#34 (comment)

Maybe this can accelerate the last step (for me it is installing 226 packages) :)

opam install -y --jobs=8 plotkicadsch

from plotkicadsch.

jnavila avatar jnavila commented on August 10, 2024

Maybe this can accelerate the last step (for me it is installing 226 packages) :)

opam install -y --jobs=8 plotkicadsch

Building locally gets you the "development" version, whereas your stanza builds the version tagged in opam. @leardilap wants to have the "development" version which adds the ability to search for schematics in sub-directories of a project.

from plotkicadsch.

leoheck avatar leoheck commented on August 10, 2024

Oh, I see, I want to have this feature too. I was not able to install it in any way.
The trick was this 4.07.0 instead of this 4.06.0. Maybe is good to update this in the README.md

I was not able to build it locally yet

from plotkicadsch.

Related Issues (20)

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.