문제

I installed Python-2.7.3 with configure --enable-shared, make and install. It so happens that now, I need to reconfigure to include the --with-pydebug option.

While running configure again, do I need to include all the flags I had before? (--enable-shared) or is it okay to configure again with just the additional flags?

도움이 되었습니까?

해결책

configure configures the build from scratch (with minimal support for caching certain results). Therefore, you need to supply all the same flags as before.

When changing configure flags, it is also recommended to do a make distclean to ensure that everything is rebuilt. This is especially important with --with-pydebug since the basic PyObject layout will change.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top