This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: install problem

Not a good idea.  You should make sure the permissions are correct, and
after removing /etc/passwd, who knows what they'll be.  You might end up
with non-executable code after reinstating /etc/passwd.

Did you check what the failing command is?  Just run "make -n install",
and you should see exactly what parameters are passed to "install".  I bet
it's something like "-o root" (which really makes the project
non-portable, IMO)...  You could simply add a "root" user to your
/etc/passwd by copying the SYSTEM entry and changing the username to
"root", BTW.

On Thu, 28 Aug 2003 wrote:

> Hi,
> Thanks for your help! It was the install rule of the make file which
> produced the enclosed error messages. The problem should be the
> /etc/passwd file, because after removing it temporarily the code was
> installed properly.
> Br,
>         Janos
> -----Original Message-----
> From: ext Igor Pechtchanski [mailto:pechtcha <at>]
> Sent: August 28,2003 15:32
> To: Kannar Janos (NMP/Budapest)
> Cc:
> Subject: Re: install problem
> On Thu, 28 Aug 2003 wrote:
> > Hi,
> >
> > I'm just trying to install dictd-1.9.7 on my machine (with Win2000). The
> > package is already compiled, but the install process stops with the
> > following error messages:
> >
> > /cygdrive/c/cygwin/bin/install: cannot change ownership of `/usr/local/bin/dict.exe': Invalid argument
> > /cygdrive/c/cygwin/bin/install: cannot change ownership of `/usr/local/man/man1/dict.1': Invalid argument
> >
> > What is wrong, what shall I do?
> > Br,
> >         Janos
> Well, this doesn't give us much to go on, does it?  It's probably just
> install trying to 'chown root' (in which case you should be able to ignore
> this message), or there's a problem with your /etc/passwd.
> What is "the install process"?  Is it a shell script, or an "install" rule
> in a Makefile?  Could you "set -x" in the shell to find out what the exact
> failing command is (or run "make -n", if it's a Makefile)?
> Also, please follow the general guidelines for reporting Cygwin problems
> outlined in <>, in particular, the one
> about attaching the output of "cygcheck -svr" (as an uncompressed text
> *attachment*), so that we are aware of your Cygwin environment and
> components.
>         Igor

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]