logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
OK, got another question..

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Thu Dec 03, 2009 4:22    Post subject: OK, got another question.. Reply with quote

I re-installed the OS because I had some serious issues with it. On reinstall, I set up NWN again, and came across Fireboar's newest update of NWNx_Easy, used it to get the newest plugins. Everything went fine to that point. Started up the server:

Code:

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0x281df7
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0x281e1e
* Parsing configuration...
NWN Extender v2.7.1-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2009 by virusman and Acaos
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Searching for signatures...
* Loading modules...
FUNCTIONS plugin registered.
AREAS plugin registered.
TWEAKS plugin registered.
RESETPLUGIN plugin registered.
EVENTS plugin registered.
STRUCTS plugin registered.
PROFILER plugin registered.
MNX plugin registered.
DEFENSES plugin registered.
HASHSET plugin registered.
SPELLS plugin registered.
FIXES plugin registered.
LETO plugin registered.
TMI plugin registered.
FUNCS plugin registered.
ODBC plugin registered.
NWNX Ruby Initialized
RUBY plugin registered.
RESMAN plugin registered.
WEAPONS plugin registered.
CHAT plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "The Shard Beta7".................(eval): [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]

./nwnstartup.sh: line 26:  9789 Aborted                 ./nwserver -publicserver 1 -servername "The Shard Beta" -port 5121 -dmpassword "something" -oneparty 0 -pvp 1 -difficulty 3 -elc 0 -ilr 0 -reloadwhenempty 0 -module "The Shard Beta7" -maxclients 32 -servervault 1 -maxlevel 40 -gametype 12 -autosaveinterval 0 "$@"

NWNX2lib: Init
./nwnstartup.sh: line 26:  9795 Segmentation fault      sleep 5


Is ruby the reason for this crash? If so, how to I configure it to work properly?

Also..wow, there are a lot of new plugins since I last ran my server..
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
Goddard



Joined: 23 Nov 2009
Posts: 22

PostPosted: Thu Dec 03, 2009 5:49    Post subject: Reply with quote

Im curious as to how you got it working up to this point.
Back to top
View user's profile Send private message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Thu Dec 03, 2009 6:12    Post subject: Reply with quote

Basically, I installed the packages listed and executed install.sh in the directory where the install script was (I put the rar in a folder inside my nwn dir and compiled the plugins there, then moved the plugins to the main directory)
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Thu Dec 03, 2009 10:56    Post subject: Reply with quote

Can we stick to one thread please?
Back to top
View user's profile Send private message
Goddard



Joined: 23 Nov 2009
Posts: 22

PostPosted: Fri Dec 04, 2009 8:52    Post subject: Reply with quote

I reinstalled my operating system and attempted to follow the quick install guide.

Ran this in my terminal window
Quote:
sudo apt-get install gcc build-essential zlib1g-dev libmysqlclient15-dev gperf ruby1.8-dev


cd to my nwnx path (i did it the slow way Very Happy )
Quote:
cd Downloads


Quote:
cd nwnx-easy


Ran install.sh
Quote:
./install.sh


This is my error.

Code:
[: 13: ruby1.8-dev: unexpected operator
[: 13: gtk-clearlooks-gperfection2-theme: unexpected operator
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking for a sed that does not truncate output... /bin/sed
checking whether the C compiler accepts the -mtune=i386 flag... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking fcntl.h usability... no
checking fcntl.h presence... no
checking for fcntl.h... no
configure cannot find necessary include files.
make: *** No rule to make target `distclean'.  Stop.
Configuration failed - check the README and ensure you have all required packages installed.


This is on a fresh Ubuntu 9.10 install. They only thing that has been done is uninstalling gnome games empathy, evolution, orca, and I also installed the restricted extras, but I believe that is the only deviation I did from a vanilla install.
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Fri Dec 04, 2009 23:06    Post subject: Reply with quote

It's probably gcc 4.4. NWNX builds perfectly with 4.3.

What is the output of the following command?

Code:
gcc -v


EDIT: Ah, I've seen your post on the ubuntu forums and you are indeed using gcc 4.4. I guess NWNX needs a lot of changes to get it to compile and run under gcc 4.3, so what I suggest is going for an older version of GCC, either through another distribution (older version of Ubuntu, or Debian stable) or by some other method. Note: don't get the package from Sourceforge, that's horrendously out of date (the base package hasn't changed in years).

EDIT 2: Okay, try this. Uninstall gcc. Then do:

sudo apt-get install gcc-4.3

Now try again. If it fails, open install.sh in a text editor and change the line at the top from #!/bin/sh to #!/bin/bash.
Back to top
View user's profile Send private message
elven



Joined: 28 Jul 2006
Posts: 259
Location: Germany

PostPosted: Mon Dec 07, 2009 17:09    Post subject: Re: OK, got another question.. Reply with quote

william_hunter wrote:

Code:

Server: Loading module "The Shard Beta7".................(eval): [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]




Yes, this is nwnx_ruby imploding directly after module load. Probably an uncaught exception. If you're not using nwnx_ruby, remove the .so file, though then it shouldn't explode in the first case.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group