![]() |
#1 |
Apprentice
Join Date: Jun 2007
Posts: 78
![]() |
[PosChengband 3.3.4] Compile on Ubuntu
I've tried to compile latest version on Ubuntu 12.04, and got a souple of errors. 'autogen.sh' returned 'aclocal failed', make - obviously - can't find '/mk/buildsys.mk', and, after slight edit in makefile, '/mk/buildsys.mk.in' has no rule for '.deps'.
So, before I dive blindly in the code searching for solution, can someone, who managed to compile that version on Unix, help? Thanks, Cheers, Peter |
![]() |
![]() |
![]() |
#2 |
Veteran
Join Date: Jun 2007
Posts: 1,388
![]() |
You're probably missing a package called "build-essential", or one of the automake* ones.
|
![]() |
![]() |
![]() |
#3 |
Apprentice
Join Date: Jun 2007
Posts: 78
![]() |
|
![]() |
![]() |
![]() |
#4 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,320
Donated: $60
![]() ![]() |
It was me that hacked the V build system into PosCheng - and I don't really claim to be an expert. I think the aclocal failed message is probably out of the autogen.sh script itself. My top two guesses would be
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#5 |
Rookie
Join Date: May 2014
Location: 7 floors above a dungeon
Posts: 13
![]() |
I am also trying to compile a Windows copy of PosChengband 3.3.4 using Cygwin. I too am hitting the "/mk/buildsys.mk: No such file or directory" error, but unlike Arendil, my change to the Makefile didn't work. I've never used Make before today, and I'm a very novice coder. How do I make Make work?
Thanks. |
![]() |
![]() |
![]() |
#6 | |
Veteran
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,392
![]() |
Quote:
I thought that --prefix might help here but you can't do that until configure, can you? As an aside, I know a lot of these build conventions are trying to do things the 'proper unix way', but given that most people who build these things are newbies (myself included), writing stuff to places that your local user probably can't touch with sudo seems cruel ![]()
__________________
Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.' |
|
![]() |
![]() |
![]() |
#7 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,320
Donated: $60
![]() ![]() |
OK, I misread the OP - obviously it should be writing to ./mk, and it does for me. Maybe this is the problem.
Arendil, are you running ./autogen.sh in the PosChengband directory? Because that ought to work.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#8 |
Apprentice
Join Date: Jun 2007
Posts: 78
![]() |
Ok, it seems I'm stupid, well kinda...
![]() I would've sworn I have automake installed, but didn't. After installing default version, compilation went without errors. Thanks Nick. riftor_77, That's not exactly answer to your problem, but the trivial way to compile PosChengband under Windows is to use Visual Studio 2010 Express (i.e. free) version. Open solution file, build, kaboom, done. |
![]() |
![]() |
![]() |
#9 | |
Adept
Join Date: Jul 2009
Location: USA
Posts: 118
![]() |
Quote:
__________________
My first legit winner http://angband.oook.cz/ladder-show.php?id=5114 |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile Error in Ubuntu 13.04 | bobthegreat | Development | 6 | January 15, 2014 16:36 |
Angband on Ubuntu 12.04? | fruviad | Development | 9 | June 16, 2013 21:25 |
ZangbandTK in Ubuntu | Vellumlisp | Variants | 4 | March 15, 2012 20:02 |
Ubuntu installation... | aaronchall | Vanilla | 10 | July 24, 2010 18:04 |
Ubuntu SDL Help? | benhamill | Vanilla | 12 | February 24, 2009 21:19 |