Howdy,
this is driving me nuts!
Downloaded source from SVN today.
Trying to get a new 2.0.13 server up an running on a new box (Ubuntu Server (Hardy?)) at bzflag.enuffsaid.co.nz
autogen.sh <ok>
./configure --enable-shared --disable-client --disable-bzadmin <ok>
make <ok>
make install <ok>
Run server:
bzfs -conf [file] -p 5158 <ok>
But in game /loadplugin generates "Unknown command"
and /timelimit x likewise generates "Unknown command"
I have tried this at least four times now - is there some other command to force it to enable plugins?
Thanks
Grans
Compiling from SVN - cant enable sharing
- Grans Remedy
- Private First Class
- Posts: 91
- Joined: Sun Dec 05, 2004 10:47 pm
- Location: New Zealand
Compiling from SVN - cant enable sharing
No coffee, no workee
Re: Compiling from SVN - cant enable sharing
Verify that you have libtool installed.
- Grans Remedy
- Private First Class
- Posts: 91
- Joined: Sun Dec 05, 2004 10:47 pm
- Location: New Zealand
Re: Compiling from SVN - cant enable sharing
blast wrote:Verify that you have libtool installed.
Code: Select all
grans@bzflag:/home/bz# libtool --version
ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-1ubuntu1 (1.1220.2.493 2008/02/01 16:58:18)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
No coffee, no workee
Re: Compiling from SVN - cant enable sharing
Okay. See if it's actually building the plugins. Look inside ./plugins/SAMPLE_PLUGIN/.libs/ for the SAMPLE_PLUGIN.so file.
- Grans Remedy
- Private First Class
- Posts: 91
- Joined: Sun Dec 05, 2004 10:47 pm
- Location: New Zealand
Re: Compiling from SVN - cant enable sharing
Well thats just weird. Now its working fine - but I didn't do anything.
There was some message after make had completed about something being done in the background tho - so maybe I was just being a bit impatient..
Thanks anyway.
Grans
There was some message after make had completed about something being done in the background tho - so maybe I was just being a bit impatient..
Thanks anyway.
Grans
No coffee, no workee
Re: Compiling from SVN - cant enable sharing
less lucky here!
everything compiles fine (except plugins!) and therefore getting the same errors as Grans when connecting to a server: /listplugins > Unknown command
but :::
./configure --enable-shared --enable-plugins --disable-client --enable-bzadmin --enable-bzfs
returns
configure: WARNING: unrecognized options: --enable-plugins, --enable-bzfs
or
./configure --enable-optimized
returns
configure: WARNING: unrecognized options: --enable-optimized
any idea what is going wrong (with a BIG thanks in advance!)
Code: Select all
libtool --version
ltmain.sh (GNU libtool) 2.2.6
but :::
./configure --enable-shared --enable-plugins --disable-client --enable-bzadmin --enable-bzfs
returns
configure: WARNING: unrecognized options: --enable-plugins, --enable-bzfs
or
./configure --enable-optimized
returns
configure: WARNING: unrecognized options: --enable-optimized
no ::: it isn't! no .so file . . . . ?blast wrote:Okay. See if it's actually building the plugins. Look inside ./plugins/SAMPLE_PLUGIN/.libs/ for the SAMPLE_PLUGIN.so file.
any idea what is going wrong (with a BIG thanks in advance!)
- Attachments
-
- ubuntuCompile2.txt
- compile output
- (265.54 KiB) Downloaded 175 times
Re: Compiling from SVN - cant enable sharing
From the log you posted, you ran "./configure help". That is not valid. I'm assuming you were wanting to get the list of options you can pass to configure. That should be "./configure --help".
Anyways, try just doing this: "./configure --enable-shared --disable-client"
You don't need to use the enable plugins options because that doesn't really do anything. And bzadmin and bzfs are already on by default - and there isn't even an option for enabling or disabling bzfs. Throwing in made up options won't help anything.
Anyways, try just doing this: "./configure --enable-shared --disable-client"
You don't need to use the enable plugins options because that doesn't really do anything. And bzadmin and bzfs are already on by default - and there isn't even an option for enabling or disabling bzfs. Throwing in made up options won't help anything.
Re: Compiling from SVN - cant enable sharing
always worked on debian ::: but i got at least no errore launching ./configure on ubuntu!
but still no plugins!
the errors although are better defined
not clear enough for me what is missing but i am counting on you!
again ::: BIG thx for helping out here!
but still no plugins!
the errors although are better defined
Code: Select all
. . .
bzfsPlugins.o: In function `getPluginVersion(void*)':
/bzflag/src/bzfs/bzfsPlugins.cxx:174: undefined reference to `dlsym'
bzfsPlugins.o: In function `unload1Plugin(int)':
bzflag/src/bzfs/bzfsPlugins.cxx:232: undefined reference to `dlsym'
bzflag/src/bzfs/bzfsPlugins.cxx:238: undefined reference to `dlclose'
bzflag/src/bzfs/bzfsPlugins.cxx:236: undefined reference to `dlerror'
bzfsPlugins.o: In function `load1Plugin(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
bzflag/src/bzfs/bzfsPlugins.cxx:186: undefined reference to `dlopen'
bzflag/src/bzfs/bzfsPlugins.cxx:189: undefined reference to `dlsym'
bzflag/src/bzfs/bzfsPlugins.cxx:204: undefined reference to `dlsym'
bzflag/src/bzfs/bzfsPlugins.cxx:199: undefined reference to `dlclose'
bzflag/src/bzfs/bzfsPlugins.cxx:219: undefined reference to `dlerror'
bzflag/src/bzfs/bzfsPlugins.cxx:190: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [bzfs] Error 1
. . .
again ::: BIG thx for helping out here!
Last edited by zaphod on Tue Jan 05, 2010 9:28 am, edited 1 time in total.
Re: Compiling from SVN - cant enable sharing
the undefined-references to ::: dlsym dlclose dlerror dlopen ::: were new (checking all my useless attempts i saved)!
a simple reinstall of "libdb-devel" did the job!
all works fine now (including the plugins)!
ohhh boy ::: sometimes its just weird!
a simple reinstall of "libdb-devel" did the job!
all works fine now (including the plugins)!
ohhh boy ::: sometimes its just weird!