Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.