Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old June 29, 2013, 00:05   #21
Join Date: Apr 2009
Posts: 231
Spacebux is on a distinguished road
Resolved. Thank you.

Originally Posted by AnonymousHero View Post
I'm afraid I don't have any help for your issue, but the command snippet you pasted seems to indicate that you're logging in and compiling as the "root" user. I just wanted to say: please don't do that -- it's incredibly unsafe and a single bad makefile can compromise your machine or delete all your files.

Btw, love the machine name .

Wasn't sure if my being a different user I had access issues to certain libraries or not, so I wanted to compile as 'root'. Yeah, beware the Sys-Admin with a screw driver.

ok - I installed X11 libraries and ncurses just to be safe. Not sure if it was absolutely necessary, but I did. For those that may come after me, compiling/installing in Linux:

yum install ncurses-devel
yum install libXt-devel

(If you are a Debian user, you'll use replace "yum" with "apt-get" above.

Then run ./configure --enable-x11 and angband will compile without that ISO C error & warning. And, best of all, no seg fault when you try to run it.

- thanks for the compliment on the machine name.
Spacebux is offline   Reply With Quote

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
Why compile programs yourself? (Linux) caruso Idle chatter 24 June 27, 2012 02:41
Anyone got a link to the last nightly version that works? TJS Vanilla 10 November 25, 2010 01:31
[O] Error Using Dev-C++ to compile BennyG Variants 8 October 2, 2009 16:51
cygwin 1.7 compile error david3x3x3 Development 0 September 13, 2009 00:03
Compile error - latest Vanilla Angband SVN PaulBlay Development 3 April 19, 2009 21:20

All times are GMT +1. The time now is 18:36.

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