![]() |
#1 |
Member
![]() Posts: 10
Karma: 14
Join Date: Dec 2009
Device: none
|
![]()
Hi every one,
I am new to this forum, i have some assignment to do. That is i got the calibre source code with me, i have to compile it and create a EXE file. for this i have installed py2exe, pyqt4, pyqwt, python2.6 visual studio 2008 and also bazar to download the source file. I tried to compile the source code cmd is "python setup.py py2exe" but i am getting the error. Error details: C:\calibre>python setup.py py2exe Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "C:\calibre\setup\commands.py", line 28, in <module> from setup.translations import POT, GetTranslations, Translations, ISO639 File "C:\calibre\setup\translations.py", line 14, in <module> from setup.build_environment import pyqt File "C:\calibre\setup\build_environment.py", line 109, in <module> popplerqt4_inc_dirs = poppler_inc_dirs + [poppler_inc_dirs[1]+r'\qt4'] IndexError: list index out of range Please let me know am i doing correctly or not, if the process is correct then please let me know why i am getting this error. Thank you |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Compiling calibre from source on windows is hard, you will have to hack the build system specifically the files setup/build_environment.py and setup/extensions.py
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 10
Karma: 14
Join Date: Dec 2009
Device: none
|
![]()
Thank you very much for the quick reply.
So which is the best environment you suggest to compile without modifiying the source code. Thank you |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 14
Join Date: Dec 2009
Device: none
|
![]()
Hi,
Please let me know does poppler required to compile the calibre source code in windows, if so please me know how to install poppler on windows. would appreciate any help. Thank you |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Easiest is in linux.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |
Source Code Reading | Jamp | Workshop | 3 | 07-16-2009 03:20 PM |
Cannot download 2.0.2 and 2.0.1 source code | rfog | Kindle Developer's Corner | 6 | 05-22-2009 09:34 AM |
Source code available | AlfonsVH | HanLin eBook | 3 | 01-03-2009 02:30 PM |
source code?? | joblack | iRex | 1 | 11-01-2006 12:16 PM |