|
Post by StrykerOfChaos on Aug 16, 2008 21:33:56 GMT
Jec, Funky asked once. Can you please not post 6 times in a row? It really is hard to read the 60 last posts when you spam like this. Please gather your thoughts and try to compile one post at a time.
Thanks
Edit: Also, there is a handy "Modify" option on your posts, so if you forget to add something you can just add it to a previous post. ^_^
|
|
|
Post by Acaos on Aug 16, 2008 21:34:03 GMT
You should have more than that. There should be a large number of .so files in there. Did you disable compiling the other plugins?
Rather than editing the Makefiles, you should try adding the CFLAGS you listed to the 'make' line in install.sh as well.
The .nss files for exalt are under plugins/funcs/nwnx_funcs.nss, plugins/defenses/nwnx_defenses.nss, and plugins/weapons/nwnx_weapons.nss.
Acaos
|
|
|
Post by jec2 on Aug 16, 2008 21:55:56 GMT
again, im sorry for spamming.. not trying to be a botther.. just trying to make this work.. here is new install.sh: #!/bin/sh
# Check for dependencies abort=0 zlib=$(apt-cache pkgnames | grep zlib1g-dev) mysql=$(apt-cache pkgnames | grep libmysqlclient-dev)
if [ $zlib != "zlib1g-dev" ]; then abort=1 fi if [ $mysql != "libmysqlclient-dev" ]; then abort=1 fi
if [ $abort -eq 0 ] || [ $1 -eq "force" ]; then # Configure with all the extra plugins CFLAGS="-m32" CPPFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" ./configure # Compile make
# Put the .so files in a directory mkdir -p ./compiled mv ./nwnx2.so ./compiled/ cp ./nwnstartup.sh ./compiled/ cp ./nwnx2.ini ./compiled/ mv ./plugins/*/*.so ./compiled/
# Clean up make clean make distclean
# Success! echo "NWNX has been compiled. Look in the 'compiled' directory for the libraries - these should be copied into your NWN directory. Change NWNX2.ini and nwnstartup.sh to match your server's settings." else echo "You are missing some packages: please make sure zlib1-dev and libmysqlclient-dev are installed. If you are not using apt package manager, try './install.sh force' instead." fi
New Makefile.in: CXX = @cxx@ LIBS = @libs@ -ldl DEFS = @defs@ LFLAGS = -w -fPIC -shared -W -Wall @ldflags@ "-m32" CFLAGS = @cflags@ -Iinclude $(DEFS) "-m32" CPPFLAGS = @cppflags@ -Iinclude $(DEFS) "-m32"
# Add your own plugins to the compilation with this configure option: # ./configure --with-extraplugins="plugin1 plugin2 ..." SUBDIRS = \ plugins/chat \ plugins/db \ plugins/defenses \ plugins/events \ plugins/fixes \ plugins/funcs \ plugins/functions \ plugins/hashset \ plugins/mnx \ plugins/odmbc \ plugins/profiler \ plugins/reset \ plugins/resman \ plugins/structs \ plugins/tmi \ plugins/weapons \ @extraplugindirs@
LIBRARY = \ lib/nwn_data.o \ lib/nwn_funcs.o \ lib/nwn_hooks.o \ lib/nx_hook.o \ lib/nx_log.o \ lib/nx_safe.o \ lib/nx_signature.o
all: nwnx2.so subdirs
nwnx2.so: nwnx2lib.o NWNXBase.o gline.o $(LIBRARY) $(CXX) $(LFLAGS) -o $@ $^ $(LIBS)
# always execute regardless of existance or timestamp .PHONY: clean subdirs $(SUBDIRS)
subdirs: $(SUBDIRS)
$(SUBDIRS): $(MAKE) -C $@ PLUGIN_CFLAGS="$(CFLAGS)" PLUGIN_CPPFLAGS="$(CPPFLAGS)" PLUGIN_LFLAGS="$(LFLAGS)"
clean: for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done /bin/rm -f *.o *.so lib/*.o *~
install: all for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done mkdir -p @prefix@/ install nwnx2.so @prefix@/ if [ ! -f @prefix@/nwnx2.ini ]; then install nwnx2.ini @prefix@/; fi
distclean: for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done /bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so lib/*.o *~
|
|
|
Post by jec2 on Aug 16, 2008 22:01:04 GMT
so where should .so's be?.. in compiled? and nss isnt part of that , is it? is there a folder im missing?.. again.. im sorry, and not trying to offend anyone.. i think this is most promising, and want to see it work.. im sorry if i offend anyone.. i just saw a great idea, and want to help make it work.. thanks again for all info.. and anything i can do, tho i know its not much.. but i offer just the same.. thanks again..
|
|
|
Post by jec2 on Aug 16, 2008 22:21:03 GMT
styr.. im sorry if i post so much.. i was told modify by my own dev from cwl too.. im not trying to cause probs, im sorry if i am.. but as i told him, if i modify a post, it might not be seen, and as i reaaally want to make this work.. i felt it best to make new posts as i saw stuff.. please forgive me, tho.. im not trying to cause issues for anyone.. if i didnt think this a great thing, that i want to see happen, i wouldnt bother replying at all.. i think acaos and funky are great, and i just want to help in any way i can.. our mod(though humble) is pretty well known. and if i can make it work in ours.. you know others will know how great it is. . and if i can add beta info, so much the better.. i hope i can help.. and again, sorry if im troubling you..
|
|
|
Post by Acaos on Aug 16, 2008 22:25:57 GMT
Please try making a fresh checkout (delete the old one and try again). I've just updated the 'configure' script to detect 64-bit systems and add -m32 automatically.
(Edit) Also, the best way to handle it is to edit your last post with new information, and add at the bottom, like I just did to this one.
Acaos
|
|
|
Post by FunkySwerve on Aug 16, 2008 22:41:03 GMT
styr.. im sorry if i post so much.. i was told modify by my own dev from cwl too.. im not trying to cause probs, im sorry if i am.. but as i told him, if i modify a post, it might not be seen, and as i reaaally want to make this work.. i felt it best to make new posts as i saw stuff.. please forgive me, tho.. im not trying to cause issues for anyone.. if i didnt think this a great thing, that i want to see happen, i wouldnt bother replying at all.. i think acaos and funky are great, and i just want to help in any way i can.. our mod(though humble) is pretty well known. and if i can make it work in ours.. you know others will know how great it is. . and if i can add beta info, so much the better.. i hope i can help.. and again, sorry if im troubling you.. Let me simplify this for you. If you don't stop spamming, I will delete the extra posts, and then they will DEFINITELY not be seen. Funky
|
|
|
Post by jec2 on Aug 16, 2008 22:51:18 GMT
im not entirely used to this forums.. im trying "link to chat" and hope thats ok.. if there is another way.. please tell me.. i claim ignorance. and really wish i hadnt upset you.. wasnt looking to do that.. anyway.. i tried, and now it wont work at all. i then tried adding the flag info like b4 and that wont work either.. just letting you know.. if youd like , acaos, i could give you vnc access and you could try yourself.. im really not trying to piss anyone off.. im sorry that i have.. and i really appreciate the work you guys do.. that still didnt work.. how do i do what you did, and attach old posts? i see modify for mine.. tried link to chat.. that didnt work..
|
|
|
Post by Acaos on Aug 16, 2008 22:55:57 GMT
Use modify, not 'link to chat'.
After you do a fresh checkout, what error do you get from 'sh install.sh'?
Acaos
|
|
|
Post by StrykerOfChaos on Aug 16, 2008 22:56:24 GMT
If you want to edit your posts, you simply click "Modify" which it appears you did as you added text to your most recent post. ^_^
If you're wanting to quote someone, like Funky did, you would go to their post and click "Quote" and then you can simply type what you want to say after that. Simple enough. If you want to refer to a specific piece of their post, you can also delete what you don't need repeated. This helps cuts down on post size as well, making it easier to get your point across.
-Stryker
|
|
|
Post by jec2 on Aug 16, 2008 23:03:13 GMT
Use modify, not 'link to chat'. After you do a fresh checkout, what error do you get from 'sh install.sh'? Acaos nwnserver@nwnserver-lin:~/downloads/nwn/nwnx2-linux/trunk$ sh install.shinstall.sh: 37: ./configure: Permission denied make: *** No targets specified and no makefile found. Stop. mv: cannot stat `./nwnx2.so': No such file or directory mv: cannot stat `./plugins/*/*.so': No such file or directory make: *** No rule to make target `clean'. Stop. make: *** No rule to make target `distclean'. Stop. NWNX has been compiled. Look in the 'compiled' directory for the libraries - these should be copied into your NWN directory. Change NWNX2.ini and nwnstartup.sh to match your server's settings. nwnserver@nwnserver-lin:~/downloads/nwn/nwnx2-linux/trunk$ i hope quote is ok.. is there any way i can talk with you on msn chat, so i dont offend anyone?? i do want to help...
|
|
|
Post by Acaos on Aug 16, 2008 23:04:24 GMT
Please try doing 'svn update', then 'sh install.sh' again.
Acaos
|
|
|
Post by jec2 on Aug 16, 2008 23:16:41 GMT
Please try doing 'svn update', then 'sh install.sh' again. Acaos i tried to do as you suggested.. i deleted all from folder i dl'd to and and svn update.. it said missing "'" then i tried the svn again to dl, and it wont dl anymore.. gonna take a chance here.. my msn is jecarterii@hotmail.com maybe you can talk me thru it or use my vnc.. i know its alot to ask.. but as this might be a good beta test for your stuff , and i really desire what your making.. anyway.. please let me know.. id PM that to u but i dont see how to. if u do decide to contact me thru msn, and i give you ip addy, the best vnc client you might use is prolly ultravnc... its a bit buggy, chat dont work but if you stick to straight use, its pretty fast.. faster than others.. i offer our site as a testing ground for your plugins.. i hope u take me up on it.. and funky, i am sooo sorry i offended you.. we use alot of your stuff, i both admire and respect you.. sorry if i offended.. not my intent..
|
|
|
Post by Acaos on Aug 16, 2008 23:28:02 GMT
Okay, if you get any more errors at all, please post the complete transcript of any session. I can't help you if all you say is 'it wont dl any more'. That means cut and paste the entire thing - the command prompt, the commands you typed, and the responses.
Acaos
|
|
|
Post by jec2 on Aug 16, 2008 23:31:57 GMT
Okay, if you get any more errors at all, please post the complete transcript of any session. I can't help you if all you say is 'it wont dl any more'. That means cut and paste the entire thing - the command prompt, the commands you typed, and the responses. Acaos sorry if i was cryptic.. modified my last post. any way youll contact me thru msn, and if poss. vnc my site so you can setup?? of course ill need nss for dev to add to mod, but i think we can make this work.. let me know.. thanks.. ~jec
|
|