Re: [ERROR] msgget() "Function not implmented" Error : Cygwin

2023-03-01 Thread Yeo Kai Wei via Cygwin

Hi Corinna,

Thank you for the help.

I tried following the instructions on 
https://cygwin.com/cygwin-ug-net/using-cygserver.html#start-cygserver


There was a line, "Before you run Cygserver for the first time, you 
should run the /usr/bin/cygserver-config script once."


I googled for some instructions and it said to use "cygserver-config" in 
the Cygwin terminal.


I did it and the following is the reply from the terminal.

*Without admin privileges*

"$ cygserver-config
Generating /etc/cygserver.conf file
chown: changing ownership of '/etc/cygserver.conf': Permission denied


Warning: The following function requires administrator privileges!

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes
/usr/bin/cygserver-config: line 181: cygrunsrv: command not found

Installation of cygserver as service failed.  Please check the
error messages you got.  They might give a clue why it failed.

A good start is either you don't have administrator privileges
or a missing cygrunsrv binary.  Please check for both."


*With admin privileges*
"$ cygserver-config
Overwrite existing /etc/cygserver.conf file? (yes/no) yes
Generating /etc/cygserver.conf file


Warning: The following function requires administrator privileges!

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes
/usr/bin/cygserver-config: line 181: cygrunsrv: command not found

Installation of cygserver as service failed.  Please check the
error messages you got.  They might give a clue why it failed.

A good start is either you don't have administrator privileges
or a missing cygrunsrv binary.  Please check for both."


May I ask what I should do next?


Thank you very much.


Kind Regards,

YEO Kai Wei

P.S. How do you convert to using POSIX message queues in Cygwin?


On 28/2/2023 6:29 pm, Corinna Vinschen wrote:

On Feb 28 18:13, Yeo Kai Wei via Cygwin wrote:

Hi Cygwin,

May I ask if there will be an implementation of msgget() on Cygwin for
Windows?

There is, for ages.  However, you have to run cygserver for that
to work:

   https://cygwin.com/cygwin-ug-net/using-cygserver.html

If cygserver isn't running, the XSI IPC functions return ENOSYS.

Alternatively, convert your tool to using POSIX message queues, those
are using a file backed solution and don't require cygserver.


Corinna


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin Mirror

2023-03-01 Thread Jon Turney via Cygwin

On 01/03/2023 06:53, Emmanuel Marquez via Cygwin wrote:

Dear Sir/Madam,

I hope this email finds you well. Our organization is currently hosting a
Cygwin distribution, and we would like to request to be added to the mirror
list for  Cygwin.

Kindly provide us with the necessary steps and requirements to subscribe to
the mirror list. We look forward to contributing to the  Cygwin community
and providing efficient services to its users.


Instructions are located at [1]

[1] https://cygwin.com/mirrors.html#mirroradmin

However, it appears that your mirrors:

   http://mirror.rise.ph/cygwin/cygwin/
   ftp://mirror.rise.ph/cygwin/cygwin/

are already registered in our mirrors database, but are not listed in 
the current mirror list because they appear to be out of date (See [2] 
for reasons)


Please let us know if you think that is in error.  Otherwise, your 
mirror should automatically appear in the list once it is up to date.


[2] https://cygwin.com/mirrors-report.html


Thank you for your time and attention to this matter.


Thanks for hosting a Cygwin mirror.


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin Mirror

2023-03-01 Thread Emmanuel Marquez via Cygwin
Thank you for your prompt response. I will let you know once I find out why
the reason of being not updated.

On Wed, Mar 1, 2023 at 8:41 PM Jon Turney 
wrote:

> On 01/03/2023 06:53, Emmanuel Marquez via Cygwin wrote:
> > Dear Sir/Madam,
> >
> > I hope this email finds you well. Our organization is currently hosting a
> > Cygwin distribution, and we would like to request to be added to the
> mirror
> > list for  Cygwin.
> >
> > Kindly provide us with the necessary steps and requirements to subscribe
> to
> > the mirror list. We look forward to contributing to the  Cygwin community
> > and providing efficient services to its users.
>
> Instructions are located at [1]
>
> [1] https://cygwin.com/mirrors.html#mirroradmin
>
> However, it appears that your mirrors:
>
> http://mirror.rise.ph/cygwin/cygwin/
> ftp://mirror.rise.ph/cygwin/cygwin/
>
> are already registered in our mirrors database, but are not listed in
> the current mirror list because they appear to be out of date (See [2]
> for reasons)
>
> Please let us know if you think that is in error.  Otherwise, your
> mirror should automatically appear in the list once it is up to date.
>
> [2] https://cygwin.com/mirrors-report.html
>
> > Thank you for your time and attention to this matter.
>
> Thanks for hosting a Cygwin mirror.
>
>

