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 
 
NWserver and NWNx2

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



Joined: 14 Apr 2005
Posts: 3

PostPosted: Thu Apr 14, 2005 1:03    Post subject: NWserver and NWNx2 Reply with quote

okay, I installed nwnx2 and nwn on the server for running a pw but when I run the nwserver with the -module "mod name" it starts to load, then shows up on gamespy for a second or two then it stops the server and says.

Quote:

Aborted (Core Dumped)


Anyone knows what I am doing wrong?
Back to top
View user's profile Send private message
Arrabal



Joined: 16 Apr 2005
Posts: 1

PostPosted: Sat Apr 16, 2005 5:19    Post subject: Reply with quote

We've made some progress on this, but all of us are new to liunux and some help would be appreciated greatly. I have posted some of the relavant information below--if anyone has any ideas as to what we are doing wrong we'd be in your debt.

This is from the telnet window:
Code:

[~]# ./nwnstartup.sh

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81e5210, new SetString() at 0xb7ff5f58
* Parsing configuration...
NWN Extender v2.5.3-rc1
(c) 2004 by the APS/NWNX Linux Conversion Group
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Loading modules...
[HASHSET] SetDebugLevel(0) called.  Current value=0
HASHSET plugin Registerred.
[Database] SetDebugLevel(0) called.  Current value=0
ODBC plugin Registerred.
[MNX] SetDebugLevel(0) called.  Current value=0
MNX plugin Registerred.
[FUNCTIONS] SetDebugLevel(0) called.  Current value=0
FUNCTIONS plugin Registerred.
./nwnstartup.sh: line 20: 28594 Segmentation fault      (core dumped) ./nwserver -publicserver 1 -servername "Firinn Of Elisair" -dmpassword shadowstorm -oneparty 0 -pvp 2 -difficulty 3 -elc 0 -reloadwhenempty 0 -module "Firinn_of_Elisair" -maxclients 72 -servervault 1 -maxlevel 40 -gametype 12 -autosaveinterval 0 "$@"
[~]#


This is the nwnstartup.sh
Code:

#!/bin/sh

export LD_PRELOAD=./nwnx2.so

./nwserver \
   -publicserver 1 \
   -servername "Firinn Of Elisair" \
   -dmpassword xxxxxxxxx \
   -oneparty 0 \
   -pvp 2 \
   -difficulty 3 \
   -elc 0 \
   -reloadwhenempty 0 \
   -module "Firinn_of_Elisair" \
   -maxclients 72 \
   -servervault 1 \
   -maxlevel 40 \
   -gametype 12 \
   -autosaveinterval 0 \
   "$@"


Can also post the config log if that would help, but will wait to do so unless it is requested due to the length.

Arrabal


Last edited by Arrabal on Wed Apr 27, 2005 4:41; edited 1 time in total
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat Apr 16, 2005 9:54    Post subject: Reply with quote

I can not really help you with linux specific issues, but no matter what operating system: A good idea is to start small and then add things until it stops working. Remove all unneeded plugins (hashset, mnx, ...) and see if it works then.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dae'Loki



Joined: 14 Apr 2005
Posts: 3

PostPosted: Sat Apr 16, 2005 18:26    Post subject: Reply with quote

okay, I did the ./configure to create the files to run nwnx2, but it gives me the following message.

"Checking for c compiler defaults output... configure: Error: C compiler cannot create executables"

Any ideas?
Back to top
View user's profile Send private message
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Sun Apr 17, 2005 1:31    Post subject: Reply with quote

Two quick commands to make a program and build it:

$ echo "int main() { return 0; }" > test.c
$ gcc test.c

With any luck, it should produce a file named a.out, if not it'll give you an error relating to why it failed, common possibilities.. you might not have gcc installed, or the equliviant on your machine of missing debians libc6-dev package.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dae'Loki



Joined: 14 Apr 2005
Posts: 3

PostPosted: Wed Apr 20, 2005 21:59    Post subject: Reply with quote

We have gcc installed, but it says that the following files are missing in the log file.


conftest.c
confdefs.h


It gives the following error in the log file, I think this would help with this.

Quote:
configure:1356: checking for C compiler default output
configure:1359: gcc -mcpu=i386 conftest.c >&5
gcc: installation problem, cannot exec `cc1': No such file or directory
configure:1362: $? = 1
configure: failed program was:
#line 1340 "configure"
#include "confdefs.h"
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