gwsystems / composite

A component-based OS
composite.seas.gwu.edu
185 stars 70 forks source link

Update Tools necessary for Composite (missing/obsolete python) #440

Closed luisalfonsopreciado closed 2 years ago

luisalfonsopreciado commented 2 years ago

Summary of this Pull Request (PR)

Updated tools necessary for composite in doc/README.md

Intent for your PR

Update tools necessary for Composite.

I have gotten this error several times when setting up environment after running ./cos build:

/bin/sh: 1: gdb: not found
cd composer/ ; cargo build
/bin/sh: 1: cargo: not found
make: *** [Makefile:14: composer] Error 127
make: Leaving directory '/home/ubuntu/composite/src'

After installing:

sudo apt-get -y install cargo
sudo apt-get -y install gdb

I am able to ./cos build successfully.

Choose one (Mandatory):

Reviewers (Mandatory):

@gparmer

Code Quality

As part of this pull request, I've considered the following:

Style:

Code Craftsmanship:

Testing

I've tested the code using the following test programs (provide list here):

gparmer commented 2 years ago

I worry about using apt-get to install cargo as it seems like much of the rust world uses rustup to install and update. (See https://doc.rust-lang.org/cargo/getting-started/installation.html). I can only imagine this would conflict with that? Maybe just include this instead:

curl https://sh.rustup.rs -sSf | sh

luisalfonsopreciado commented 2 years ago

I worry about using apt-get to install cargo as it seems like much of the rust world uses rustup to install and update. (See https://doc.rust-lang.org/cargo/getting-started/installation.html). I can only imagine this would conflict with that? Maybe just include this instead:

curl https://sh.rustup.rs -sSf | sh

Sounds reasonable, updated commit.