-- 
*Emmanuel Marquez*
Systems Engineer
Phone: +63 9178468338
Email: emman.marq...@rise.ph


6/F Crown 7 Business Center, Pope John Paul II Ave., Cebu City 6000
5/F OPL Building, 100 C. Palanca St., Legazpi Village, Makati City 1229

   


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: [ERROR] msgget() "Function not implmented" Error : Cygwin

2023-03-01 Thread Ken Brown via Cygwin

[Please don't top-post.]

On 3/1/2023 6:56 AM, Yeo Kai Wei via Cygwin wrote:

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes
/usr/bin/cygserver-config: line 181: cygrunsrv: command not found

Installation of cygserver as service failed.  Please check the
error messages you got.  They might give a clue why it failed.

A good start is either you don't have administrator privileges
or a missing cygrunsrv binary.  Please check for both."


May I ask what I should do next?


Did you check for the cygrunsrv binary?  If you don't have it, then 
install the cygrunsrv package.


Ken

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Test: dash 0.5.12-3 (TEST)

2023-03-01 Thread Cygwin dash Co-Maintainer via Cygwin-announce via Cygwin
The following test packages have been uploaded to the Cygwin distribution:

* dash  0.5.12-3

This test release has been rebuilt re-enabling libc fnmatch and glob as
Cygwin/winsup/newlib now supports locale dependent named character and
equivalence class patterns like glibc in Cygwin versions > 3.4.6-1.
Install this test package only of you are running Cygwin snapshots or
test packages newer than 3.4.6-1 as is an install condition, so *should*
not be installable with current stable or older.
If no issues are reported the package will be upgraded to current when
the Cygwin current stable release is updated to > 3.4.6-1.

Thanks to Andrey Repin for testing and bringing this to our attention,
Harald van Dijk on the dash list for pointing out the commit
responsible, and Corinna Vinschen for adding support for the class
patterns to the Cygwin libc functions.

Please test this Base category shell as extensively as possible
(especially if you are a Cygwin package maintainer) as this
package is used in all installations.
I have it locally installed as my /bin/sh so it is used by most scripts,
cron jobs, and cygport builds, so it has and is getting frequent
exercise with no apparent issues so far.

DASH is a POSIX-compliant implementation of /bin/sh that aims to be
as small as possible. It does this without sacrificing speed where
possible. In fact, it is significantly faster than bash (the GNU
Bourne-Again SHell) for most tasks.

For more information see the project home page:

http://gondor.apana.org.au/~herbert/dash/

For changes since the previous release, see below;
for complete details see:

https://git.kernel.org/pub/scm/utils/dash/dash.git/log/?h=v0.5.12&showmsg=1


2022-12-11  0.5.12

error:
Remove USE_NORETURN ifdef

eval:
Always set exitstatus in evaltree
Check eflag after redirection error
Check nflag in evaltree instead of cmdloop
Do not cache value of eflag in evaltree
Prevent recursive PS4 expansion
Test evalskip before flipping status for NNOT

expand:
Add ifsfree to expand to fix a logic error that causes a buffer 
over-read
Always quote caret when using fnmatch
Make glob(3) interruptible by SIGINT

input:
Clear unget on RESET
Remove special case for unget EOF

jobs:
Always reset SIGINT/SIGQUIT handlers
Block signals during tcsetpgrp
Fix waitcmd busy loop
Only block in waitcmd on first run

man:
fix formatting

parser:
Add VSBIT to ensure subtype is never zero
Fix VSLENGTH parsing with trailing garbage
Get rid of PEOA

redir:
Retry open64 on EINTR

shell:
Call CHECK_DECL on stat64
Disable glob again as it strips trailing slashes
Enable fnmatch/glob by default
Fail if building --with-libedit and can't find libedit
Group readdir64/dirent64 with open64


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: make-4.4.1-1 & -2

2023-03-01 Thread Marco Atzeri via Cygwin-announce via Cygwin

Versions 4.4.1-1 (default) and 4.4.1-2 (test) of

  make

are available in the Cygwin distribution

CYGWIN_CHANGES
The default version is built with jobserver using FIFO and
the test version using pipe.
In same complex corner case the previous 4.4-1 was reported to
fail and it is unclear if the pipe version is the solution
or just a side coincidence.
Please report any problem on any version.

DESCRIPTION
A GNU tool for controlling the generation of executables and other
non-source files of a program from the program's source files. Make
allows users to build and install packages without any significant
knowledge about the details of the build process. The details about
how the program should be built are provided for make in the program's
makefile.

CHANGES
Updated to the last upstream main release.
Full details on:
https://lists.gnu.org/archive/html/bug-make/2023-02/msg00127.html

HOMEPAGE
http://www.gnu.org/software/make/

Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple