public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Build warnings, and install problems.
@ 2000-10-10 23:30 Mike A. Harris
  2000-10-10 23:35 ` Ben Elliston
  2000-10-11  9:14 ` Syd Polk
  0 siblings, 2 replies; 8+ messages in thread
From: Mike A. Harris @ 2000-10-10 23:30 UTC (permalink / raw)
  To: Source Navigator List

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-10 23:30 Build warnings, and install problems Mike A. Harris
@ 2000-10-10 23:35 ` Ben Elliston
  2000-10-11  0:05   ` Mike A. Harris
  2000-10-11  9:14 ` Syd Polk
  1 sibling, 1 reply; 8+ messages in thread
From: Ben Elliston @ 2000-10-10 23:35 UTC (permalink / raw)
  To: Mike A. Harris; +Cc: Source Navigator List

Hi Mike,

   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

I submitted a patch recently that eliminates this annoying warning so that
you can see real warnings instead.  It'll be in the next release.

   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?

How did you configure the tree?

   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?

No, you can be an ordinary user to build and install S-N:

	/path/to/src/configure --prefix=$HOME/source-navigator

.. is all you need.

Ben

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-10 23:35 ` Ben Elliston
@ 2000-10-11  0:05   ` Mike A. Harris
  2000-10-11  0:09     ` Mo DeJong
  2000-10-11  0:10     ` Ben Elliston
  0 siblings, 2 replies; 8+ messages in thread
From: Mike A. Harris @ 2000-10-11  0:05 UTC (permalink / raw)
  To: Ben Elliston; +Cc: Source Navigator List

On Wed, 11 Oct 2000, Ben Elliston wrote:

>Hi Mike,
>
>   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
>
>I submitted a patch recently that eliminates this annoying warning so that
>you can see real warnings instead.  It'll be in the next release.

Ok good, so it isn't something I foobed.  ;o)

>   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?
>
>How did you configure the tree?

Hmm. I thought I put that in my message:

%setup -n SN452-source

%build
# Clean out the buildroot dir to prevent common errors
#[ $RPM_BUILD_ROOT != "/" ] && rm -rf $RPM_BUILD_ROOT

mkdir build-redhat
cd build-redhat
../configure --prefix=/opt/source-navigator
make all-snavigator


%install
cd build-redhat
make install-snavigator


The %install section fails with all sorts of permission denied
messages and appears it is trying to install into the system dirs
instead of the build root.


>   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?
>
>No, you can be an ordinary user to build and install S-N:
>
>	/path/to/src/configure --prefix=$HOME/source-navigator
>
>.. is all you need.

Ok, great.  My above configure line should set everything up
properly for a package that will install into
/opt/source-navigator.

The install section follows instructions either Mo, Ian or you
sent me..  It doesn't work though.  I don't want to compile as
root on this system, so I can't do a test install other than as
an ordinary user, and it doesn't work for me.  I don't see why
the install section would require me to have write access to
/opt/ since it shouldn't be putting things there during RPM build
install time, only at package install time.

Any ideas?

Thanks,
TTYL

----------------------------------------------------------------------
      Mike A. Harris  -  Linux advocate  -  Open source advocate
              Computer Consultant - Capslock Consulting
                 Copyright 2000 all rights reserved
----------------------------------------------------------------------

[Quote: Linus Torvalds - Aug 27, 2000 - linux-kernel mailing list]
"And I'm right.  I'm always right, but in this case I'm just a bit more
right than I usually am." -- Linus Torvalds

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-11  0:05   ` Mike A. Harris
@ 2000-10-11  0:09     ` Mo DeJong
  2000-10-11  0:22       ` Mike A. Harris
  2000-10-11  0:10     ` Ben Elliston
  1 sibling, 1 reply; 8+ messages in thread
From: Mo DeJong @ 2000-10-11  0:09 UTC (permalink / raw)
  To: sourcenav

On Wed, 11 Oct 2000, Mike A. Harris wrote:

> ../configure --prefix=/opt/source-navigator

> messages and appears it is trying to install into the system dirs
> instead of the build root.

> The install section follows instructions either Mo, Ian or you
> sent me..  It doesn't work though.  I don't want to compile as
> root on this system,

Mike, you are trying to install into a directory that is owned
by root. You need to su to root before running "make install"
or else use a --prefix that your normal user has access
to. If you are building an RPM, that needs to be done as
root. You will still be able to run the program as a normal
user, as the perms are set properly by the install.

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-11  0:05   ` Mike A. Harris
  2000-10-11  0:09     ` Mo DeJong
@ 2000-10-11  0:10     ` Ben Elliston
  2000-10-11  0:55       ` Mike A. Harris
  1 sibling, 1 reply; 8+ messages in thread
From: Ben Elliston @ 2000-10-11  0:10 UTC (permalink / raw)
  To: Mike A. Harris; +Cc: Source Navigator List

   The install section follows instructions either Mo, Ian or you sent
   me..  It doesn't work though.  I don't want to compile as root on this
   system, so I can't do a test install other than as an ordinary user,
   and it doesn't work for me.  I don't see why the install section would
   require me to have write access to /opt/ since it shouldn't be putting
   things there during RPM build install time, only at package install
   time.

Forgetting RPM for a moment, are you able to build/install from the shell?

Ben

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-11  0:09     ` Mo DeJong
@ 2000-10-11  0:22       ` Mike A. Harris
  0 siblings, 0 replies; 8+ messages in thread
From: Mike A. Harris @ 2000-10-11  0:22 UTC (permalink / raw)
  To: Mo DeJong; +Cc: sourcenav

On Wed, 11 Oct 2000, Mo DeJong wrote:

>> ../configure --prefix=/opt/source-navigator
>
>> messages and appears it is trying to install into the system dirs
>> instead of the build root.
>
>> The install section follows instructions either Mo, Ian or you
>> sent me..  It doesn't work though.  I don't want to compile as
>> root on this system,
>
>Mike, you are trying to install into a directory that is owned
>by root. You need to su to root before running "make install"
>or else use a --prefix that your normal user has access
>to. If you are building an RPM, that needs to be done as
>root. You will still be able to run the program as a normal
>user, as the perms are set properly by the install.

Sorry, I wasn't clear in my message.  I'm doing all of this via
RPM as non-root, so the "make install" should be installing to
$RPM_BUILD_ROOT/%_prefix, and it should work as non-root as I
build all packages as non-root.  They won't install with "rpm
-i" as non-root, but there is no reason a non-root user shouldn't
be able to build RPM's.  I've been doing it for months now.

The permissions and ownership will be set in the %files section,
which I haven't gotten to yet.  ;o)  If the install target forces
owner/group change during install, then I won't be able to use
"make install".  Perm changes should work ok, but not the o/g.

I guess I should have mentioned more clearly how my build process
is set up.

Any ideas?


----------------------------------------------------------------------
      Mike A. Harris  -  Linux advocate  -  Open source advocate
              Computer Consultant - Capslock Consulting
                 Copyright 2000 all rights reserved
----------------------------------------------------------------------

"Facts do not cease to exist because they are ignored."
                                               - Aldous Huxley

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-11  0:10     ` Ben Elliston
@ 2000-10-11  0:55       ` Mike A. Harris
  0 siblings, 0 replies; 8+ messages in thread
From: Mike A. Harris @ 2000-10-11  0:55 UTC (permalink / raw)
  To: Ben Elliston; +Cc: Source Navigator List

On Wed, 11 Oct 2000, Ben Elliston wrote:

>Date: Wed, 11 Oct 2000 18:10:05 +1100 (EST)
>From: Ben Elliston <bje@redhat.com>
>To: Mike A. Harris <mharris@opensourceadvocate.org>
>Cc: Source Navigator List <sourcenav@sourceware.cygnus.com>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Subject: Re: Build warnings, and install problems.
>
>   The install section follows instructions either Mo, Ian or you sent
>   me..  It doesn't work though.  I don't want to compile as root on this
>   system, so I can't do a test install other than as an ordinary user,
>   and it doesn't work for me.  I don't see why the install section would
>   require me to have write access to /opt/ since it shouldn't be putting
>   things there during RPM build install time, only at package install
>   time.
>
>Forgetting RPM for a moment, are you able to build/install from the shell?

As non-root yes, but only if I put /home/mharris/source-nav as
the prefix of course.

I haven't tested if the program actually works or not yet though.


----------------------------------------------------------------------
      Mike A. Harris  -  Linux advocate  -  Open source advocate
              Computer Consultant - Capslock Consulting
                 Copyright 2000 all rights reserved
----------------------------------------------------------------------

"A Firewall is really much like a sophisticated traffic cop; it detects and
stops unauthorized or suspicious movement in or out of the network. But
security is more than a Firewall; it's a process. You can't just put in a
Firewall and think you're secure."

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build warnings, and install problems.
  2000-10-10 23:30 Build warnings, and install problems Mike A. Harris
  2000-10-10 23:35 ` Ben Elliston
@ 2000-10-11  9:14 ` Syd Polk
  1 sibling, 0 replies; 8+ messages in thread
From: Syd Polk @ 2000-10-11  9:14 UTC (permalink / raw)
  To: Mike A. Harris; +Cc: Source Navigator List

"Mike A. Harris" wrote:
> 
> 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

These warnings are known and are warnings; they should not have stopped the
compilation.

> 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

This is all of the output? It looks like you just redirected stdout or stderr,
and the other is missing. What happens when you do the following:

cd
/home/mharris/rpmbuild/BUILD/SN452-source/build-redhat/snavigator/misc/libutils
make install

> 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:

Yes, it is. 
 
> 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#':

You do not have your permission correct. Did you use --prefix when you
configured? Are you building as root?

> 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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-10-11  9:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-10 23:30 Build warnings, and install problems Mike A. Harris
2000-10-10 23:35 ` Ben Elliston
2000-10-11  0:05   ` Mike A. Harris
2000-10-11  0:09     ` Mo DeJong
2000-10-11  0:22       ` Mike A. Harris
2000-10-11  0:10     ` Ben Elliston
2000-10-11  0:55       ` Mike A. Harris
2000-10-11  9:14 ` Syd Polk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).