delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/28/13:13:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_BL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sun, 28 Nov 2010 19:13:19 +0100
From: Vincent Richomme <forumer AT smartmobili DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: R: Question about cygwin installation and folder permissions
In-Reply-To: <852106.88728.qm@web25502.mail.ukl.yahoo.com>
References: <852106 DOT 88728 DOT qm AT web25502 DOT mail DOT ukl DOT yahoo DOT com>
Message-ID: <be3b29d2cc57091df1a8474ec5fe9a9e@mail.smartmobili.com>
X-Sender: forumer AT smartmobili DOT com
User-Agent: RoundCube Webmail/0.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

>> wrote:
>> > Greetings, Marco Atzeri!
>> >
>> >> run setup and choose the directory you want
>> >
>> >> the default proposal is c:\cygwin
>> >
>> > To add:
>> > Strongly advised against paths with spaces or national
>> letters.
>> >
>>
>> Again I was not very clear I don't want to know how to
>> install cygwin
>> because even a monkey can do it.
>> No what I want to know is in the installer how do you
>> change folder
>> permissions,
>> what kind of API, is it done by the installer or by some
>> post install
>> script...
>> Where can I find cygwin installer sources if it's done by
>> it.
> 
> http://sourceware.org/cygwin-apps/setup.html
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/?cvsroot=cygwin-apps
> 
>> Actually I built a custom installer for msys/mingw-w64 and
>> when I
>> install it
>> in C:/Developer/MaxGW, if I run it without permissions I
>> cannot create
>> new folder :
>>
>> mkdir: cannot create directory `/home': Permission denied
>> cp: cannot create regular file `/home/Vincent/.inputrc': No
>> such file
>> or direry
>> bash: cd: /home/Vincent: No such file or directory
>>
>>
>> It means I usually have to run my application using
>> administrator
>> rights but
>> I don't like to do this.
>> Cygwin seems to allow user to create folder inside its
>> installation
>> path so
>> I would like to know how it's possible.
>>
>> Thanks

Ok thanks.
Maybe you should update README :

First I have installed all the required packages then you should change
the command line

2) Configure using the following set of options.
   $ ./configure -C --disable-shared --host=i686-pc-mingw32 \
       --build=i686-pc-cygwin CC="gcc -mno-cygwin" CXX="g++
-mno-cygwin"

Indeed -mno-cygwin is not available anymore.


Then when I remove those parameters I get a configure error :
configure: error: missing prerequisites:  libbz2 liblzma libgcrypt
but those packahes have been installed.

When I looked at configure.log I am not sure the right compiler is
selected :

configure:2893: checking for i686-pc-mingw32-g++
configure:2923: result: no







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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019