X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TO_NO_BRKTS_PCNT X-Spam-Check-By: sourceware.org Message-id: <4F8F0AF5.204@cygwin.com> Date: Wed, 18 Apr 2012 14:41:57 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Can RPM packages be installed into Cygwin? References: <4F7FEF5B DOT 5060206 AT gmail DOT com> <4F8D066B DOT 2060900 AT tlinx DOT org> <4F8EBDF0 DOT 4080407 AT gmail DOT com> <20120418140309 DOT GC29332 AT ednor DOT casa DOT cgf DOT cx> <4F8EE652 DOT 6060203 AT gmail DOT com> <20120418170808 DOT GC30849 AT ednor DOT casa DOT cgf DOT cx> <4F8F062A DOT 9030506 AT gmail DOT com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 4/18/2012 2:30 PM, Earnie Boyd wrote: > On Wed, Apr 18, 2012 at 2:21 PM, De-Jian Zhao wrote: >> >> Thank you, Christopher. Is there a way to export the package info or lib >> info of setup.exe to rpm? If they can share information, the problem will be >> easily solved. >> > > You can always read the source code to determine how to read the > package info of setup.exe. Or in other words, there is nothing that currently exists that translates setup's view of this information to RPMs or vice-versa. >> Besides, I tried --nodeps option with src.rpm. It requires root privilege >> (see below). However, "sudo rpm" and "su root" both failed to work. Any way >> to fix it? Does Cygwin has a root user? > > It would be the Windows administrator user. You probably need to > execute mkpasswd. See http://cygwin.com/faq/ and search for passwd on > the page. Actually, that's not 100% true, though mapping "root" to the Administrator's SID in the '/etc/passwd' file might work in this case. 'mkpasswd' won't generate a 'root' user by default. In any case, I'd ask first why DJ thinks that root is actually required. I don't see anything in the output that says this. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple