I tried another way. I installed Calibre in wine1.3. It installs, but I cannot add books (it seems there is a bug when running multiprocessing python code on wine,
here ). So I went for the command line version in wine. I installed python, that happens to be a 32bit version. I found the kindle.info file and I ran the k4pc calibre plugin from command line (that is from python interpreter). I added a few print here and there in the mobidedrm.py code to check where it was, and it looks like now it at least generates a few PIDs, but at the end I get the same error message that says that probably the PID was not right...
if anybody has any idea on this, please let me know.
Also, I am getting interested in this drm stuff. Where can I find some info, other then the python programs, on how the drm is put into the prc/azw files?
/dr
ps:I gave up porting k4pcutils.py to Linux. It might make sense to use cdll and wine to import the wine kernel32.dll.so and the other libraries. By I am python ignorant, and I am not even sure this is the way to go.