Luke Kendall | 1 Nov 2011 03:18
Picon
Picon

Re: Contributing license information?

Christopher Faylor wrote:
> On Mon, Oct 31, 2011 at 04:27:17PM +1100, Luke Kendall wrote:
>   
>> Those are further reasons I think it's more elegant to add the license 
>> info to the setup.ini file.  But is the setup.ini creation currently 
>> automated?  If so there will be some occasions where the license info 
>> can't be automatically updated (and will require some human thought  to 
>> fill in details).
>>
>> What do you think?
>>     
>
> I'm not interested in trying to figure out an automated way to add
> a new field to setup.ini 

I don't know enough about setup.ini to understand why that's hard (my 
script can already do it), but I accept it.

> and I'm not interested in modifying setup.exe
> to deal with the new field.
>
>   

Although it sounds easy to me (since the info's not for setup and so 
setup should ignore the extra info), I don't know how setup's written, 
and you're the boss, so what you say, goes!

> One of the above is a showstopper so you're going to have to do what
> others have suggested and put the information in the packages.
>
(Continue reading)

Edvardsen Kåre | 1 Nov 2011 11:24
Picon
Picon
Favicon

cannot execute binary file

I've built from source (gfortran) an application that won't run (cannot
execute binary file) and the "file" command prompts: PE32 executable
(console) Intel 80386, for MS Windows. (Yes, chmod 755 is set for the
executable...)

Funny thing is that I did the same build on a different machine with
sucess. Obviously there are differences between those machines, but I
can't think of what makes the difference here. Well, there is one major
difference: the Cygwin istallation on the sucessfull one is owned an run
as admin. On the other machine the Cygwin installation is non-admin, and
I even renamed the setup file to avoid the question of installation
permissions. 

Could the non-successful build be affected by the non-admin
installation?

Are there any debug options here?

Cheers,
Kåre
Oleksandr Gavenko | 1 Nov 2011 12:38
Picon

Re: Help with ACL and POSIX permissions for external flash/HD.

31.10.2011 23:00, David Sastre пишет:
> YMMV, but 'bash -l' should source your profile settings, both
> system-wide and user defined.

Do you mean "bash -i"?

Picon

RE: Install all packages from local repository?

Oleksandr Gavenko sent the following at Monday, October 31, 2011 3:49 PM
>31.10.2011 19:48, Jim Garrison ?????:

Though I have no experience with it, I believe that one can create an
empty dummy package that "requires" what you want.

Try Googling < site:cygwin.com "setup.ini" requires dummy package > or
the like.

For example: http://cygwin.com/ml/cygwin/2007-11/msg00125.html


Note use of the BASE category.

Good luck,

- Barry
  Disclaimer:  Statements made herein are not made on behalf of NIAID.

David Sastre | 1 Nov 2011 13:05
Picon
Gravatar

Re: Help with ACL and POSIX permissions for external flash/HD.

On Tue, Nov 01, 2011 at 01:38:41PM +0200, Oleksandr Gavenko wrote:
> 31.10.2011 23:00, David Sastre пишет:
> >YMMV, but 'bash -l' should source your profile settings, both
> >system-wide and user defined.
> 
> Do you mean "bash -i"?

From the manpage:

-i   If the -i option is present, the shell is interactive.
-l   Make bash act as if it had been invoked as a login shell.

And:

When bash is invoked as an interactive login shell, or as a 
non-interactive shell with the --login option, it first reads and 
executes commands from the file /etc/profile, if that file exists.  
After reading that file, it looks for ~/.bash_profile, ~/.bash_login, 
and ~/.profile, in that order, and reads and executes commands from  
the first one that exists and is readable.  
The --noprofile option may be used when the shell is started to inhibit 
this behavior.

When an interactive shell that is not a login shell is started, bash 
reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if 
these files exist. This may be inhibited by using the --norc option.  
The --rcfile file option will force bash to read and execute commands 
from file instead of /etc/bash.bashrc and ~/.bashrc.

HTH.
(Continue reading)

Edvardsen Kåre | 1 Nov 2011 14:00
Picon
Picon
Favicon

Re: cannot execute binary file

On ti., 2011-11-01 at 07:28 -0500, Eliot Moss wrote:
> On 11/1/2011 5:24 AM, Edvardsen Kåre wrote:
> > I've built from source (gfortran) an application that won't run (cannot
> > execute binary file) and the "file" command prompts: PE32 executable
> > (console) Intel 80386, for MS Windows. (Yes, chmod 755 is set for the
> > executable...)
> 
> Here's a wondering: Are the necessary dll's installed properly?
> Maybe you would see this if the program cannot link its libraries
> during startup ...
> 
> Regards -- Eliot Moss

