MLstate / opalang

The Opa Language for Web Application Development
http://opalang.org
Other
1.25k stars 126 forks source link

During installation #118

Closed HHamza closed 9 years ago

HHamza commented 11 years ago

Hello Everyone,

I want to start web development with opa, but I run into some difficulties ; so I am asking for some pieces of advice : I am using ubuntu LTS 12.04; when I tried the follwing command

      sudo apt-get install make nodejs npm

I got the follwing message :

Reading package lists... Done Building dependency tree
Reading state information... Done make is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: nodejs : Depends: rlwrap but it is not going to be installed Conflicts: npm npm : Depends: node-node-uuid but it is not going to be installed Depends: node-request but it is not going to be installed Depends: node-mkdirp but it is not going to be installed Depends: node-minimatch but it is not going to be installed Depends: node-semver but it is not going to be installed Depends: node-ini but it is not going to be installed Depends: node-graceful-fs but it is not going to be installed Depends: node-abbrev but it is not going to be installed Depends: node-nopt but it is not going to be installed Depends: node-fstream but it is not going to be installed Depends: node-rimraf but it is not going to be installed Depends: node-tar but it is not going to be installed Depends: node-which but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

So what to do about these dependencies issue ? The next commands could not/are not going to work of course.

vagn commented 11 years ago

On 04/02/2013 08:06 AM, HHamza wrote:

Hello Everyone,

I want to start web development with opa, but I run into some difficulties ; so I am asking for some pieces of advice : I am using ubuntu LTS 12.04; when I tried the follwing command

sudo apt-get install make nodejs npm

I got the follwing message :

Reading package lists... Done Building dependency tree

Reading state information... Done make is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: nodejs : Depends: rlwrap but it is not going to be installed Conflicts: npm npm : Depends: node-node-uuid but it is not going to be installed Depends: node-request but it is not going to be installed Depends: node-mkdirp but it is not going to be installed Depends: node-minimatch but it is not going to be installed Depends: node-semver but it is not going to be installed Depends: node-ini but it is not going to be installed Depends: node-graceful-fs but it is not going to be installed Depends: node-abbrev but it is not going to be installed Depends: node-nopt but it is not going to be installed Depends: node-fstream but it is not going to be installed Depends: node-rimraf but it is not going to be installed Depends: node-tar but it is not going to be installed Depends: node-which but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

So what to do about these dependencies issue ? The next commands could not/are not going to work of course.

— Reply to this email directly or view it on GitHub https://github.com/MLstate/opalang/issues/118.

I installed from source to get around these issues. Details here:

http://agawamtech.com/blog/2013/03/opa-from-source-on-ubuntu-12-04-lts/

The scripts assume a fresh install of ubuntu. I did not look into what sort of cleanup would be required after attempting another install method.

I would recommend setting up a virtualbox instance and testing there.

Regards,

vagn

HHamza commented 11 years ago

Thank you VGN ; I'll look into it and see how it goes :-)