Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old May 3, 2009, 18:49   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Installing with Linux

A day or two I was trying to install in Linux I consulted http://rephial.org/wiki/Compiling#s2_2 and used ...

Code:
./configure --with-noinstall
make
It didn't work.

After some fiddling around I found that
a) Changing to root
b) Using
Code:
autogen
./configure --with-noinstall
make
Did work.

However today I'm stuck with autogen not working again.

I'm using a variety of slackware Linux and I'm a complete novice with it. Any clues, hints, etc.?
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old May 3, 2009, 19:18   #2
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
I reported some really really strange problems, maybe within the last week, in some other thread, trying to compile the dev code. My ./configure was unable to correctly process noinstall or no-install or whatever it is.

My suggestion is that you throw away what you have, since there are probably a bunch of invisible files owned by root that you have generated, and start over with a fresh unzipped directory. Hopefully you do not need to do anything as root.

I hope I remember the names correctly.
Try ./autogen.sh followed by a simple ./configure
Then cd into src and make -f Makefile.std
Then copy the executable up, i.e. cp angband ..
Then write yourself a little script that cds to the directory with the copied executable and runs from there and put the script in some directory in your path.

This might work. I have not tried it since I needed a multiuser system.

If you want an install shared by multiple users, things get a little more complicated. I used make install, but if you have both 3.0 and 3.1 fighting over /usr/local/share there will be conflicts for sure.
PowerDiver is offline   Reply With Quote
Old May 3, 2009, 19:24   #3
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,947
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
I reported some really really strange problems, maybe within the last week, in some other thread, trying to compile the dev code. My ./configure was unable to correctly process noinstall or no-install or whatever it is.

My suggestion is that you throw away what you have, since there are probably a bunch of invisible files owned by root that you have generated, and start over with a fresh unzipped directory. Hopefully you do not need to do anything as root.

I hope I remember the names correctly.
Try ./autogen.sh followed by a simple ./configure
Then cd into src and make -f Makefile.std
Then copy the executable up, i.e. cp angband ..
Then write yourself a little script that cds to the directory with the copied executable and runs from there and put the script in some directory in your path.
The only steps you need from there are actually "make -f Makefile.std" and the last step. configure has no effect with makefile.std, and it automatically does the cp angband .. bit.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old May 3, 2009, 19:25   #4
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,947
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by PaulBlay View Post
A day or two I was trying to install in Linux I consulted http://rephial.org/wiki/Compiling#s2_2 and used ...

Code:
./configure --with-noinstall
make
It didn't work.
In what sense, 'didn't work'?

Quote:
After some fiddling around I found that
a) Changing to root
b) Using
Code:
autogen
./configure --with-noinstall
make
Did work.

However today I'm stuck with autogen not working again.

I'm using a variety of slackware Linux and I'm a complete novice with it. Any clues, hints, etc.?
If you provide details of error messages or specific problems aside from "it's not working" it's much easier to diagnose things.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old May 3, 2009, 19:30   #5
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by takkaria View Post
The only steps you need from there are actually "make -f Makefile.std" and the last step. configure has no effect with makefile.std, and it automatically does the cp angband .. bit.
I thought there was something about some include file that needed to be generated in src, maybe autoconf.in?, but clearly if we are disagreeing I was confused.
PowerDiver is offline   Reply With Quote
Old May 3, 2009, 19:38   #6
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by takkaria View Post
In what sense, 'didn't work'?
Froze, no error message (or any other sort of message).

I've just figured out that it apparently needs to be "autogen.sh" not "autogen" typed in the terminal. This time around it worked without going to root first (although I'm not sure what, if anything, I did differently).
__________________
Currently turning (Angband) Japanese.
PaulBlay 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 in Linux trickypig Vanilla 6 November 16, 2008 15:26
How to display subwindows in Linux? dfreer Vanilla 4 October 4, 2008 10:07
Compiling on Linux... HowTo? MKula Vanilla 22 March 12, 2008 17:40
Angband 3.0.9 under Linux (graphics?) strangeintp Vanilla 4 January 19, 2008 22:44
Unangband on Linux: tiles ? MDCore Variants 2 November 3, 2007 06:27


All times are GMT +1. The time now is 02:07.


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