| Thread title | Replies | Last modified |
|---|---|---|
| error message when starting | 1 | 20:53, 28 February 2013 |
| Python3 | 0 | 18:23, 9 November 2011 |
I get
# kdesrc-build/kdesrc-build Can't locate LWP/UserAgent.pm in @INC (@INC contains: /root/kdesrc-build/modules /root/kdesrc-build/../share/apps/kdesrc-build/modules /usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl .) at kdesrc-build/kdesrc-build line 54. BEGIN failed--compilation aborted at kdesrc-build/kdesrc-build line 54.
On some distros (for example Arch) kdesrc-build has problems building some modules because /usr/bin/python points to /usr/bin/python3. I worked around the issue by compiling these modules manually with the cmake flag -DPYTHON_EXECUTABLE=/usr/bin/python2. Could there be a mention of this somewhere, along with a suggested fix? I don't know if my solution is any good.