adonthell-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-general] error while trying out ./adonthell-mapedit


From: shirish शिरीष
Subject: Re: [Adonthell-general] error while trying out ./adonthell-mapedit
Date: Fri, 18 Nov 2011 00:00:09 +0530

In-line :-

2011/11/17 Kai Sterker <address@hidden>:

<snipped>

> Yes. Looks good to me.

cool.

<snipped>
> These are the python wrappers for the individual engine modules. They
> are required when loading a map, so that fails, while simply
> displaying the help message works fine.
>
> I would assume that the python scripts also ended up somewhere in
> ~/games/adonthell/
> Search for _world.so to find them. Should be something like
> lib/python<version>/site-packages/adonthell
> There should be more stuff in that directory. Additional modules and
> Python scripts.
> If you have it, set PYTHONPATH to point to that directory.

This is something again which would require your help, I did see that
link you had provided for setting PYTHONPATH but sadly its above me.

Here is where the required stuff is located as pointed out by you as well :-

~/games/adonthell/lib/python2.7/site-packages/adonthell$ ls
_audio.a   _audio.so  base.pyo   debug.pyc  event.py   _gfx.la  _gui.a
  _gui.so       _input.la  _main.a   _main.so  rpg.pyo    world.pyc
_audio.la  _base.a    _base.so   debug.pyo  event.pyc  gfx.py
_gui.la  __init__.py   input.py   _main.la  _rpg.a    _rpg.so
world.pyo  audio.py   _base.la   _debug.a   _debug.so  event.pyo
gfx.pyc  gui.py   __init__.pyc  input.pyc  main.py   _rpg.la
_world.a   _world.so
audio.pyc  base.py    _debug.la  _event.a   _event.so  gfx.pyo
gui.pyc  __init__.pyo  input.pyo  main.pyc  rpg.py    _world.la
audio.pyo  base.pyc   debug.py   _event.la  _gfx.a     _gfx.so
gui.pyo  _input.a      _input.so  main.pyo  rpg.pyc   world.py

> And while you're at it, chances are that you'll also need
> ADONTHELL_MODULES_PATH. That one needs to point to the directory
> containing _gtk.so. Usually that's lib/adonthell/gfx/ inside your
> install prefix.

Yup, that's also here :-

~/games/adonthell/lib/adonthell/gfx$ ls
_gtk.a  _gtk.la  _gtk.so  _sdl.a  _sdl.la  _sdl.so

> Good luck and let me know when there are more issues.

So would it be something like this I need to put in my .bashrc as well
 or something else altogether ?

export 
PYTHONPATH="$PYTHONPATH:$HOME/games/adonthell/lib/python2.7/site-packages/adonthell"
export 
ADONTHELL_MODULES_PATH="$ADONTHELL_MODULES_PATH:$HOME/games/adonthell/lib/adonthell/gfx:"

Don't really understand those bits.

> Kai
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17



reply via email to

[Prev in Thread] Current Thread [Next in Thread]