Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32001 - xmgrace fails; "Broken or incomplete installation"
Summary: xmgrace fails; "Broken or incomplete installation"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-25 16:19 UTC by katerina
Modified: 2003-10-26 12:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description katerina 2003-10-25 16:19:24 UTC
After "emerge grace", when I type "xmgrace", it says
"---> Broken or incomplete installation - read the FAQ!" and exits.

Reproducible: Always
Steps to Reproduce:
1. Type xmgrace to start grace.
Actual Results:  
An error message, "---> Broken or incomplete installation - read the FAQ!".
The program then exits.

Expected Results:  
Run without a fatal error.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://gent
oo.inode.at/source/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm avi gif jpeg libg++ mad mikmod mpeg ncurses pdflib png xml2 xmms zl
ib gdbm berkdb slang readline tetex bonobo X sdl gpm tcpd pam libwww ssl perl im
lib oggvorbis gtk qt mozilla 3dnow acl alsa -arts canna cdr cjk crypt csope cups
 dvd encode -esd foomaticdb freewnn gatos -gnome guile ipv6 java jikes junit -kd
e -motif nls opengl -oss python quicktime ruby scanner -svga spell tcltk truetyp
e usb videos xinerama xv video_cards_radeon"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-10-25 23:23:44 UTC
Did you restart your computer after you installed it? grace sets environemtvariables
in /etc/env.d/10grace. If you don't want to restart your computer,just type
`env-update; source /etc/profile` and then run xmgrace. (Or you could specify
enviroment variable like `env GRACE_HOME=/usr/share/grace xmgrace`)
Comment 2 Achim Herwig 2003-10-26 10:03:30 UTC
I had the same problem (I did not update my environment before starting xmgrace).
Consequently, xmgrace searched for /usr/grace instead of /usr/share/grace,
did not find it and gave me the error mentioned in the bug.

But: why isn't the correct path not set during compilation? I mean, having
the right value compiled in always makes everything easier than reading it
from the environment.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-10-26 12:26:50 UTC
You are quite right... The ebuilds use --with-grace-home=/usr/share/grace
but this should be --enable-grace-home=/usr/share/grace. I fixed it 
in grace-5.1.10-r1 and grace-5.1.12-r1 (and also committed 5.1.13
released a week ago). Please run `emerge sync` and remerge them.