Ralph Shumaker wrote:
Gus Wirth wrote:
You are attempting to compile the application as root. THIS IS A BAD
THING. You should do this as a regular user. When it comes time to do
the install, you can create a package using checkinstall
<http://www.asic-linux.com.mx/~izto/checkinstall/>
Gus
I have to run for now, but I will be downloading and rpm -i
checkinstall, the latest version offered on the website you cited.
yum is only aware of a slightly earlier version thru rpmforge.
But (checkinstall aside for the moment), I would like clarification,
since my attempt to 'make install' of the latest goffice 0.5.3 failed
because of permissions. Please verify or correct me on the following:
$ ./configure
$ ./make
# ./make install
I read up on checkinstall. The documentation, all of it, is somewhat
behind the program, and the development of the program itself appears to
be stalled. The last release of the program was 2006-11, and the
documentation talks about patches and enhancements that will be done to
it "very soon". The README that comes with the program mentions the
need of libgsf >=1.14.2 whereas config.log seems to want >=1.14.6 (of
which I have 1.14.3), and the same thing goes for libgoffice, where
README wants >=0.5.1 and config.log wants >=0.5.3 (of which I have 0.4.3).
libgsf and libgoffice are the only two that seem to be ahead of the yum
curve.
Thanks to one person, I managed to get the needed version of libgoffice,
but am having difficulties getting that installed. I unpacked it into
its own directory and ran:
$ ./configure
$ make
$ checkinstall
The documentation says that checkinstall when run without anything else
on the command line *assumes* 'make install' as the command. I noticed
right away something that didn't look right in the output. The first
line I noticed a problem with was:
/usr/bin/install: warning: failed to change context of
/usr/local/share/goffice/0.5.3/patterns/svg-patterns.xml to : No such
file or directory
I did a tab-completed ll /usr/local/share/g (while checkinstall was
still running) and nothing was there. Perhaps I didn't get there until
after the directory was erased, but I don't think so. I recall it still
working there (or reportedly *trying* to) when I checked. And there
were many, many such complaints of "No such file or directory".
The output of checkinstall (make install) is long and can be seen at
<http://pastebin.com/m7e32e85e> . Nevertheless, when it finished, it
reported:
**********************************************************************
Done. The new package has been saved to
/usr/src/redhat/RPMS/i386/goffice-0.5.3-1.i386.rpm
You can install it in your system anytime using:
rpm -i goffice-0.5.3-1.i386.rpm
**********************************************************************
So then I performed:
# ll /usr/src/redhat/RPMS/i386/goffice-0.5.3-1.i386.rpm
-rw-r--r-- 1 root root 4417933 2007-12-15 01:20
/usr/src/redhat/RPMS/i386/goffice-0.5.3-1.i386.rpm
# rpm -i /usr/src/redhat/RPMS/i386/goffice-0.5.3-1.i386.rpm
file /bin/sed from install of goffice-0.5.3-1 conflicts with
file from package sed-4.1.5-7.fc7
file /bin/grep from install of goffice-0.5.3-1 conflicts with
file from package grep-2.5.1-57.fc7
file /usr/bin/make from install of goffice-0.5.3-1 conflicts
with file from package make-3.81-6.fc7
file /usr/bin/ld from install of goffice-0.5.3-1 conflicts with
file from package binutils-2.17.50.0.12-4
file /usr/bin/nm from install of goffice-0.5.3-1 conflicts with
file from package binutils-2.17.50.0.12-4
file /usr/bin/strip from install of goffice-0.5.3-1 conflicts
with file from package binutils-2.17.50.0.12-4
file /usr/bin/which from install of goffice-0.5.3-1 conflicts
with file from package which-2.16-8
file /bin/ln from install of goffice-0.5.3-1 conflicts with file
from package coreutils-6.9-6.fc7
file /bin/ls from install of goffice-0.5.3-1 conflicts with file
from package coreutils-6.9-6.fc7
file /bin/mkdir from install of goffice-0.5.3-1 conflicts with
file from package coreutils-6.9-6.fc7
file /bin/mv from install of goffice-0.5.3-1 conflicts with file
from package coreutils-6.9-6.fc7
file /bin/rm from install of goffice-0.5.3-1 conflicts with file
from package coreutils-6.9-6.fc7
file /bin/rmdir from install of goffice-0.5.3-1 conflicts with
file from package coreutils-6.9-6.fc7
file /usr/bin/expr from install of goffice-0.5.3-1 conflicts
with file from package coreutils-6.9-6.fc7
file /usr/bin/tr from install of goffice-0.5.3-1 conflicts with
file from package coreutils-6.9-6.fc7
file /usr/bin/gcc from install of goffice-0.5.3-1 conflicts with
file from package gcc-4.1.2-27.fc7
file /usr/libexec/gcc/i386-redhat-linux/4.1.2/collect2 from
install of goffice-0.5.3-1 conflicts with file from package gcc-4.1.2-27.fc7
{It doesn't say that it did or did not actually install.}
# yum list installed | grep -i goffice
goffice.i386 0.2.2-1.fc7
installed
goffice-devel.i386 0.2.2-1.fc7
installed
goffice04.i386 0.4.3-1.fc7
installed
goffice04-devel.i386 0.4.3-1.fc7
installed
#
Could 0.5.3 actually *be* installed without yum knowing it, even tho I
installed it (or tried to) via rpm?
So I'm guessing that to get goffice-0.5.3 installed properly, I will
need to find the bleeding edge releases of sed, grep, make, binutils,
which, coreutils, and gcc. Am I right? (And *then* I need to try to
find libgsf-1.14.6, which fortunately is only slightly ahead of my
already installed 1.14.3 it appears. But, [sigh], the goffice problem
may turn this one to a non-starter.)
Does checkinstall actually run 'make install'? or does it just simulate
it so that it can create an rpm file?
In case anyone is interested, here's a directory listing of the
directory in which the $ ./configure, $ make, and # checkinstall were done:
# ll -tr
total 5064
-rw-r--r-- 1 rafael rafael 136 2007-03-24 07:39 goffice-plugins.mk
-rw-r--r-- 1 rafael rafael 17993 2007-03-24 07:39 COPYING
-rw-r--r-- 1 rafael rafael 350 2007-03-24 07:39 AUTHORS
-rw-r--r-- 1 rafael rafael 915 2007-07-02 16:28 goffice-win32.mk
-rw-r--r-- 1 rafael rafael 199244 2007-07-11 14:11 ltmain.sh
-rw-r--r-- 1 rafael rafael 445 2007-08-10 05:58 Makefile.am
-rw-r--r-- 1 rafael rafael 253 2007-08-10 06:05 goffice.mk
-rw-r--r-- 1 rafael rafael 246 2007-09-02 17:11 MAINTAINERS
-rw-r--r-- 1 rafael rafael 1053 2007-10-02 06:44 README
-rw-r--r-- 1 rafael rafael 421 2007-10-28 11:00 libgoffice-0.5.pc.in
-rw-r--r-- 1 rafael rafael 18036 2007-11-04 12:27 configure.in
-rw-r--r-- 1 rafael rafael 303086 2007-11-04 14:51 aclocal.m4
-rwxr-xr-x 1 rafael rafael 935895 2007-11-04 14:51 configure
-rw-r--r-- 1 rafael rafael 12763 2007-11-19 19:09 NEWS
-rw-r--r-- 1 rafael rafael 14081 2007-11-19 19:09 BUGS
-rw-r--r-- 1 rafael rafael 30915 2007-11-19 19:10 intltool-update.in
-rw-r--r-- 1 rafael rafael 37500 2007-11-19 19:10 intltool-merge.in
-rw-r--r-- 1 rafael rafael 23046 2007-11-19 19:10 intltool-extract.in
-rw-r--r-- 1 rafael rafael 5137 2007-11-19 19:10 gtk-doc.make
-rwxr-xr-x 1 rafael rafael 11135 2007-11-19 19:10 missing
-rwxr-xr-x 1 rafael rafael 13184 2007-11-19 19:10 install-sh
-rwxr-xr-x 1 rafael rafael 17574 2007-11-19 19:10 depcomp
-rwxr-xr-x 1 rafael rafael 3495 2007-11-19 19:10 mkinstalldirs
-rw-r--r-- 1 rafael rafael 24933 2007-11-19 19:10 Makefile.in
-rw-r--r-- 1 rafael rafael 9416 2007-11-19 19:10 INSTALL
-rwxr-xr-x 1 rafael rafael 32724 2007-11-19 19:10 config.sub
-rwxr-xr-x 1 rafael rafael 44593 2007-11-19 19:10 config.guess
-rw-r--r-- 1 rafael rafael 390005 2007-11-19 19:25 ChangeLog
-rwxrwxr-x 1 rafael rafael 219349 2007-12-15 00:15 libtool
-rwxrwxr-x 1 rafael rafael 49814 2007-12-15 00:16 config.status
-rw-rw-r-- 1 rafael rafael 31416 2007-12-15 00:16 Makefile
-rw-rw-r-- 1 rafael rafael 405 2007-12-15 00:16 libgoffice-0.5.pc
drwxrwxrwx 11 rafael rafael 4096 2007-12-15 00:17 plugins
drwxrwxrwx 2 rafael rafael 4096 2007-12-15 00:17 pixmaps
drwxrwxrwx 3 rafael rafael 4096 2007-12-15 00:17 docs
drwxrwxrwx 3 rafael rafael 4096 2007-12-15 00:17 tests
-rwxrwxr-x 1 rafael rafael 30913 2007-12-15 00:17 intltool-update
-rwxrwxr-x 1 rafael rafael 37495 2007-12-15 00:17 intltool-merge
-rwxrwxr-x 1 rafael rafael 23044 2007-12-15 00:17 intltool-extract
-rw-rw-r-- 1 rafael rafael 124531 2007-12-15 00:17 config.log
drwxrwxrwx 14 rafael rafael 4096 2007-12-15 00:31 goffice
drwxrwxrwx 2 rafael rafael 4096 2007-12-15 00:35 po
-rw-r--r-- 1 root root 2192858 2007-12-15 01:20
backup-121520070120-pre-goffice-0.5.3.tgz
#
--
Ralph
--------------------
The spelling of words is subordinate. Morbidness for nice spelling and tenacity
for or against one letter or so means dandyism and impotence in literature.
--Walt Whitman
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list