[CF-Devel] more proposals

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Sat Jun 21 06:15:38 CDT 2003


Now that I have the chance, lets deal with my Python problems.

Note, I really know very little about Python programming.  I am a zen
programmer though, which is how I managed to modify the IPO scripts and
write my night club script.  My main reason for changing the IPO scripts is
that the shelve thingy used in the original wouldn't work here.  I had a
quick look, and the shelve stuff looked fine to me.  However, I reasoned to
myself, the rest of Crossfire is based on text files, why use a DB for IPO?

I've unpacked a fresh copy of crossfire 1.5 server from the release
tarball.
I've tracked down the /usrlocal/ problem you mentioned and fixed it.

Relevant part of ./configure output -

checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
checking /usr/include/python/Python.h usability... yes
checking /usr/include/python/Python.h presence... yes
checking for /usr/include/python/Python.h... yes
checking for PyArg_ParseTuple in -lpython... no
checking for PyArg_ParseTuple in -lpython2.2... no
checking for PyArg_ParseTuple in -lpython2.1... no
checking for PyArg_ParseTuple in -lpython2.0... no
checking For python lib in various places... configure: creating
./config.status

In the above, the last "checking For..." and the "configure: creating..."
are on the same line, it just got wrapped by my mail system, and might get
wrapped more by yours.  Looks like it found Python, but didn't like what it
found.  The python plugin was not compiled during the subsequant make.

 --- Todd Mitchell <
     
     temitchell at sympatico.ca
     
     > wrote: 
>
     
      /usr/local) but this is fixed in CVS.  WHere does SuSe put python.h -
     
     >
     
      maybe if it is different you can let us know and we can update the 
     
     >
     
      configure script to detect it (well maybe not me unless it is a simple 
     
     >
     
      hack)...
     
     
Configure scripts scare me as well, and I'm a zen programmer B-).

/usr/include/python2.2/Python.h  The /usr/include/python/ found above is a
link.

Same deal with /usr/lib/python/, it's a link to /usr/lib/python2.2/
 
>
     
      do you have python development installed?  If it is really different
     
     >
     
      location or version of python there is also a --with prefix to point to
     
     >
     
      your Python.h  '--with-includes=I<path to your desired python include 
     
     >
     
      files>
     
     
Both python and python-devel packages are installed from the SuSE 8.2
install media, version 2.2.2 for both.  I just grabbed the latest SuSE
updates, no update for those packages.  Everything appears to be in the
correct place, but this and the shelve problem from SuSE 8.0 (after I got
it to compile) seem to point to some sort of incompatability.  SuSE apply
about 9K of patches to produce their version of Python.

In case you are wondering, a zen programmer tries to clear his mind of all
actual knowledge of any particular programming language, and tackles
programming from first principles.  Thus he can program in any language,
with no knowledge of the language required.  I've been doing this for
decades.  On the other hand, I've done many years of Java and C
programming, so I do know a few things about them B-).  Go on, ask me how
many languages I have programmed in...


     
     http://mobile.yahoo.com.au
     
      - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list