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 
 
Easy install errors

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



Joined: 18 Jul 2009
Posts: 14

PostPosted: Tue Aug 04, 2009 2:34    Post subject: Easy install errors Reply with quote

I can't get NWNX2 to install on Ubuntu 9.04 server. Here is the output from the ./install.sh.

Code:

root@OnTheDesk:/opt/nwnx2# ./install.sh
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) 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... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for bzero... yes
checking for getspnam... yes
checking for inflateEnd in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mnx/Makefile
config.status: creating functions/Makefile
config.status: creating hashset/Makefile
config.status: creating chat/Makefile
config.status: creating events/Makefile
config.status: creating fixes/Makefile
config.status: creating leto/Makefile
config.status: creating odmbc/Makefile
config.status: creating profiler/Makefile
config.status: creating resman/Makefile
config.status: creating structs/Makefile
config.status: creating tmi/Makefile
config.status: creating config.h
g++  -mcpu=i386   -c -o nwnx2lib.o nwnx2lib.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
nwnx2lib.cpp: In function âvoid PayLoad(const char**, const char**)â:
nwnx2lib.cpp:215: error: âfreeâ was not declared in this scope
nwnx2lib.cpp:223: error: âfreeâ was not declared in this scope
nwnx2lib.cpp: In function âvoid Configure()â:
nwnx2lib.cpp:508: warning: deprecated conversion from string constant to âchar*â
nwnx2lib.cpp:515: warning: deprecated conversion from string constant to âchar*â
nwnx2lib.cpp:520: error: âatoiâ was not declared in this scope
nwnx2lib.cpp:525: error: âatoiâ was not declared in this scope
nwnx2lib.cpp: In function âvoid Log(int, const char*, ...)â:
nwnx2lib.cpp:618: warning: format not a string literal and no format arguments
nwnx2lib.cpp:624: warning: format not a string literal and no format arguments
nwnx2lib.cpp: In constructor âstartstop::startstop()â:
nwnx2lib.cpp:650: warning: format â%pâ expects type âvoid*â, but argument 2 has type âlong unsigned intâ
nwnx2lib.cpp:650: warning: format â%pâ expects type âvoid*â, but argument 3 has type âlong unsigned intâ
nwnx2lib.cpp:652: warning: format â%pâ expects type âvoid*â, but argument 2 has type âlong unsigned intâ
nwnx2lib.cpp:652: warning: format â%pâ expects type âvoid*â, but argument 3 has type âlong unsigned intâ
make: *** [nwnx2lib.o] Error 1
for i in mnx functions hashset chat events fixes leto odmbc profiler resman structs tmi; do make -C $i clean; done
make[1]: Entering directory `/opt/nwnx2/mnx'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/mnx'
make[1]: Entering directory `/opt/nwnx2/functions'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/functions'
make[1]: Entering directory `/opt/nwnx2/hashset'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/hashset'
make[1]: Entering directory `/opt/nwnx2/chat'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/chat'
make[1]: Entering directory `/opt/nwnx2/events'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/events'
make[1]: Entering directory `/opt/nwnx2/fixes'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/fixes'
make[1]: Entering directory `/opt/nwnx2/leto'
/bin/rm -f *.o *.so *~ LetoSo
make[1]: Leaving directory `/opt/nwnx2/leto'
make[1]: Entering directory `/opt/nwnx2/odmbc'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/odmbc'
make[1]: Entering directory `/opt/nwnx2/profiler'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/profiler'
make[1]: Entering directory `/opt/nwnx2/resman'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/resman'
make[1]: Entering directory `/opt/nwnx2/structs'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/structs'
make[1]: Entering directory `/opt/nwnx2/tmi'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/tmi'
/bin/rm -f *.o *.so *~
for i in mnx functions hashset chat events fixes leto odmbc profiler resman structs tmi; do make -C $i distclean; done
make[1]: Entering directory `/opt/nwnx2/mnx'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/mnx'
make[1]: Entering directory `/opt/nwnx2/functions'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/functions'
make[1]: Entering directory `/opt/nwnx2/hashset'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/hashset'
make[1]: Entering directory `/opt/nwnx2/chat'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/chat'
make[1]: Entering directory `/opt/nwnx2/events'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/events'
make[1]: Entering directory `/opt/nwnx2/fixes'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/fixes'
make[1]: Entering directory `/opt/nwnx2/leto'
/bin/rm -f *.o *.so *~ LetoSo
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/leto'
make[1]: Entering directory `/opt/nwnx2/odmbc'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/odmbc'
make[1]: Entering directory `/opt/nwnx2/profiler'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/profiler'
make[1]: Entering directory `/opt/nwnx2/resman'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/resman'
make[1]: Entering directory `/opt/nwnx2/structs'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/structs'
make[1]: Entering directory `/opt/nwnx2/tmi'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/tmi'
/bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so *~

NWNX has not been compiled, because the scripts seem to be corrupted, or your compiler is incapable of compiling them. Please refer to the NWNX forum for help.
root@OnTheDesk:/opt/nwnx2#


Can someone please help? I need this up by mid this week.

thanks,

OTF
Back to top
View user's profile Send private message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Tue Aug 04, 2009 11:25    Post subject: Reply with quote

I can reproduce this on Ubuntu 8.10. Looks like a nwnx_easy issue, so something for Fireboar, but I'll see if there's a quick workaround.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Tue Aug 04, 2009 11:32    Post subject: Reply with quote

Sure is. Open NWNXBase.h and change the block that reads:
Code:
#include <stdio.h>
#include "gline.h"

to:
Code:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "gline.h"

_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Tue Aug 04, 2009 15:49    Post subject: Reply with quote

It compiled. Thank you a ton!!!

Because you seem to know what your talking about... I have one more question. How does NWNX work with multiple instances? (3 mods that talk to eachother.)

Thank

OTF

Empire Of The Sands PW.
www.empireofthesands.com
Back to top
View user's profile Send private message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Tue Aug 04, 2009 16:21    Post subject: Reply with quote

It works fine as long as you have a separate folder for each instance and use nwn.ini to point them all at the same servervault. Otherwise you'll have them using the same .ini files and logs folder, which doesn't work very well.

When you say the mods talk to each other, what do you mean?
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Tue Aug 04, 2009 17:11    Post subject: Reply with quote

well, we will have it setup so the world it setup withing 3 modules running at the same time. When a player walks into say the Underdark, they get pushed from the main module and dropped into the Underdark module. (All running persistent with a MySQL DB backend.)

OTF

Empire Of The Sands PW
www.empireofthesands.com
Back to top
View user's profile Send private message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Tue Aug 04, 2009 17:48    Post subject: Reply with quote

That's what I was thinking. Sounds fine to me.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Tue Aug 04, 2009 19:19    Post subject: Reply with quote

So far so good. I am creating symlinks to the main instance, but that should be ok. I will post up an update when I get everything working.

OTF
_________________
Empires Of The Sands PW (Now in Beta)
Web: www.empiresofthesands.com
Back to top
View user's profile Send private message
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Wed Aug 05, 2009 15:50    Post subject: Reply with quote

Ok, almost there, it doesn't look like it can see NWNX I think. It fails every time I try to load a module. Here is the output:

(I added the -interactive option in the nwnstartup.sh)

Code:

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xb7f0efbb
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xb7f0e9ed
* Parsing configuration...
WARNING! Unable to open "logs.0/nwnx2.txt" for write, using stdout
NWN Extender v2.7-beta4
--------------------------------
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2008 by virusman
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Loading modules...
ERROR: MNX: OnCreate() failed.
ERROR: EVENTS: OnCreate() failed.
ERROR: HASHSET: OnCreate() failed.
ERROR: CHAT: OnCreate() failed.
ERROR: TMI: OnCreate() failed.
ERROR: PROFILER: OnCreate() failed.
ERROR: RESMAN: OnCreate() failed.
ERROR: LETO: OnCreate() failed.
ERROR: FIXES: OnCreate() failed.
ERROR: ODBC: OnCreate() failed.
ERROR: FUNCTIONS: OnCreate() failed.
ERROR: STRUCTS: OnCreate() failed.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

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

Server: Loading module "demoelven.mod"
Server: Unable to load module
Server: Exiting...
NWNX2lib: Server exiting.
Segmentation fault


I don't think it can see the NWNX .so files. The OnCreate () function keeps crashing.

Here is the contents of my "nwn" directory. (mine is named nwnInst1 because we have 3 instances we have to setup.)

Code:

-rw-rw-r-- 1 fritz 1001      1445 2009-01-12 18:37 CEP_Update.lnk
-rw-rw-r-- 1 fritz 1001        88 2009-01-19 14:46 cepuplinux.sh
-rw-rw-r-- 1 fritz 1001    966016 2002-06-06 00:09 chitin.key
drwxrwxr-x 2 fritz 1001      4096 2008-07-04 15:17 data
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 database
-rwx-w---- 1 fritz 1001  12764158 2008-04-25 17:39 dialog.tlk
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 dmvault
drwx-w---- 3 fritz 1001      4096 2009-08-03 10:26 doc
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 docs
drwxrwxr-x 2 fritz 1001      4096 2009-08-03 17:07 erf
-rw-rw-r-- 1 fritz 1001    342016 2009-02-12 14:43 erf.exe
-rw-rw-r-- 1 fritz 1001    912272 2009-02-12 14:43 erf.linux
-rwxrw-r-- 1 fritz 1001      2345 2003-12-16 10:52 fixinstall
drwxrwxr-x 2 fritz 1001      4096 2009-08-04 16:53 hak
-rw-r--r-- 1 root  root    420324 2009-08-04 08:35 LetoScript.so
-rw-rw-r-- 1 fritz 1001 510976524 2008-07-09 01:00 linuxdedserver169.tar.gz
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 localvault
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 logs
-rw-rw-r-- 1 fritz 1001   1850377 2008-07-07 16:23 macdedserver169.zip
drwxrwxr-x 2 fritz 1001      4096 2009-08-05 07:40 modules
drwxr-xr-x 2 root  root      4096 2009-08-04 16:53 music
drwxrwxr-x 2 fritz 1001      4096 2008-07-04 15:21 nwm
-rw-rw-r-- 1 fritz 1001 606293816 2008-07-07 16:45 NWNDedicatedServer1.69.zip
-rw-rw-r-- 1 fritz 1001       982 2009-02-25 10:09 nwn_erf_tool_chk.bat
-rw-rw-r-- 1 fritz 1001       381 2003-06-18 22:52 nwn.ini
-rw-rw-r-- 1 fritz 1001      1124 2009-08-05 07:43 nwnplayer.ini
-rwxr-xr-x 1 root  root       362 2009-08-05 07:43 nwnstartup.sh
-rwxrw---- 1 fritz 1001    191540 2008-05-15 15:41 NWNv169.txt
-rw-r--r-- 1 root  root       547 2009-08-04 08:35 nwnx2.ini
-rwxr-xr-x 1 root  root    118837 2009-08-04 08:35 nwnx2.so
-rwxr-xr-x 1 root  root     85889 2009-08-04 08:35 nwnx_chat.so
-rwxr-xr-x 1 root  root     99996 2009-08-04 08:35 nwnx_events.so
-rwxr-xr-x 1 root  root     23882 2009-08-04 08:35 nwnx_fixes.so
-rwxr-xr-x 1 root  root     52699 2009-08-04 08:35 nwnx_functions.so
-rwxr-xr-x 1 root  root     85421 2009-08-04 08:35 nwnx_hashset.so
-rwxr-xr-x 1 root  root     13454 2009-08-04 08:35 nwnx_leto.so
-rwxr-xr-x 1 root  root     63952 2009-08-04 08:35 nwnx_mnx.so
-rwxr-xr-x 1 root  root    121278 2009-08-04 08:35 nwnx_odbc.so
-rwxr-xr-x 1 root  root     91182 2009-08-04 08:35 nwnx_profiler.so
-rwxr-xr-x 1 root  root     90008 2009-08-04 08:35 nwnx_resman.so
-rwxr-xr-x 1 root  root     81736 2009-08-04 08:35 nwnx_structs.so
-rwxr-xr-x 1 root  root     76566 2009-08-04 08:35 nwnx_tmi.so
-rwxrwxr-x 1 fritz 1001   4464553 2008-07-03 14:13 nwserver
-rw-rw-r-- 1 fritz 1001   2557160 2008-07-03 10:30 nwserver.exe
-rw-rw-r-- 1 fritz 1001   1586424 2007-12-05 14:31 nwupdate.exe
drwxrwxr-x 2 fritz 1001      4096 2004-12-09 10:39 override
-rw-rw-r-- 1 fritz 1001    197120 2002-02-27 17:50 Patchw32.dll
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 portraits
-rw-rw-r-- 1 fritz 1001      8234 2004-10-01 13:30 readme.linuxserver.txt
-rwxrwxr-x 1 fritz 1001       812 2003-08-14 18:19 readme.macserver.txt
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 saves
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 servervault
drwxrwxr-x 2 fritz 1001      4096 2008-07-07 13:33 temp
drwx-w---- 2 fritz 1001      4096 2009-08-03 17:08 tlk
drwxrwxr-x 3 fritz 1001      4096 2008-07-07 13:33 utils
-rw-rw-r-- 1 fritz 1001    319748 2003-12-16 10:52 xp1.key
-rw-rw-r-- 1 fritz 1001    565004 2003-12-16 10:52 xp2.key
-rwx-w---- 1 fritz 1001    148110 2008-05-15 14:38 xp2patch.key
-rwxrw---- 1 fritz 1001    276827 2008-05-15 14:49 xp3.key


Thank you for all the help

OTF

**EDIT**
I just changed the owners all to root, and I'm running the server as root but I still get the same error.
_________________
Empires Of The Sands PW (Now in Beta)
Web: www.empiresofthesands.com
Back to top
View user's profile Send private message
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Wed Aug 05, 2009 16:15    Post subject: Reply with quote

Ok, I got the NWN plug-ings registered by creating logs.0/nwnx2.txt file.

But my modules still wont load.

Code:

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

* Loading modules...
MNX plugin Registered.
EVENTS plugin Registered.
HASHSET plugin Registered.
CHAT plugin Registered.
TMI plugin Registered.
PROFILER plugin Registered.
RESMAN plugin Registered.
LETO plugin Registered.
FIXES plugin Registered.
ERROR: ODBC: OnCreate() failed.
FUNCTIONS plugin Registered.
STRUCTS plugin Registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

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

Server: Loading module "demoelven.mod"
Server: Unable to load module
Server: Exiting...
NWNX2lib: Server exiting.
Segmentation fault


Should NWNX2 create a log.0/nwnx2.txt file? If not, we should drop that in the instructions for install. (or is NWN supposed to create that?)

Thanks,

OTF
_________________
Empires Of The Sands PW (Now in Beta)
Web: www.empiresofthesands.com
Back to top
View user's profile Send private message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Wed Aug 05, 2009 23:11    Post subject: Reply with quote

What are the permissions on the NWN directory itself? It also needs to be writable so that the server can create/delete some temporary files/dirs. If you're running it as root, though (which I recommend against, of course) that shouldn't be a problem.

Still sounds like a permissions issue to me, but I can't think of anything offhand. Perhaps one of the more Linux-y folks here can help.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Thu Aug 06, 2009 20:08    Post subject: Reply with quote

for testing I am running as root. This will allow me to rule that out as an issue for now. Then work it out later.

OTF
_________________
Empires Of The Sands PW (Now in Beta)
Web: www.empiresofthesands.com
Back to top
View user's profile Send private message
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Thu Aug 06, 2009 22:03    Post subject: Reply with quote

Ok, it turned out to be the nwn.ini file. The folders it pointed to were

MODULE=.\modules

instead of

MODULE=./modules

The wrong slash. That's it.

Now to to multi instance running!

OTF
_________________
Empires Of The Sands PW (Now in Beta)
Web: www.empiresofthesands.com
Back to top
View user's profile Send private message
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Fri Nov 13, 2009 22:57    Post subject: Reply with quote

Well, my old system died so I built up a new one. This time with Ubuntu 9.10... and now I'm getting the same error as before, but this fix doesn't work.

Quote:

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) 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... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for bzero... yes
checking for getspnam... yes
checking for inflateEnd in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mnx/Makefile
config.status: creating functions/Makefile
config.status: creating hashset/Makefile
config.status: creating chat/Makefile
config.status: creating events/Makefile
config.status: creating fixes/Makefile
config.status: creating leto/Makefile
config.status: creating odmbc/Makefile
config.status: creating profiler/Makefile
config.status: creating resman/Makefile
config.status: creating structs/Makefile
config.status: creating tmi/Makefile
config.status: creating config.h
g++ -mcpu=i386 -c -o nwnx2lib.o nwnx2lib.cpp
g++ -mcpu=i386 -c -o NWNXBase.o NWNXBase.cpp
g++ -mcpu=i386 -c -o gline.o gline.cpp
g++ -w -fPIC -shared -W -Wall -o nwnx2.so nwnx2lib.o NWNXBase.o gline.o -ldl -DHAVE_CONFIG_H
make -C mnx
make[1]: Entering directory `/opt/nwnx2/mnx'
g++ -mcpu=i386 -I.. -c -o NWNXmnx.o NWNXmnx.cpp
make[1]: Leaving directory `/opt/nwnx2/mnx'
for i in mnx functions hashset chat events fixes leto odmbc profiler resman structs tmi; do make -C $i clean; done
make[1]: Entering directory `/opt/nwnx2/mnx'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/mnx'
make[1]: Entering directory `/opt/nwnx2/functions'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/functions'
make[1]: Entering directory `/opt/nwnx2/hashset'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/hashset'
make[1]: Entering directory `/opt/nwnx2/chat'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/chat'
make[1]: Entering directory `/opt/nwnx2/events'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/events'
make[1]: Entering directory `/opt/nwnx2/fixes'
/bin/rm -f *.o *.so *~ plugin-t
make[1]: Leaving directory `/opt/nwnx2/fixes'
make[1]: Entering directory `/opt/nwnx2/leto'
/bin/rm -f *.o *.so *~ LetoSo
make[1]: Leaving directory `/opt/nwnx2/leto'
make[1]: Entering directory `/opt/nwnx2/odmbc'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/odmbc'
make[1]: Entering directory `/opt/nwnx2/profiler'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/profiler'
make[1]: Entering directory `/opt/nwnx2/resman'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/resman'
make[1]: Entering directory `/opt/nwnx2/structs'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/structs'
make[1]: Entering directory `/opt/nwnx2/tmi'
/bin/rm -f *.o *.so
make[1]: Leaving directory `/opt/nwnx2/tmi'
/bin/rm -f *.o *.so *~
for i in mnx functions hashset chat events fixes leto odmbc profiler resman structs tmi; do make -C $i distclean; done
make[1]: Entering directory `/opt/nwnx2/mnx'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/mnx'
make[1]: Entering directory `/opt/nwnx2/functions'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/functions'
make[1]: Entering directory `/opt/nwnx2/hashset'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/hashset'
make[1]: Entering directory `/opt/nwnx2/chat'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/chat'
make[1]: Entering directory `/opt/nwnx2/events'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/events'
make[1]: Entering directory `/opt/nwnx2/fixes'
/bin/rm -f *.o *.so *~ plugin-t
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/fixes'
make[1]: Entering directory `/opt/nwnx2/leto'
/bin/rm -f *.o *.so *~ LetoSo
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/leto'
make[1]: Entering directory `/opt/nwnx2/odmbc'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/odmbc'
make[1]: Entering directory `/opt/nwnx2/profiler'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/profiler'
make[1]: Entering directory `/opt/nwnx2/resman'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/resman'
make[1]: Entering directory `/opt/nwnx2/structs'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/structs'
make[1]: Entering directory `/opt/nwnx2/tmi'
/bin/rm -f *.o *.so
/bin/rm -f Makefile
make[1]: Leaving directory `/opt/nwnx2/tmi'
/bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so *~
\nNWNX has not been compiled, because the scripts seem to be corrupted, or your compiler is incapable of compiling them. Please refer to the NWNX forum for help.
Code:

_________________
Empires Of The Sands PW (Now in Beta)
Web: www.empiresofthesands.com
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Mon Nov 16, 2009 19:20    Post subject: Reply with quote

http://nwnx.org/phpBB2/viewtopic.php?t=1438

This fix should do the trick. nwnx_easy hasn't been updated in a while - I have been intending to do it for a while, but I just haven't had the time or motivation, especially since with recent developments the trunk now typically builds flawlessly on most systems. Though having said that, the fix in the above link still hasn't been applied.
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