Cannot build launchpad on Fedora 10

Asked by Hieu T. Le

I get launchpad trunk code and compile using make but failed with following error

rm -f -r lib/canonical/launchpad/apidoc lib/canonical/launchpad/apidoc.tmp
mkdir -p lib/canonical/launchpad/apidoc.tmp
LPCONFIG=development /home/hieu/launchpad/bin/py ./utilities/create-lp-wadl-and-apidoc.py \
     --force "lib/canonical/launchpad/apidoc.tmp/"
Traceback (most recent call last):
  File "./utilities/create-lp-wadl-and-apidoc.py", line 32, in <module>
    from lp.systemhomes import WebServiceApplication
  File "/home/hieu/launchpad/lib/lp/systemhomes.py", line 28, in <module>
    from lp.bugs.interfaces.bug import (
  File "/home/hieu/launchpad/lib/lp/bugs/interfaces/bug.py", line 73, in <module>
    from lp.bugs.interfaces.bugbranch import IBugBranch
  File "/home/hieu/launchpad/lib/lp/bugs/interfaces/bugbranch.py", line 31, in <module>
    from lp.code.interfaces.branch import IBranch
  File "/home/hieu/launchpad/lib/lp/code/interfaces/branch.py", line 74, in <module>
    from lp.code.bzr import (
  File "/home/hieu/launchpad/lib/lp/code/bzr.py", line 28, in <module>
    from bzrlib.plugins.loom.branch import (
ImportError: No module named loom.branch
make[1]: *** [lib/canonical/launchpad/apidoc/index.html] Error 1
make[1]: Leaving directory `/home/hieu/launchpad'
make: *** [apidoc] Error 2

I have loom.branch installed on bzr already
[hieu@hieule-desktop launchpad]$ bzr plugins
bash_completion 2.5b5
  Generate a shell function for bash command line completion.

changelog_merge 2.5b5
  Merge hook for GNU-format ChangeLog files

launchpad 2.5b5
  Launchpad.net integration plugin for Bazaar.

loom 2.2.1dev
  (no description)

netrc_credential_store 2.5b5
  Use ~/.netrc as a credential store for authentication.conf.

news_merge 2.5b5
  Merge hook for bzr's NEWS file.

po_merge 2.5b5
  Merge hook for ``.po`` files.

weave_fmt 2.5b5
  Weave formats.

What should I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Hieu T. Le
Solved:
Last query:
Last reply:
Revision history for this message
Hieu T. Le (hieuletrung) said :
#1

I notice that the compile search the eggs folder under the source root instead of my /usr/local/lib/python2.6 folder.

Revision history for this message
Hieu T. Le (hieuletrung) said :
#2

Copy the content to local eggs/bzr-2.5.0dev2_r6152-py2.6-linux-x86_64.egg/bzrlib/plugins/ folder solve my issue