Comments (6)
It's probably close to what I did in #114 for Ubuntu on Windows.
from problemtools.
I've had success with telling people to use the following:
sudo apt install libboost-regex-dev libc6 libgcc1 automake libgmp-dev libgmp10 libgmpxx4ldbl libstdc++6 python python-yaml python-plastex texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra texlive-lang-cyrillic tidy ghostscript
the differences to your linked command line being that mine includes: libboost-regex-dev, libc6, libgcc1, libgmp10, libgmpxx4ldbl, libstdc++6, python, python-yaml, python-plastex, ghostscript
while yours includes: virtualenv, libboost-all-dev, texlive-latex-base, texlive-fonts-extra, texlive-lang-greek, openjdk-8-jre-headless
from problemtools.
I included virtualenv so I could install your pip into a virtual environment rather than into personal space (or system wide); if you have root and are willing to install in your home directory you don't need it. I just like it personally.
If you don't install a version of Java (like openjdk-8-jre-headless) then VIVA will not work, and in fact fail with a weird error.
The GMP packages are probably necessary on WSL as well and should be included, I think I had those from some previous software I installed.
For the texlive stuff, I just tried a few things and then noted everything I'd installed. Without the cyrillic package you get a weird error about ot2enc.def not defined.
And I think latex*recommend probably includes *base. Having some redundant packages is probably not a killer.
from problemtools.
I went with the list of packages used by the Docker images (which might have some redundancies but I think it is about as small as it can be).
from problemtools.
This won't support viva, which needs a JRE. (Sorry, just noticed that I'd already said that.)
Also, semi-related, I wasn't able to get the docker images to work, specifically couldn't get the bind mount to work. Obviously, this is not a problemtools issue, but WSL is orders of magnitude more convenient than Docker for people who choose or have to run problemtools in Windows. (Just the fact that in order to install Docker, you have to disable VirtualBox is annoying). Consider officially supporting it.
from problemtools.
This won't support viva, which needs a JRE.
This is true, but I don't really want to say that this is a dependency for problemtools because it is only a dependency for working with packages that have viva scripts, which is a small fraction of all packages.
What I do want to do however is to improve the error message that one gets when VIVA fails due to Java being missing so that it is clear to the user that the error they just got can be resolved by installing Java.
Consider officially supporting it.
I was actually just looking at your #114, nice! It seems like something that should be added to the documentation.
from problemtools.
Related Issues (20)
- input_validator_flags unexpected behaviour with test data groups HOT 1
- No support for F# HOT 1
- Required plasTeX version? HOT 2
- OSX 12.5 install attempt HOT 2
- OSX running verifyProblem trying to compile c++ solution HOT 2
- problem2html crashing HOT 1
- Timing calculation needs to be conservative HOT 3
- Strange TLE verdicts for PAC submissions - unreported time margin used HOT 3
- MacOS Support - ERROR in input format validators: No input format validators found HOT 5
- pip3 system-wide option installs in $HOME/.local/bin HOT 4
- accept_score expected to be number, not string HOT 1
- Outdated DockerHub images HOT 3
- Disentangle score, score, and score.txt for scoring problem with scoring and nonscoring validators
- Verifyproblem Kotlin version >= 1.7
- Symlinks for reuse of input files with different output validator flags HOT 5
- verifyproblem not showing what test case led to WA if it gets PAC
- Use Black formatting HOT 3
- Unclear how the problemtools toolchain relates to the problem package format spec HOT 1
- verifiy problem not working HOT 2
- Fix ambiguous warning around languages that are "not recommended" for output validators HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from problemtools.