ubuntu (compiling error(?)) compilation error ghc?
Sun, 2010-05-16 20:09
Hi im new around here, im mexican, so, im sorry about the ortographic errors.
em... here my problem
jrs275@jrs275-laptop:~$ sudo su
[sudo] password for jrs275:
root@jrs275-laptop:/home/jrs275# cd /home/jrs275/hedgewars-src-0.9.13
root@jrs275-laptop:/home/jrs275/hedgewars-src-0.9.13# cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" -DDATA_INSTALL_DIR="data_dir"
-- Building Release
CMake Error at gameServer/CMakeLists.txt:4 (message):
Cannot find GHC
-- Configuring incomplete, errors occurred!
root@jrs275-laptop:/home/jrs275/hedgewars-src-0.9.13#
Thank you
Ok im trying installing ghc if that was my problem.... i didnt knew it was a program jeje
just add to the cmake line (with a leading space so it's not attached to the other setting:
-DWITH_SERVER=false
Also building as root is a BAD idea. Only Make install with sudo. Run make and cmake as a normal user or you may run into some fiddly permission problems.
Pit has finaly returned. FINALY.
Thank you both answers, the cause was i hadnt a requited software, ive already installed hedgewars, now theres just a little problem, i dont know how to run , maybe theres a file to run, but i cant find it, and i cant find a post about it. would you help please?
jsr275, hedgewars is part of lucid, you don't need to build unless you want to build HEAD.
As for where it installs be default, there should be a file called hedgewars somewhere probably /usr/local/bin/hedgewars if you weren't installing it to your home (which I recommend for building on your own).
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
nemo, first of all, thanks for anwering, emmm i didnt understood the thing about "build", i dont know what you mean. I installed the game in
Well, I can only imagine you ran sudo at some point in the install (you shouldn't have).
There is no way the files could have ended up owned by root otherwise.
Go ahead and fix w/ sudo chown, or, yes, reinstall.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
But again. Why are you going to all this trouble? Just go to:
Applications->Ubuntu Software Centre
0.9.13 is part of Lucid Lynx
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Just to add: you don't have to install the game if you'd like to run it from within home (or change the install_prefix variable to another location).