Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old July 10, 2014, 23:23   #1
Arendil
Apprentice
 
Join Date: Jun 2007
Posts: 78
Arendil is on a distinguished road
[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
Arendil is offline   Reply With Quote
Old July 11, 2014, 06:50   #2
AnonymousHero
Veteran
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 1,383
AnonymousHero is on a distinguished road
You're probably missing a package called "build-essential", or one of the automake* ones.
AnonymousHero is offline   Reply With Quote
Old July 12, 2014, 00:14   #3
Arendil
Apprentice
 
Join Date: Jun 2007
Posts: 78
Arendil is on a distinguished road
Quote:
Originally Posted by AnonymousHero View Post
You're probably missing a package called "build-essential", or one of the automake* ones.
Erm, no. Latest version already installed. Any other ideas? Anyone?
Arendil is offline   Reply With Quote
Old July 12, 2014, 01:41   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,170
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
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
  • You don't have aclocal installed or
  • It's a permissions issue - either for running aclocal, or writing files to the top level directory
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old July 14, 2014, 04:56   #5
riftor_77
Rookie
 
riftor_77's Avatar
 
Join Date: May 2014
Location: 7 floors above a dungeon
Posts: 13
riftor_77 is on a distinguished road
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.
riftor_77 is offline   Reply With Quote
Old July 14, 2014, 12:10   #6
debo
Veteran
 
debo's Avatar
 
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,389
debo is on a distinguished road
Quote:
Originally Posted by Nick View Post
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
  • You don't have aclocal installed or
  • It's a permissions issue - either for running aclocal, or writing files to the top level directory
Why on earth is it writing to /mk instead of ./mk?

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.'
debo is offline   Reply With Quote
Old July 14, 2014, 12:39   #7
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,170
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by debo View Post
Why on earth is it writing to /mk instead of ./mk?
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.
Nick is offline   Reply With Quote
Old July 14, 2014, 14:22   #8
Arendil
Apprentice
 
Join Date: Jun 2007
Posts: 78
Arendil is on a distinguished road
Quote:
Originally Posted by Nick View Post
  • You don't have aclocal installed or
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.
Arendil is offline   Reply With Quote
Old July 15, 2014, 01:12   #9
JohnCW9
Adept
 
Join Date: Jul 2009
Location: USA
Posts: 118
JohnCW9 is on a distinguished road
Quote:
Originally Posted by Arendil View Post
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.
That version at least here is no longer available. I was forced in 2013
__________________
My first legit winner http://angband.oook.cz/ladder-show.php?id=5114
JohnCW9 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error in Ubuntu 13.04 bobthegreat Development 6 January 15, 2014 17:36
Angband on Ubuntu 12.04? fruviad Development 9 June 16, 2013 22:25
ZangbandTK in Ubuntu Vellumlisp Variants 4 March 15, 2012 21:02
Ubuntu installation... aaronchall Vanilla 10 July 24, 2010 19:04
Ubuntu SDL Help? benhamill Vanilla 12 February 24, 2009 22:19


All times are GMT +1. The time now is 10:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.