Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 28 Aug 2003 10:38:20 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Janos DOT Kannar AT nokia DOT com cc: cygwin AT cygwin DOT com Subject: RE: install problem In-Reply-To: <8F02C6DFEF1FC842AF4DD33054BF0615E36967@buebe002.europe.nokia.com> Message-ID: References: <8F02C6DFEF1FC842AF4DD33054BF0615E36967 AT buebe002 DOT europe DOT nokia DOT com> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Igor On Thu, 28 Aug 2003 Janos DOT Kannar AT nokia DOT com 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 cs.nyu.edu] > Sent: August 28,2003 15:32 > To: Kannar Janos (NMP/Budapest) > Cc: cygwin AT cygwin DOT com > Subject: Re: install problem > > > On Thu, 28 Aug 2003 Janos DOT Kannar AT nokia DOT com 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 -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/