I did "rebaseall" after installing a couple of necessary lib's.

All compiling (configure, make etc) goes like nothing's wrong (just a
few harmless warnings known for ages for this software). The only real
error displayed is the: cannot execute binary file.

I'll try to reinstall cygwin as admin to see if things change.

Cheers,
Kåre

Edvardsen Kåre | 1 Nov 2011 15:32
Picon
Picon
Favicon

Re: cannot execute binary file

On ti., 2011-11-01 at 07:28 -0500, Eliot Moss wrote:
> On 11/1/2011 5:24 AM, Edvardsen Kåre wrote:
> > I've built from source (gfortran) an application that won't run (cannot
> > execute binary file) and the "file" command prompts: PE32 executable
> > (console) Intel 80386, for MS Windows. (Yes, chmod 755 is set for the
> > executable...)
> 
> Here's a wondering: Are the necessary dll's installed properly?
> Maybe you would see this if the program cannot link its libraries
> during startup ...
> 
> Regards -- Eliot Moss

I tried installing everything from scratch and same disappointing
result. My next try will be to install cygwin with an earlier
gcc-version I know works better with my configure scripts. The two
latest verions hangs on $EGREP for some reason...

Cheers,
Kåre
Andrey Repin | 1 Nov 2011 19:20
Picon

Re: Help with ACL and POSIX permissions for external flash/HD.

Greetings, Oleksandr Gavenko!

>>
>> Is it right to update /etc/fstab to:
>>
>> h: /cygdrive/h ntfs binary,noacl,user 0 0
>>
>> How can I set umask? In .bashrc?

Why not uncomment the last line in original /etc/fstab and add ",noacl" there?

>>  What if I run
>> Cygwin program from cmd?

Faster to try than to wait for answer :)
I'm using most of cygwin commands directly.
Most of environment variables that these programs would look for are defined
already, I'm no fan of hiding my personal settings into some obscure (for
system) files, or to have myself headache of remembering, where else i need to
adjust this or that setting to make all programs work transparently from bash
shell as well as when executed directly.

P.S.
My /etc/fstab :

# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table

# This is default anyway:
# none /cygdrive cygdrive binary,posix=0,user 0 0
(Continue reading)

Thomas Daniel | 1 Nov 2011 20:10
Picon
Favicon

Missing cygmpfr-4.dll

After a fresh install of cygwin, I am unable to use gcc:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygmpfr-4.dll:
cannot open shared object file: No such file or directory

Is there any place I could download that library from?

Here is my cygcheck.out:

Cygwin Configuration Diagnostics
Current System Time: Tue Nov 01 12:05:27 2011

Windows 7 Professional N Ver 6.1 Build 7601 Service Pack 1

Running under WOW64 on AMD64

Path:    .
    C:\cygwin\home\tdaniel\python\bin
    C:\cygwin\home\tdaniel\perl5\bin
    C:\cygwin\usr\local\bin
    C:\cygwin\bin
    C:\cygwin\usr\sbin
    C:\cygwin\home\software\p4

Output from C:\cygwin\bin\id.exe
UID: 12249(tdaniel)      GID: 10513(Domain Users)
10513(Domain Users)      545(Users)

SysDir: C:\Windows\system32
WinDir: C:\Windows

(Continue reading)

David Sastre | 1 Nov 2011 20:39
Picon
Gravatar

Re: Missing cygmpfr-4.dll

On Tue, Nov 01, 2011 at 12:10:02PM -0700, Thomas Daniel wrote:
> After a fresh install of cygwin, I am unable to use gcc:
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygmpfr-4.dll:
cannot open shared object file: No such file or directory
> 
> Is there any place I could download that library from?

http://cygwin.com/cgi-bin2/package-cat.cgi?file=libmpfr4%2Flibmpfr4-3.0.1-1&grep=cygmpfr

> Here is my cygcheck.out:

You're suppossed to *attach* it :)

>   269k 2009/06/07 C:\cygwin\bin\cygmpfr-1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygmpfr-1.dll" v0.0 ts=2009/6/7 14:10
> libmpfr1                       2.4.1-4              OK

Try installing libmpfr4.

--

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Gmane