Build warnings, and install problems.
Mike A. Harris
mharris@opensourceadvocate.org
Tue Oct 10 23:30:00 GMT 2000
I'm now building from scratch using:
mkdir build-redhat
cd build-redhat
../configure --prefix=/opt/source-navigator
make all-snavigator
During the build I get tonnes of:
In file included from ../../../db/PORT/../include/db.h:45,
from ../../../db/PORT/../recno/rec_utils.c:44:
../../../db/PORT/include/compat.h:108: warning: `BYTE_ORDER'
redefined
/usr/include/endian.h:47: warning: this is the location of the
previous definiti
[SNIP]
T/../recno ../../../db/PORT/../recno/rec_seq.c
In file included from ../../../db/PORT/../include/db.h:45,
from ../../../db/PORT/../recno/rec_seq.c:45:
../../../db/PORT/include/compat.h:108: warning: `BYTE_ORDER'
redefined
/usr/include/endian.h:47: warning: this is the location of the
previous definition
Then finally:
TRACE> make install-snavigator
/bin/sh ../mkinstalldirs /usr /usr
make[1]: Entering directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator'
Making install in misc
make[2]: Entering directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc'
Making install in libutils
make[3]: Entering directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc/libutils'
make[4]: Entering directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc/libutils'
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../../snavigator/mkinstalldirs /usr/share/sdk/lib
mkdir /usr/share/sdk
mkdir /usr/share/sdk/lib
make[4]: *** [install-sdkLIBRARIES] Error 255
make[4]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc/libutils'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc/libutils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator'
make: *** [install-snavigator] Error 2
Bad exit status from
/home/mharris/rpmbuild/BUILDROOT/rpm-tmp.81690 (%install)
Is the "make install-snavigator" target the proper one? I tried
just "make install" and it fails too with:
make[2]: Entering directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/grep/po'
if test -r ../../../grep/../../grep/mkinstalldirs; then \
../../../grep/../../grep/mkinstalldirs /usr/share; \
else \
../../../grep/mkinstalldirs /usr/share; \
fi
cp: cannot create regular file
`/usr/share/locale/de/LC_MESSAGES/#inst.26406#':
Permission denied
installing ../../../grep/po/de.gmo as
/usr/share/locale/de/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/es/LC_MESSAGES/#inst.26427#':
Permission denied
installing ../../../grep/po/es.gmo as
/usr/share/locale/es/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/fr/LC_MESSAGES/#inst.26448#':
Permission denied
installing ../../../grep/po/fr.gmo as
/usr/share/locale/fr/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/ko/LC_MESSAGES/#inst.26469#':
Permission denied
installing ../../../grep/po/ko.gmo as
/usr/share/locale/ko/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/nl/LC_MESSAGES/#inst.26490#':
Permission denied
installing ../../../grep/po/nl.gmo as
/usr/share/locale/nl/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/no/LC_MESSAGES/#inst.26511#':
Permission denied
installing ../../../grep/po/no.gmo as
/usr/share/locale/no/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/pl/LC_MESSAGES/#inst.26532#':
Permission denied
installing ../../../grep/po/pl.gmo as
/usr/share/locale/pl/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/ru/LC_MESSAGES/#inst.26553#':
Permission denied
installing ../../../grep/po/ru.gmo as
/usr/share/locale/ru/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/sl/LC_MESSAGES/#inst.26574#':
Permission denied
installing ../../../grep/po/sl.gmo as
/usr/share/locale/sl/LC_MESSAGES/grep.mo
cp: cannot create regular file
`/usr/share/locale/sv/LC_MESSAGES/#inst.26595#':
Permission denied
installing ../../../grep/po/sv.gmo as
/usr/share/locale/sv/LC_MESSAGES/grep.mo
if test "grep" = "gettext"; then \
if test -r ../../../grep/../../grep/mkinstalldirs; then \
../../../grep/../../grep/mkinstalldirs
/usr/share/gettext/po; \
else \
../../../grep/mkinstalldirs /usr/share/gettext/po; \
fi; \
/bin/sh /home/mharris/rpmbuild/BUILD/SN452-source/install-sh -c
-m 644 ../../../grep/po/Makefile.in.in \
/usr/share/gettext/po/Makefile.in.in; \
else \
: ; \
fi
make[2]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/grep/po'
Making install in src
make[2]: Entering directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/grep/src'
/bin/sh ../../../grep/mkinstalldirs /usr/bin
/bin/sh /home/mharris/rpmbuild/BUILD/SN452-source/install-sh -c
grep /usr/bin/grep
cp: cannot create regular file
`/usr/bin/#inst.26629#': Permission denied
/bin/sh /home/mharris/rpmbuild/BUILD/SN452-source/install-sh -c
egrep /usr/bin/egrep
cp: cannot create regular file
`/usr/bin/#inst.26651#': Permission denied
/bin/sh /home/mharris/rpmbuild/BUILD/SN452-source/install-sh -c
fgrep /usr/bin/fgrep
cp: cannot create regular file
`/usr/bin/#inst.26673#': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/grep/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/grep'
make: *** [install-grep] Error 2
Bad exit status from
/home/mharris/rpmbuild/BUILDROOT/rpm-tmp.74770 (%install)
Looks to me like it isn't installing in my BUILDROOT. Looks like
it is trying to install on my system instead. If this is true,
can someone suggest how to have it install elsewhere?
Does SN require any part of the build process to be "root"? Is
it possible for an ordinary user to build it, then install it in
~/source-navigator fully functionally? If so how?
I am getting it built now, but I don't know if it actually works
or not yet..
Thanks again for all the previous help, and TIA!
TTYL
----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open source advocate
Computer Consultant - Capslock Consulting
Copyright 2000 all rights reserved
----------------------------------------------------------------------
Need general help or technical support with Red Hat Linux 6.2? Join the user
support mailing list by sending a message to "zoot-list-request@redhat.com"
with the word "subscribe" on the subject line.
More information about the Sourcenav
mailing list