[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnutrition] Failed build/install on Kubuntu 12.04.2 LTS
From: |
Richard Smith |
Subject: |
[bug-gnutrition] Failed build/install on Kubuntu 12.04.2 LTS |
Date: |
Wed, 14 Aug 2013 13:29:58 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
I'd like to check out gnutrition but I'm having some difficulty getting
it installed and running. I've tried both released and the current
devel branch from the repository
bzr://bzr.savannah.gnu.org/gnutrition/trunk/
The released version .32 fails to make for me with the following.
make[1]: Entering directory `/home/src/gnutrition-0.32/doc'
db2html gnutrition.sgml
output is gnutrition
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#html
Working on: /home/src/gnutrition-0.32/doc/gnutrition.sgml
openjade:/home/src/gnutrition-0.32/doc/gnutrition.sgml:1:59:W: cannot
generate system identifier for public text "-//Davenport//DTD DocBook
V3.0//EN"
openjade:/home/src/gnutrition-0.32/doc/gnutrition.sgml:1:60:E: reference
to entity "BOOK" for which no system identifier could be generated
openjade:/home/src/gnutrition-0.32/doc/gnutrition.sgml:1:0: entity was
defined here
openjade:/home/src/gnutrition-0.32/doc/gnutrition.sgml:1:60:E: DTD did
not contain element declaration for document type name
openjade:/home/src/gnutrition-0.32/doc/gnutrition.sgml:2:6:E: element
"BOOK" undefined
openjade:/home/src/gnutrition-0.32/doc/gnutrition.sgml:3:12:E: element
"BOOKINFO" undefined
<snip> Lots of other undefined elements.
The trunk version makes and installs but only after I manually made the
/usr/local/share/gnutrition directory.
However, it does not run in the general case. It fails with an import
error importing 'src.run_app'.
Looking at the gnutrition startup code I don't see how its supposed to
work. The app tries to find the location of the
$prefix/share/gnutrition but its starting with the current local
directory rather than the full path to $prefix/bin/gnutrition so in my
case it ends up adding '/home/share/gnutrition' to the path rather than
'/usr/local/share/gnutrition'.
If I change the working directory to /usr/local/bin first and then run
gnutrition it loads and runs.
Seems like the install procedure failed to correctly identify and setup
$prefix. Did I not do something correctly? I installed by running
autogen.sh, make, and sudo make install.
--
Richard A. Smith
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gnutrition] Failed build/install on Kubuntu 12.04.2 LTS,
Richard Smith <=