Giter Site home page Giter Site logo

colm_docker's Introduction

Environment to reproduce 32bits colm compiling error

Note that it needs more than 5GB of free disk space to pull it.

You also can't be running any Virtual Machine at the same time (VirtualBox at least) or the qemu emulator in the Docker won't be able to start (see Error on start at the bottom of this README).

My host system had virtualbox-5.2 installed, which may pull some virtualization related dependencies to make this docker image work... if it doesn't work, you may need to install those.

Pull the image

docker pull awesomebytes/colm_environment:1

Run

docker run --privileged -v $HOME:/shared -it awesomebytes/colm_environment:1

Start the VM with the environment:

# This starts the qemu VM, takes 1min30s for me
./COLM-start

# IMPORTANT!!!!! login into the user when you are in the VM shell, the prompt looks like:
# sh-4.4#
su - abuild
# Now the prompt looks like:
# abuild@localhost:~>

# now go for business
cd ~/rpmbuild/BUILD/colm-0.13.0.5
make clean
./configure
make

# Wait a minute and you'll get:
# ./bootstrap1 -c -o gen/parse2.c -e gen/if2.h -x gen/if2.cc colm.lm
# bootstrap1: tree.c:953: colm_tree_downref: Assertion `tree->refs > 0' failed.

Build if you prefer

You can also build the image yourself, it will take a while as it needs to download a 4GB file and download & install 200mb worth of ubuntu packages.

docker build -t colm_environment .

Then your run command will be instead:

docker run --privileged -v $HOME:/shared -it colm_environment

Error on start

The error in that case is:

ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
failed to initialize KVM: Device or resource busy

colm_docker's People

Contributors

awesomebytes avatar

Watchers

 avatar  avatar  avatar

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.