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 
 
NWNX building trouble ..

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
cieciwa



Joined: 09 Aug 2005
Posts: 33
Location: Cracov, Poland

PostPosted: Fri May 25, 2007 12:42    Post subject: NWNX building trouble .. Reply with quote

Hi, i download nwnx-2.5.3-rc1 from this site, download nwnx 2.7 core.
Unziped, copying files, running "./configure", running "make" and ...
wrote:

[nwn@beta linnwnx2]$ make
g++ -march=i386 -c -o nwnx2lib.o nwnx2lib.cpp
nwnx2lib.cpp: In function 'void Configure()':
nwnx2lib.cpp:486: warning: deprecated conversion from string constant to 'char*'
nwnx2lib.cpp:493: warning: deprecated conversion from string constant to 'char*'
/tmp/ccnty3V0.s: Assembler messages:
/tmp/ccnty3V0.s:8319: Warning: indirect jmp without `*'
/tmp/ccnty3V0.s:8856: Warning: indirect jmp without `*'
g++ -march=i386 -c -o NWNXBase.o NWNXBase.cpp
g++ -march=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
collect2: ld terminated with signal 11 [Naruszenie ochrony pamięci]
make: *** [nwnx2.so] Błąd 1
[nwn@beta linnwnx2]$


Any ideas ?
gcc - 4.2.0
Back to top
View user's profile Send private message Send e-mail
kucik



Joined: 11 Feb 2009
Posts: 19
Location: Czech Republic

PostPosted: Mon Jun 13, 2011 11:20    Post subject: Problem with install Reply with quote

make install does not work properly.

In Makefile.in for plugins defenses, funcs, spells, structs, system, weapons
Missing something like:
Code:
install: nwnx_blabla.so
       mkdir -p @prefix@/ ; install nwnx_blabla.so @prefix@/


In plugins/odmbc/Makefile.in is once nwnx_odbmc.so and twice nwnx_odbc.so
_________________
Les jambes en l'air, comme une femme lubrique,
Brûlante et suant les poisons,
Ouvrait d'une façon nonchalante et cynique
Son ventre plein d'exhalaisons.
Back to top
View user's profile Send private message Visit poster's website
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Sun Jun 19, 2011 15:21    Post subject: Reply with quote

The make install has never worked, simply because there is no standard location for an nwserver installation. Instead, the install.sh script puts all the compiled files into a subdirectory, which can then be moved. Not ideal, and the build process is definitely up for improvement, it's just nobody has found the time to do so yet.
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 development 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