Comments (5)
At the moment, only Python 2.x is supported. The Python scripting support in
the server was never finished properly anyway, so the best approach is probably
to just take it out by commenting out the AM_PATH_PYTHON line in the
configure.ac. I'll probably fix things with Python 3 when I actually make the
scripting support more useful.
I do have a couple of other, unrelated to the bug things to note. If you're
trying to use Sylverant for Blue Burst (as it appears you are based on the path
you're building it out of), most things are still not supported. Blue Burst
users still cannot join games (they can create their own game though), nor can
they gain experience or items from enemies. These are all things that can and
will be fixed in due time. Also, Issue #1 is still a problem with Linux, so its
a really bad idea to be using Sylverant with Linux anyway.
Original comment by bluecrab
on 16 Feb 2012 at 2:34
- Added labels: Type-Other, Priority-Low, Maintainability, Usability
- Removed labels: Type-Defect, Priority-Medium
from sylverant.
Long time no bug reports from me... until now. I am experiencing what I believe
may be a related issue.
What steps will reproduce the problem?
1.Running make all in the ship_server directory against Python
What is the expected output? What do you see instead?
I expect the make to successfully complete.
Making all in l10n
make[1]: Entering directory `/usr/local/sylverant/trunk/ship_server/l10n'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/sylverant/trunk/ship_server/l10n'
make[1]: Entering directory `/usr/local/sylverant/trunk/ship_server'
gcc -DPACKAGE_NAME=\"ship_server\" -DPACKAGE_TARNAME=\"ship_server\"
-DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"ship_server\ 0.1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ship_server\"
-DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DLT_OBJDIR=\".libs/\" -DHAVE_LIBSYLVERANT=1 -DHAVE_LIBMINI18N=1 -DHAVE_ICONV=1
-DICONV_CONST= -DHAVE_ICONV=1 -DHAVE_PTHREAD=1 -DHAVE_ARPA_INET_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1
-DHAVE_GETHOSTNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMMOVE=1
-DHAVE_MEMSET=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRTOUL=1 -I.
-pthread -I/usr/local/include -I/usr/include/libxml2 -I/usr/include/p11-kit-1
-DHAVE_PYTHON -Wall -DSVN_REVISION="\"`svnversion`\"" -MT block.o -MD -MP
-MF .deps/block.Tpo -c -o block.o `test -f 'src/block.c' || echo
'./'`src/block.c
In file included from src/block.c:34:0:
src/clients.h:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [block.o] Error 1
make[1]: Leaving directory `/usr/local/sylverant/trunk/ship_server'
make: *** [all-recursive] Error 1
What version of the product are you using? On what operating system?
The latest svn pull of sylvanet server (obtained 7/30/2012)
Ubuntu Server 12.04
Please provide any additional information below.
It appears that Python.h is not included in the source.
Original comment by [email protected]
on 30 Jul 2012 at 2:15
from sylverant.
Python.h shouldn't be included with Sylverant. It should be installed on your
system with the Python development package. I probably should make it so the
default is to disable Python support in ship_server, since it doesn't really do
anything useful and won't work with Python 3.x.
That all said, Linux still is not supported for running ship_server (See Issue
#1).
Original comment by bluecrab
on 30 Jul 2012 at 2:56
from sylverant.
SVN r652 disables scripting support by default as a workaround for this issue.
The scripting support needs some serious work before it is sensible to actually
make it compatible with Python 3.x.
So, for the moment, since there's an acceptable workaround in place, I'm going
to close this report.
Original comment by bluecrab
on 30 Jul 2012 at 3:23
- Changed state: Verified
from sylverant.
Thank you bluecrab, I'll grab the newest revision, and to be honest, my
roommate and I are merely curious about getting a ship going on a Linux server.
My roommate is a multi-language programmer, I happen to be a tinkerer of sorts
and we thought we would try to solve the Linux ship issue. Albeit if the
python.h is part of the Python development package I am surprised that I am
receiving the error from the compiler saying it is not found. Either way we'll
take a crack at it and provide you with the results.
Original comment by [email protected]
on 30 Jul 2012 at 4:48
from sylverant.
Related Issues (20)
- Implement Choice Search HOT 3
- Simple mail between DC/PC clients. HOT 4
- /restore doesn't always work HOT 1
- DC fat humar player HOT 1
- DC player crashes when joining a game HOT 1
- Latin characters between DC-PC HOT 2
- V1 Drop Disconnect HOT 1
- Configuration documentation needs to be updated HOT 2
- Don't hard-code "/usr/local/share/sylverant" path HOT 2
- Bug - PC player joining DC player game HOT 4
- friendlist to view stored friends HOT 2
- Odd issue starting login_server.exe in cygwin HOT 3
- compilation error: dereferencing pointer to incomplete type in src/block.c HOT 3
- Error trying to start login server HOT 10
- configure error on cygwin HOT 3
- Packets stop after ship_server receives 0x006F from PSOPC client HOT 10
- Allow connections to ports 9000 and 9002. HOT 3
- shipgate/ltmain.sh - Missing closing parenthesis HOT 2
- AC_LANG_SOURCE missing in m4/cflags.m4 on patch_server folder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sylverant.