Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old September 3, 2012, 09:34   #61
LostTemplar
Knight
 
Join Date: Aug 2009
Posts: 670
LostTemplar is on a distinguished road
I allways have troubles with all this autoconf stuff too, btw simple make -f Makefile.win from cygwin environment works (after I manually edit this file and insert correct paths to gcc, etc. makefile by itself tends to obtain paths from environment variables but just editing makefile was simpler solution for me)
LostTemplar is offline   Reply With Quote
Old September 3, 2012, 09:42   #62
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,836
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by TricksterWolf View Post
P.S. Is there a Java version of Angband-style roguelikes available anywhere which uses graphical tiles, aside from the impending ToME rebirth? That'd be a much faster tool for what I want to do (my own variant, open-source).
I don't believe so (although I have a vague feeling that there has been at least one abortive attempt).

Going further off-thread-topic, a post about your incipient variant would be interesting.
__________________
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 September 3, 2012, 10:25   #63
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,936
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by TricksterWolf View Post
First off, much thanks for the rapid response.

Unfortunately, that command is what NetBeans was trying. Invoking it from within Cygwin produces the same errors.

For an exact quote, when building angband's current release (3.3.2):

Code:
$ make -f Makefile
mk/buildsys.mk:21: mk/extra.mk: No such file or directory
mk/buildsys.mk:377: mk/sinclude.mk: No such file or directory
make: *** No rule to make target `mk/sinclude.mk'.  Stop.
Ah, you shouldn't be using Makefile - use Makefile.win, it's the Windows-specific one, in the same way Makefile.osx is for OS X etc.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old September 4, 2012, 14:29   #64
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
@TricksterWolf - if you do get a successful build from autoconf+cygwin, please document and post it, as it's currently missing from our build guides!
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 8, 2012, 19:44   #65
TricksterWolf
Scout
 
Join Date: Sep 2012
Posts: 43
TricksterWolf is on a distinguished road
Quote:
Originally Posted by myshkin View Post
Yes, you need the autoconf package.
Ok.

I installed everything that came up on a search for autoconf except for the development version (I'm using the stable version).

I still get the same error:

Code:
*info* running aclocal
*error* aclocal failed. (exit code = 127)
./autogen.sh: line 38: aclocal: command not found
I get this error regardless as to whether I run it in NetBeans or at the Cygwin command line. It doesn't know anything about an "aclocal".
TricksterWolf is offline   Reply With Quote
Old September 8, 2012, 20:58   #66
TricksterWolf
Scout
 
Join Date: Sep 2012
Posts: 43
TricksterWolf is on a distinguished road
Okay, after searching online I have discovered that aclocal is in the automake package. So I installed every version of everything automake, and the autogen shell script works now. It doesn't create the .mk files from the .mk.in files, however.

I tried making in the cygwin terminal and no difference. I'm still missing something that will turn the .mk.in files into .mk files. I was told this was configure, but I don't exactly see how configure comes into play. I can run it, and I can see the options, but what do I need to set to turn the .mk.in files into .mk files in root/mk for my angband project? Again, autogen.sh runs now, but doesn't create the .mk files.
TricksterWolf is offline   Reply With Quote
Old September 8, 2012, 21:06   #67
TricksterWolf
Scout
 
Join Date: Sep 2012
Posts: 43
TricksterWolf is on a distinguished road
Success!

I just had to run configure and wait for it to finish... I had accidentally stopped it previously.

Unfortunately, main.c would not compile due to modules[] having zero or negative size. That was the only error I hit on a clean and build, however, so now I'll screw around with it to see if I can get it to make something that actually works.
TricksterWolf is offline   Reply With Quote
Old September 8, 2012, 23:31   #68
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,836
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by TricksterWolf View Post
Success!

I just had to run configure and wait for it to finish... I had accidentally stopped it previously.

Unfortunately, main.c would not compile due to modules[] having zero or negative size. That was the only error I hit on a clean and build, however, so now I'll screw around with it to see if I can get it to make something that actually works.
Good effort.

Your problem will be that you need to have one of the front ends - x11, gcu or sdl - enabled. That will require x11, curses or SDL libraries for windows - as a first attempt you could just add --enable-x11 to configure, and see what happens.

Or you could just use Makefile.win like takkaria suggested
__________________
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 September 9, 2012, 19:27   #69
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by Nick View Post

Or you could just use Makefile.win like takkaria suggested
If this helps, I believe Angband compiles with little to no issues with MINGW (rather than cygwin). I believe most of the Angband devteam works with MINGW.

With MINGW the command line for makefile.win is "make -f makefile.win MINGW=YES".
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old September 10, 2012, 19:43   #70
david3x3x3
Scout
 
Join Date: Jun 2009
Posts: 28
david3x3x3 is on a distinguished road
Quote:
Originally Posted by nppangband View Post
If this helps, I believe Angband compiles with little to no issues with MINGW (rather than cygwin). I believe most of the Angband devteam works with MINGW.
I build with Cygwin. Are you following the instructions in compiling.txt? I submitted an update to those instructions and some changes to the buildsys that weren't working with Cygwin. As far as I know everything works fine with the current version.
david3x3x3 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
Compiling Angband on MS-DOS Zababa Development 8 May 27, 2011 18:36
Compiling Angband 3.0.9 w/ xcode on OSX Iemortal Vanilla 8 April 16, 2011 17:41
Compiling Z+Angband under Windows Altefcat Variants 8 December 11, 2008 10:44
compiling vanilla angband on msvc++ 9 express hugh Vanilla 6 March 17, 2008 16:49
Trouble compiling angband 3.0.9 on linux RastaRuedi Vanilla 2 August 1, 2007 18:28


All times are GMT +1. The time now is 13:54.


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