编译frepple-0.6.1

1.Xerces找不到,经高人在Google指点,原来是g++没装!
2.configure:18531: error:
Can’t link with the python library.
This package requires the python development libraries.

后来Johan De Taeye给我一个提示,就是‘Altneratively, you can copy the file libpython25.dll.a from the
cywgin/lib/python25 folder to the cygwin/lib folder.’,我才注意到 libpython25.dll.a这个位置有点诡异!

后来用cygwin编译证实是没问题的,不过在编译frepple.nsi上时发现找不到档案的问题:

File: “..\contrib\installer\dist\*.*” -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec […]] filespec […] |
/oname=outfile one_file_only)
Error in script “C:\frepple-0.6.1\contrib\installer\frepple.nsi” on line 161 — aborting creation process

追溯到161行:

; Copy the django and python redistributables created by py2exe
SetOutPath “$INSTDIR\bin”
File /r “..\contrib\installer\dist\*.*”

发现怎没有档案?有点不懂Copy the django and python redistributables created by py2exe,只好再请教Johan De Taeye,原来需要python setup.py喔!看来自己真是有点耍白痴了!

不过超有成就感的,终于可以自行编译建置程式了,而且这个程式还是python跨C++使用的,感觉功力大升了!哈!