#1729 closed defect (fixed)
Gnumeric HTML creation is partially broken
Reported by: | Randy McMurchy | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
The Gnumeric page contains the following command and associated text:
"If you have GNOME Doc Utils-0.4.4 installed, you can convert the XML help files into HTML with the following command:
make -C doc html"
This command will *only* work if your $GNOME_PREFIX is /usr. If $GNOME_PREFIX is set to anything else, the command will fail. The reason being is that the Makefile in the gnumeric-1.6.1/doc/C directory uses $PREFIX/share to point to the GNOME Doc Utils support files. Of course, it will fail if GNOME Doc Utils was not installed with PREFIX of /usr.
There are two things I can think of (not just to fix Gnumeric, but for any and all packages that may expect GNOME Doc Utils to be in /usr) to fix this issue.
1) Change the installation prefix of GNOME Doc Utils to /usr. This is probably the preferred (and easiest) solution to implement. There is precedent of installing some GNOME packages in /usr. See the GNOME Icon Theme package.
Additionally, because files are being installed into $PREFIX/share/xml, which must already exist before GNOME Doc Utils is installed, it seems logical to install GNOME Doc Utils there (it creates a 'gnome' directory off of $PREFIX/share/xml).
2) This works, but should only be used if it is determined that GNOME Doc Utils should stay in $GNOME_PREFIX.
Create a symlink /usr/share/xml/gnome which points to GNOME_PREFIX/share/xml/gnome. This would then allow packages expecting to see GNOME Doc Utils in the BLFS conventional /usr directory to work.
Change History (4)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Another option is to run configure again like so:
./configure --prefix=pkg-config --variable=prefix ORBit-2.0
&&
make -C doc html
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
this sed may offer a solution
sed -i 's,$(datadir)/x,
pkg-config --variable=prefix ORBit-2.0
/share/x,' \Then run make -C doc html and it should just work.