Re: PHP error

2013-12-17 Thread wynfield


Andrey
  Thanks for replying.  You were right. I found the problem and fixed it.  

Andrey Repin wrote:

 Greetings, wynfield!
 
 
  While checking to see what verions of php I had I ran php --version and 
  received the following warning regarding mysqli:
 
  $  php --version
 PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0
 PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0
 PHP 5.4.19 (cli) (built: Aug 23 2013 14:32:19)
 Copyright (c) 1997-2013 The PHP Group
 Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
 
 
  Is this a problem or simply an annoying message that should be ignored?
 
 I'm pretty sure this is a problem with your PHP configuration, that have
 nothing to do with Cygwin.
 Most likely, you have mysqli module mentioned multiple times in PHP
 configuration. 
 
 Andrey Repin 
 

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



PHP error

2013-12-16 Thread wynfield

While checking to see what verions of php I had I ran php --version and 
received the following warning regarding mysqli:

$  php --version
   PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0
   PHP Warning:  Module 'mysqli' already loaded in Unknown on line 0
   PHP 5.4.19 (cli) (built: Aug 23 2013 14:32:19)
   Copyright (c) 1997-2013 The PHP Group
   Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


Is this a problem or simply an annoying message that should be ignored?

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



Re: compiling and linking mechanics

2013-12-15 Thread wynfield

That's good to know.  Thank you and Christopher for the information

marco atzeri wrote:

 On Sun, Dec 15, 2013 at 6:01 AM, wrote:
 
 
  Christopher Faylor wrote:
   
  
   It isn't incredibly difficult to understand:  Some poorly written 
   makefiles
   put a -lib before the object files which rely on them.  That works by
   coincidence in Linux but doesn't work on Windows.  So put the -libraries
   last.
   --
 
  What is the basis for the assertion that placing -lib before object files 
  is an undesirable thing to do?  Knowing why would be educational for all 
  who don't know or think otherwise.  For example placing definitions prior 
  use prevents undefined forward reference problems.  I am not commenting on 
  possible efficiencies or either technique.  Whether by design or fortune, 
  Linux allows developers a less restrictive ordering.   I suppose that the 
  ordering is due for the lack of functionality in the linker that Cygwin 
  uses.
 
  Cheers
 
 
 CGF wrote on Windows
 it is not a cygwin specific issue, and also other platforms other than
 Windows work in the same way.
 
 For a nice explanation
 
 http://eli.thegreenplace.net/2013/07/09/library-order-in-static-linking/
 
 --
 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
 

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



compiling and linking mechanics

2013-12-14 Thread wynfield

With the current set of gcc and loader, does there still exist the diffence 
that makes porting GNU Linux programs a challenge sometimes.  I haven't build 
for a while, but I recall that the order of libraries in a ? linking process on 
the command line wouldn't work as they do in on GNU Linux systems.  

Is this still the case?   Is there a document somewhere that describes the 
situation well and how to modify arguments to enable a clean link on cygwin?

Regards

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



Re: compiling and linking mechanics

2013-12-14 Thread wynfield

Thanks for summing up the exact problem and solution.
I apprecaite it.

Christopher Faylor wrote:
 On Sat, Dec 14, 2013 at 11:51:05PM +0900, wynfi...@gmail.com wrote:
 With the current set of gcc and loader, does there still exist the
 diffence that makes porting GNU Linux programs a challenge sometimes.
 I haven't build for a while, but I recall that the order of libraries
 in a ?  linking process on the command line wouldn't work as they do in
 on GNU Linux systems.
 
 Is this still the case?  Is there a document somewhere that describes
 the situation well and how to modify arguments to enable a clean link
 on cygwin?
 
 It isn't incredibly difficult to understand:  Some poorly written makefiles
 put a -lib before the object files which rely on them.  That works by
 coincidence in Linux but doesn't work on Windows.  So put the -libraries
 last.
  END


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



Re: compiling and linking mechanics

2013-12-14 Thread wynfield

Christopher Faylor wrote:
 

 It isn't incredibly difficult to understand:  Some poorly written makefiles
 put a -lib before the object files which rely on them.  That works by
 coincidence in Linux but doesn't work on Windows.  So put the -libraries
 last.
 --

What is the basis for the assertion that placing -lib before object files is an 
undesirable thing to do?  Knowing why would be educational for all who don't 
know or think otherwise.  For example placing definitions prior use prevents 
undefined forward reference problems.  I am not commenting on possible 
efficiencies or either technique.  Whether by design or fortune, Linux allows 
developers a less restrictive ordering.   I suppose that the ordering is due 
for the lack of functionality in the linker that Cygwin uses.

Cheers

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



Apache Install Error

2013-12-12 Thread wynfield

I am getting what I think is an error message that is safely ignorable, but 
wish to report it. Only my recent Cygwin update I received the following error 
from post install processing.

Package: Unknown package
 apache2-mod_perl.sh exit code 127


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



Re: Cygwin's PHP MySQL

2013-12-01 Thread wynfield

I meant for this to go to the list so that others can find the cygwin ports site
which has ported many useful and needed packages to cygwin, which are not in 
the main
base distribution.

This is where I found the php_MySQLi extension.  This interface to MySQL is an 
improved version of the older PHP MySQL driver,offering various benefits.le I 
needed for interfacing php to MySQL databases.

Here is the url for the site:  http://cygwinports.org/

Regards

 Balaji Venkataraman wrote:
 
  Re:  http://cygwinports.org/
 
  Thanks for the url.  I found the proper package there.
  I appeciate the information.
 
 Good to know. Please use the list for so that it may help others in future.


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



Re: Cygwin's PHP MySQL

2013-11-30 Thread wynfield

Balaji Venkataraman wrote:
 On Fri, Nov 29, 2013 at 6:25 AM, wynfield wrote:
  I am attempting to learn php programming together with interfacing it to an 
  MySQL server from an http web-page.  I ran into a fatal error.
 
  The httpd2 server logs shows the following message:
   PHP Fatal error:  Class 'mysqli' not found
  The phpinfo() function has no mention of the mysqli extension.

 Have you installed the php-mysqli package?

No. I did look for one for serveral hours, but haven't found one yet. 
Can you give me a URL to where one is.  

Thank you.

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



Re: Cygwin's PHP MySQL

2013-11-30 Thread wynfield


Andrey Repin  wrote:
 
 wgc I am attempting to learn php programming together with interfacing it to
 wgc an MySQL server from an http web-page.
 
 Why you are doing it with Cygwin? There's a native MySQL server, native PHP
 and native Apache server, that works together very well.

You might as wel ask why am I using cygwin at all, since there's a proprietary 
Microsoft operating system and it works very well.

 What is Cygwin-specific in your aim, that you go into a trouble of running all
 the suite under Cygwin?

A posix environment is one thing, education, compatibility and transporting are 
some others.
 
 wgc I ran into a fatal error. 
 wgc The httpd2 server logs shows the following message:
 wgc  PHP Fatal error:  Class 'mysqli' not found
 wgc The phpinfo() function has no mention of the mysqli extension.
 wgc What do I need to do to get this important extension and install it in 
 for my cygwin environment?
 wgc Any help or advice would be much appreciated.
 
 Install native applications. Also, switch to PDO ASAP. mysqli_* family of
 functions isn't much better than mysql_* ones.
You apparently didn't understand my question.  
It relates to cygwin and mysqli and my attempts to learn and build using it, 
and not Microsoft Windows.

 -- 
 Sincerely, Andrey Repin
 mailto:anrdae...@freemail.ru
 
 Sorry for my terrible english...
Not to worry, I can understand it.

Regards

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



Cygwin's PHP MySQL

2013-11-29 Thread wynfield

I am attempting to learn php programming together with interfacing it to an 
MySQL server from an http web-page.  I ran into a fatal error.

The httpd2 server logs shows the following message:

 PHP Fatal error:  Class 'mysqli' not found

The phpinfo() function has no mention of the mysqli extension.

What do I need to do to get this important extension and install it in for my 
cygwin environment?

Any help or advice would be much appreciated.

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



Re: PHP Cygwin Package

2013-11-28 Thread wynfield

Thanks for the respose.

I found out that the php module for Apache's httpd is an optional module and 
not installed with the apache package.  It must be installed individually.  
Then the httpd2 server's configuration file must be modified to let it know to 
use the php module.

Much appreciation to the cygport site for producing and making available the 
apache2 mod_php, which can be installed with Cygwin's setup program.

Regards.

George M. Florendo georgeflore...@gmail.com wrote:
 On 11/27/13, wynfi...@gmail.com wynfi...@gmail.com wrote:
 
  I have uncommented out the line;extension=php_mysqli.dll   in
  /etc/php5/php.ini
 
  I attemp to run a pdp script which attempts to connect to mysql server, but
  get the following error message:
 
  :PHP Fatal error:  Call to undefined function mysqli_connect()
 
 What does phpinfo() say?
 
 Thanks!
 
 George

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



Re: PHP Cygwin Package

2013-11-28 Thread wynfield

Thanks for the respose.

I found out that the php module for Apache's httpd is an optional module and 
not installed with the apache package.  It must be installed individually.  
Then the httpd2 server's configuration file must be modified to let it know to 
use the php module.

Much appreciation to the cygport site for producing and making available the 
apache2 mod_php, which can be installed with Cygwin's setup program.

Regards.

George M. Florendo wrote:
 On 11/27/13, wynfield wrote:
 
  I have uncommented out the line;extension=php_mysqli.dll   in
  /etc/php5/php.ini
 
  I attemp to run a pdp script which attempts to connect to mysql server, but
  get the following error message:
 
  :PHP Fatal error:  Call to undefined function mysqli_connect()
 
 What does phpinfo() say?
 
 Thanks!
 
 George

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



PHP Cygwin Package

2013-11-27 Thread wynfield

I have uncommented out the line;extension=php_mysqli.dll   in 
/etc/php5/php.ini

I attemp to run a pdp script which attempts to connect to mysql server, but get 
the following error message:

:PHP Fatal error:  Call to undefined function mysqli_connect()

I could find no dlls assoiated with the mysqli_connect functions.

Are there any users there how have used php with a mysql database on cygwin and 
I'd appreciate any advice.

Regards

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



Re: Audio Related

2013-11-16 Thread wynfield
Yes, waveOutSetVolume is in mmsystem.h as well as you mentioned.  

Thanks for the helpful information.
Regards

George M. Florendo georgeflore...@gmail.com wrote:
 On 11/16/13, wynfield at gmail dot com wrote:
  I want to add audio output volume control to an application.   But, I
  don't know how to go about it yet.
 
  If you know anything about controlling volume from within cygwin
  applications or have done so, I would appreciate your telling me about
  it.
 
 Check the win32api package and read on the waveOutGetVolume() and
 similar functions.   I suppose there is also a waveOutSetVolume() or
 something like that.
 
 /usr/include/w32api
 $ grep -re waveOutGetVolume *
 mmsystem.h:  WINMMAPI MMRESULT WINAPI waveOutGetVolume(HWAVEOUT
 hwo,LPDWORD pdwVolume);
 
 
 
 -- 
 George M. Florendo
 Programmer
 http://www.facebook.com/i.am.georgeflorendo
 
 --
 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
 

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



Audio Related

2013-11-15 Thread wynfield

I want to add audio output volume control to an application.   But, I don't 
know how to go about it yet.

If you know anything about controlling volume from within cygwin applications 
or have done so, I would appreciate your telling me about it.

Regards

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



Bind server

2013-11-07 Thread wynfield

I just installed BIND 9.9.3-P2 (Extended Support Version) id:d8a6fe8b 
using 32-bit setup-x86.exe.   I ran /usr/sbin/named-config and then
cygrunsrv -S named.

Bind's named server fails.  It goes get started, but immediately dies.

The Events Log shows the following:

named: PID 3848: `named' service stopped, exit status: 1.
named: PID 3952: exiting (due to fatal error).
named: PID 3952: loading configuration: file not found.
named: PID 3952: open: /etc/named.conf: file not found.
named: PID 3952: loading configuration from '/etc/named.conf'.
named: PID 3848: `named' service started.


Looking in /etc  there is no  named.conf file.  Is this an oversight in 
packaging? 

Any advice on getting named up and running (I don't have the expertise yet to 
quickly write up a named.conf file?) 

Regards

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



Re: Bind server

2013-11-07 Thread wynfield

Mark,
  thank you for the knowledgable information you provided.  I am just in the 
learning phase and now realize how much more I need to dig into the subject to 
learn more.

Cheers


Mark Geisert wrote:
 wynfield writes:
  Looking in /etc  there is no  named.conf file.  Is this an oversight in
 packaging? 
  
  Any advice on getting named up and running (I don't have the expertise yet
 to quickly write up a named.conf
  file?) 
 
 named.conf is going to be different for every installation.  It's where you
 define the domains that bind will serve.  There are lots of details that can
 be gotten wrong.  If you get certain specific ones wrong your bind server
 can be victimized into participating in DNS attacks.
 
 Why do you need to run a DNS server?  Is this for a local network only or do
 you intend to expose it to the Internet?
 
 The knowledge needed to correctly set up named.conf is kind of specialized.
  If we have some ISP admins on the list, maybe you'll get more specific help
 but your best bet for something like this is an O'Reilly book or maybe the
 ISC website (ISC being the folks who supply/support bind).
 
 ..mark
 
 
 --
 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
 

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



fonts for X11 and TexLive

2013-10-03 Thread wynfield

Is there some X11 or other utiltiy that can display a list of available fonts to
1.) X11 and if different fonta available and 2.) TexLive's Context macro 
processor?


Thanks

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



GSL Package, Incomplete

2013-09-30 Thread wynfield

Re: NU Scientific Library (GSL) is a numerical library for C and C++ 
programmers.

Can the gsl package maintainer or someone knowledgeable about it for cygwin 
tell me if the package is complete or is gsl-config missing or inappropriate 
for cygwin?

I am getting an:   error: Could not find gsl-config   and can't not file 
gsl-congig in any of the cygwin repositories.

Should it have been in the package?

Thanks

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



mysql package

2013-09-26 Thread wynfield

I jsut installed the mysql pacakge and tried to start the daemon.
I got the follow error listing.   

It is late now and I plan to continue on the morrow, but if anyone can point 
out why the daemon wont start up, it would be very helpful.

Thanks

---
130926 23:25:40 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
130926 23:25:40 [ERROR] Can't open the mysql.plugin table. Please run 
mysql_upgrade to create it.
130926 23:25:40 InnoDB: The InnoDB memory heap is disabled
130926 23:25:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130926 23:25:40 InnoDB: Compressed tables use zlib 1.2.8
130926 23:25:40 InnoDB: Initializing buffer pool, size = 128.0M
130926 23:25:41 InnoDB: Completed initialization of buffer pool
130926 23:25:41 InnoDB: highest supported file format is Barracuda.
130926 23:25:41 InnoDB: 5.5.31 started; log sequence number 1595675
130926 23:25:41 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130926 23:25:41 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
130926 23:25:41 [Note] Server socket created on IP: '0.0.0.0'.
130926 23:25:41 [ERROR] Fatal error: Can't open and lock privilege tables: 
Table 'mysql.host' doesn't exist

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



Perl and File Locking

2013-09-25 Thread wynfield

Re: Perl 5, version 14, subversion 2 (v5.14.2) 
Cygwin: CYGWIN_NT-5.1  1.7.25(0.270/5/3

In Perl (I am attempting to open a file and put an exclusive lock on it to 
update
it like this:

###

use Fcntl qw( O_RDWR  O_CREAT  O_NONBLOCK  O_EXLOCK );


 sysopen($FH, $fname, O_RDWR | O_CREAT | O_NONBLOCK |  O_EXLOCK, 0664)




Result on a test run give me the following error message:

Your vendor has not defined Fcntl macro O_EXLOCK,

Is it possible to develope perl code on cygwin that can use file locking to 
update data in a file from within perl?

Thank you.

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



Re: Tools can't find ncurses

2013-09-17 Thread wynfield

I had the same problem with ncurses, and in the config.log file found out that 
the ncurses.h was not being found.

I manually changed the configure script line
#include ncurses.h to ---  #include ncurses/ncurses.h

and configure got past that.


The next and what I expect to be the last configure error is now related to the 
Gnu Scientific Library (GSL)

configure can't find   gsl-config   and indeed there is not any.
and there is no gls-dev  package on the cygwin site.

Is this an oversite?   Or is there a gsl-dev  development package and a 
gsl-cofig program in a pklace I can't find on the cygwin package repository?

Thanks



Thomas Wolff t...@towo.net wrote:

 Am 17.09.2013 01:24, schrieb Warren Young:
  On 9/14/2013 15:48, Thomas Wolff wrote:
  Am 14.09.2013 17:15, schrieb wynfi...@gmail.com:
  checking for working ncurses... no
  configure: error: Cannot find a curses library.  Perhaps you failed to
  install an ncurses development package?
 
  You may be able to dig more details out of config.log.  It'll be
  thousands of lines long, and the error is rarely right at the end.
  So, look for something like -lncurses or curses.h.  The helpful
  bits in that file will be nearby.  (And not necessarily *after* the
  matching line!)
 
  You're looking for the test program source emitted by the configure
  script and the errors your compiler gave when trying to compile it.
 
  The files you quoted are the runtime libraries.
 
  Yes, but OP said:
 
  and cygcheck displays:
   x86/libncurses-devel/libncurses-devel-5.7-18
 
  So, since the development package does seem to be installed, what
  does cygcheck -c libncurses-devel say?
 Oh, I overlooked that one, as it starts with lib - I don't
 understand that output format of cygcheck, actually.
 
 Another issue comes to my mind: cygwin (like some Linux distributions)
 does not provide ncurses.h in /usr/include anymore but hides it in
 /usr/include/ncurses and /usr/include/ncursesw. This may likely be the
 problem; traditional packages don't find it there.
 --
 Thomas
 
 --
 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
 

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



Re: Build Failure for APR library

2013-09-16 Thread wynfield

Larry thank you.  Your message helped me get Apache httpd up and running.

For other people after getting cygserver up and running, you will then
have to set the CYGWIN environment variable so that it contains the string 
server
and you will also have to  rebaseall.

Regards

Larry Hall (Cygwin wrote:

 On 9/16/2013 3:01 AM, d.henman wrote:
  I tried running httpd2 by hand and it dies immediately and violently:
 
$ httpd2
  zsh: invalid system call (core dumped)  httpd2
 
$  cat httpd2.exe.stackdump
  Stack trace:
  Frame Function  Args
 
  When executed from the bash shell:
 
  $ /usr/sbin/httpd2
  Bad system call (core dumped)
  xxxATinki /tmp
  $ echo $?
  140
 
  A crash like this is not a gracefull exit. I wonder how one would fine
  find out about which system call caused the crash. The MS event look does
  not showi it.
 
 This means you're not running Cygserver.  Apache on Cygwin requires this.
 See the documentation for Cygserver here:
 
 http://cygwin.com/cygwin-ug-net/using-cygserver.html
 
 -- 
 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
 

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



Re: Build Failure for APR library

2013-09-15 Thread wynfield

Thanks for the information.  I thought cygwin's httpd version was older.   I 
downloaded and isntalled it with setup.exe.  But I couldn't get it to run 
successfully.

I installed it like this:

 $ cygrunsrv -I httpd2 -O -p /usr/sbin/httpd2.exe -e CYGWIN=ntsec tty

 $ cygrunsrv -S httpd2

  Error: The console displays:
 - cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 
1062:

   and the eEvent Log Shows:
  1st:  PID 2252: `httpd2' service started.
  2nd:  PID 3356: service `httpd2' failed: signal 12 raised.

 I gave all log files, etc rwx permissions for everthing I could think of, but 
it still shuts down after starting up.

Regards

---


David Rothenberger
 On 9/14/2013 6:18 AM, wynfield
  I read that Apache would build on Cygwin out-of-the-box, but found out that 
  isn't the case now if it was before.  Or my setup is wrong.
  
  I wanted to build:
   ApacheVERS=2.4.6  which is httpd-2.4.6
  
  This requires the two libraries  apr and apr-util
 
 apr and apr-util libraries are already packaged for Cygwin as
 libapr1-devel and libaprutil1-devel respectively. If you wish to see how
 they are built for Cygwin, you can download the source for the packages
 and look at the cygport build script.
 
 FYI, apache2 is also available as a pre-built package for Cygwin. You
 can also download its source package to see how it is built.
 
 -- 
 David Rothenberger   

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



Re: Build Failure for APR library

2013-09-15 Thread wynfield

Re: Apache httpd run failure.  Also no data is being writting to log files.
So the service is started seemingly fine, then it shuts down without any error 
messages being written out.

Regards

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



Build Failure for APR library

2013-09-14 Thread wynfield


I read that Apache would build on Cygwin out-of-the-box, but found out that 
isn't the case now if it was before.  Or my setup is wrong.

I wanted to build:
 ApacheVERS=2.4.6  which is httpd-2.4.6

This requires the two libraries  apr and apr-util

After running configure with a success return code, I attempted to make apr, 
but it failed with the following message:


I'd reeally appreciate some advice on how to fix this. 
Regards



from 
/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr/include/arch/unix/apr_private.h:996,
 from passwd/apr_getpass.c:22:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:997:46: 
note: previous declaration of 'getservbyname' was here  
- 
-
/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr/build/apr_rules.mk:202:
 recipe for target `passwd/apr_getpass.lo' failed

make[1]: *** [passwd/apr_getpass.lo] Error 1
make[1]: Leaving directory 
`/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr'
/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr/build/apr_rules.mk:114:
 recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1

--- end of inserted error message
- stop

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



Tools can't find ncurses

2013-09-14 Thread wynfield

VERS: orpie-1.5.1.

./configure  --with-ncurses


checking for working ncurses... no
configure: error: Cannot find a curses library.  Perhaps you failed to install 
an ncurses development package?


But I do have ncurses as the result from cygcheck shows below:
 ls /bin/*ncurses*
/bin/cygncurses++-10.dll   /bin/cygncurses7.dll /bin/ncurses6-config
/bin/cygncurses++-8.dll/bin/cygncurses-8.dll/bin/ncursesw5-config
/bin/cygncurses++-9.dll/bin/cygncurses-9.dll/bin/ncursesw6-config
/bin/cygncurses++w-10.dll  /bin/cygncursesw-10.dll
/bin/cygncurses-10.dll /bin/ncurses5-config

and cygcheck displays:
x86/libncurses-devel/libncurses-devel-5.7-18
x86/libncurses10/libncurses10-5.7-18
x86/libncurses7/libncurses7-5.3-4
x86/libncurses7/libncurses7-5.3-4-src
x86/libncurses8/libncurses8-5.5-10
x86/libncurses8/libncurses8-5.5-10-src
x86/libncurses9/libncurses9-5.7-16
x86/libncurses9/libncurses9-5.7-16-src
x86/libncursesw-devel/libncursesw-devel-5.7-18
x86/libncursesw10/libncursesw10-5.7-18

I realize that there is an Orpie already in cygwin's repository, but I need to 
build it, as I am adding new functionality to it and want to extend it.

If anyone knows why the build tools/scripts can not find the ncurses library 
and how I can patch it, please let know.

Regards

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



mintty functionality

2013-08-24 Thread wynfield

I am attempting to create a desktop icon for cygwin based applicatin.

I am using 
  mkshortcut  and  mintty  with the program to be invoked's name as am argument 
to mintty.

The problem I'm encountering is that the applicatin that mintty is to run 
requires 
/usr/lib/lapack   which is not in PATH when invoked from the desktop.  I know I 
can do the windows thing to set a full microsoft windows PATH, but would prefer 
to keep it in the shortcut or in a mintty configuration file. 

In essence I want to apprend to the PATH environment variable the needed 
library path.
Can this be done a.) with makshortcut or b.) with mintty.  I couldn't find any 
reference in h ow to in the documentation.

Any advice would be appreciated.

Regards

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



Re: mintty functionality

2013-08-24 Thread wynfield

The normal way works and even
   $ PATH=${PATH}:  mintty cmd

The command line invokation is no problem.

But, I couldn't do with a desktop shortcut with something like:

mkshortcut -w /tmp -D -A -d Run orpie RPN calculater. -n Orpie RPN 
Calculater -i /home/djh/icons/hp_calc.ico  -a  -p '100,150' -t 'Orpie 
Calculater' -e /usr/bin/orpie /bin/mintty.exe

The above doesn't source my zsh startup files first.  I see no reference 
informat related to shells.  I'm, just inoking an application direct.

Any ideas?


Robert Marklund wrote:
 Doesn't the normal terminal way work?
 
 PATH=$HOME/bin:$PATH command
 Or for library:
 LIBRARY_PATH=my/path:$LIBRARY_PATH command
 
 /R
 
 2013/8/24  wynfi...@gmail.com:
 
  I am attempting to create a desktop icon for cygwin based applicatin.
 
  I am using
mkshortcut  and  mintty  with the program to be invoked's name as am 
  argument to mintty.
 
  The problem I'm encountering is that the applicatin that mintty is to run 
  requires
  /usr/lib/lapack   which is not in PATH when invoked from the desktop.  I 
  know I can do the windows thing to set a full microsoft windows PATH, but 
  would prefer to keep it in the shortcut or in a mintty configuration file.
 
  In essence I want to apprend to the PATH environment variable the needed 
  library path.
  Can this be done a.) with makshortcut or b.) with mintty.  I couldn't find 
  any reference in h ow to in the documentation.
 
  Any advice would be appreciated.
 
  Regards
 
  --
  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
 
 
 
 
 -- 
 __
 Robert Marklund
 
 Mobile: +46 (0)70 213 22 76
 E-mail: robbelibob...@gmail.com
 Chat:   robbelibob...@gmail.com
 __
 
 --
 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
 

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



Request for proxy information

2013-08-20 Thread wynfield

I am trying to use ekiga, but need to avoid port forwarding, which is required 
by it.  As a workaround I could use Siproxd - a masquerading SIP Proxy Server.

It has been reported that Siproxd, builds on the cygwin environmnt.  But, that 
no support, whatsover if provided for cygwin.

Has anywone out there implement Siproxd on cygwin?I am interested in it's 
stability in this environment.

Also, I'd like to hear if there are any other alternative VoUP with video/audio 
transmission for television/telephone.  I'd really like to avoid Skype and use 
standard world-wide protocols.

Thanks

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



checkX works

2013-08-05 Thread wynfield

Thanks Charles and all.  I found the problem and checkX works.
 
   I erroneously was using   checkX  argument 
   whereas checkX uses   checkX [options]  and the -d option required the 
arg.

   My attempts to use DISPLAY and explicit checkX 127.0,0.1:0 failed.  It might 
be nice
   for checkX to check the DISPLAY env. variable. 

Regards


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



Re: checkX problem or misunderstanding

2013-08-04 Thread wynfield


Larry Hall wrote:
  Re: checkX
 
 $ checkX --version
   run2 0.4.2
 
  checkX doesn't work as I understand the description below:
 
  DESCRIPTION
  Determines  if  X is installed, Xserver is running on specified 
  DISPLAY
  and will accept clients. Returns 0 if yes, nonzero otherwise
 
 
  Environment / Procedure to duplicate the error:
 
- I have an X11 server running, started in pty0, where I will test checkX
 
- In this pty0, I start an X11 server, which from the xinitrc starts up 
  another mintty
   terminal, pty1 with Display environment variable set to :0
 
- Testing checkX in pty1 (which has DISPLAY set) returns a 0 or 
  successful result.
  checkX :0  -- returns 0
 
- Moving back to pty0 and running the same command with the same argument 
  gives:
  checkX :0  -- return 1 and error condition or no server available.
 
 
  However, if I simply manually set DISPLAY=:0 in pty0   X11 clients will run.
 
  -  export DISPLAY=127.0.0.1:0
  -  checkX :0  -- Nnw reports an o.k. this server is useable.
 
  If one relied on checkX the runing server would be missed.  It is doing
  nothing that a check if DISPLAY var is set or not andn then possible
  testing it.  It should has used the value :0 I sent it and do some X11
  stuff I am not aware of.
 
 Perhaps we're misunderstanding your confusion here.  Can you explain what
 about Chuck's description of checkX at the link below isn't clear?
 
 http://cygwin.com/ml/cygwin/2013-08/msg9.html
 
 
 -- 
 Larry

It is clearly written in my message, in fact in imported it from the checkX 
documentation. What part of the problem I'm describing is not clear to you?

DESCRIPTION
 Determines  if  X is installed, Xserver is running on specified DISPLAY
 and will accept clients. Returns 0 if yes, nonzero otherwise

In fact:
  checkX  :0   returns a false when, but the X11 server on :0 will accept 
client requests.

Exporting DISPLAY=:0 and running emacs, for example, demonstrates that X11 is 
available and accepting clients.


 _
end.

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



checkX problem or misunderstanding

2013-08-03 Thread wynfield

Re: checkX

  $ checkX --version
run2 0.4.2

checkX doesn't work as I understand the description below:

DESCRIPTION
   Determines  if  X is installed, Xserver is running on specified DISPLAY
   and will accept clients. Returns 0 if yes, nonzero otherwise


Environment / Procedure to duplicate the error:

 - I have an X11 server running, started in pty0, where I will test checkX 

 - In this pty0, I start an X11 server, which from the xinitrc starts up 
another mintty
terminal, pty1 with Display environment variable set to :0

 - Testing checkX in pty1 (which has DISPLAY set) returns a 0 or successful 
result.
   checkX :0  -- returns 0
   
 - Moving back to pty0 and running the same command with the same argument 
gives:
   checkX :0  -- return 1 and error condition or no server available.


However, if I simply manually set DISPLAY=:0 in pty0   X11 clients will run.

-  export DISPLAY=127.0.0.1:0
-  checkX :0  -- Nnw reports an o.k. this server is useable.


If one relied on checkX the runing server would be missed.  It is doing nothing 
that a check if DISPLAY var is set or not andn then possible testing it.  It 
should has used the value :0 I sent it and do some X11 stuff I am not aware of.


I intented on interating through files in /tmp/.X11-unix/* looking for an 
active X11 server, but checkX doesn't seem to fit the bill.

Do I have to just manually set DISPLAY and try to run a program that relies on 
it, since checkX doesn't work by telling me a server can be use, when it can be.





Cheers

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



run2 operation

2013-08-01 Thread wynfield

Re: un2 0.4.2

  $ checkX --verbose

checkX Info: Unspecified X display (check --display in xml SelfOptions or in 
cmdline; also check $DISPLAY environment variable). 


But, Xwindows is running, and was started from this terminal sith startx 

Shouldn't it be detected and the DISPLAY valued returned so that I could set 
the DISPLAY variable for this mintty windows as well?

When I invoke run2 (from a shortcut with the example .xml file) it also start a 
mintty terminal window, but I want it to start an XWindow or at the least use 
the currntly running X server.

The running server is not detected to the xml's  GDI section of the xml is 
used.


checkX is very good, but I wish it would detect a currently running X server 
and report it'S DISPLAY value.

I have just started with run2, so I'm not privy to a lot of it and not xml savy 
yet.

Any advice would be greatly appreciated.

Thanks



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



Re: where was mention of what creates NUL files?

2013-06-27 Thread wynfield

I do not have the problem using emacs built on cygwin either.


 On 6/26/2013 2:53 PM, g wrote:
 
 
 
  Daniel Barclay daniel at fgm.com writes:
 
 
  Does anyone recall a mention of what in CygWin (or possibly Emacs) creates
  files with a simple name of NUL?
 
  Thanks,
  Daniel
 
 
 
 
  This has been driving me nuts for years. Finally tracked it down.
  These are created by emacs' man.el code when you get a man page.
  Reproduce:
  In emacs, do:
   M-x man ret
   enter anything, valid ('ls') or not
  Now, you'll see a NUL file in the directory.
 
 I can't reproduce this with Cygwin emacs.  You must be using native
 Windows emacs.
 
  Root cause:
  construction of the 'man' command that is passed to the shell includes:
  (concat  %s 2 null-device)
 
  The variable `null-device' is platform specific and defaults to a pure-copy
  of /dev/null which, apparently, becomes NUL on windows.
 
  It is a defvar in files.el and 'set' again in dos-w32.el.
 
  Resolution:
  In your .emacs file, do:
 
  (require 'dos-w32) ;; load this first to avoid it undo'ing the next line
  (setq null-device c:/tmp/emacs-dev-null.txt) ;; set to anything
 
 Just to be clear, users of Cygwin emacs should *not* do this.
 
 Ken
 
 

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



Re: offline cygwin install question

2013-06-26 Thread wynfield


Ask Microsoft if Microsoft XP 32 bit code will run on Microsoft 64 bit systems.
Should work. But, not a good idea.   

Why not, be smart and download the cygwin setup.exe and packages specifically 
built for 64-bit systems and then transer it over to your non-connected 64 bit 
machine with a flash memory stick of suitable capacity.  

Or if you wnat simply swap the internet connect calbe to your 64-bit machine, 
do the downloading and then restore it.

Cheers



LMH ... wrote:
 I have a win7 64-bit machine that is not online and I want to update
 the cygwin install. What is the best method for doing this? Can I just
 copy the current cygwin install off of my XP 32-bit machine and drop
 it into the 64-bit win7 rig, or will that create a problem?
 
 LMH
 
 --

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



Re: Building a new package help

2013-06-17 Thread wynfield


Larry,
  thanks.  Your advice, was on the spot and got me closer to making a 
succsessful build.  The other problem I found was that on cygwin, an additional 
header file called  zconf.h is required and has to be included along with the 
zlib.h file.  It builds now.

Thanks for your assistance. 

Larry Hall (Cygwin) del email

  The last (I believe) problem is the linker can't find zlib to link to.
  Below is what Makefile outputs when the error occurs.
 
 Do you have the zlib-devel package installed?  Does '-lz' occur in
 the makefile and in the right order?  Remember, library dependencies
 on Windows is linear.
 
 -- 
 Larry
 

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



Re: Building a new package help

2013-06-17 Thread wynfield

Larry,
  thanks.  Your advice, was on the spot and got me closer to making a 
succsessful build.  The other problem I found was that on cygwin, an additional 
header file called  zconf.h is required and has to be included along with the 
zlib.h file.  It builds now.

Thanks for your assistance. 

Larry Hall (Cygwin) ...delete e-mail addr...
 On 6/16/2013 12:38 AM, 
  The last (I believe) problem is the linker can't find zlib to link to.
  Below is what Makefile outputs when the error occurs.
 
 Do you have the zlib-devel package installed?  Does '-lz' occur in
 the makefile and in the right order?  Remember, library dependencies
 on Windows is linear.
 
 -- 
 Larry
 

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



Building a new package help

2013-06-15 Thread wynfield

I am trying to build an movgrab, a command line application  which can fetch 
video streams in various formats.

It was written for linux systems.  But, will almost build on cygwin.  

The first problem i had was it needed to have /usr/include/sys/file.h  included 
in a couple of files.

The last (I believe) problem is the linker can't find zlib to link to.   Below 
is what Makefile outputs when the error occurs.

--  make processing outputs the below

DataProcessing.o: In function `zlibProcessorClose':
/usr/src/movgrab/movgrab-1.2.1/libUseful-2.0/DataProcessing.c:839: undefined 
reference to `_inflateEnd'
/usr/src/movgrab/movgrab-1.2.1/libUseful-2.0/DataProcessing.c:840: undefined 
reference to `_deflateEnd'
DataProcessing.o: In function `zlibProcessorRead':


 
Any help or leads would be appreciated.
Thank you.

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



ffmpeg

2013-04-17 Thread wynfield

I am use several programs that are native windows compiled, such as ffmpeg.
I am writing a sheel script to get video clip information provided by ffmpeg, 
but I can't capture the screen output which (probably isn't stdout to cygwin), 
but does display on the minty and putty consoles.  I've tried redirecting both 
stdout and stderr it to file.  It doesn't work.  

Is there any, method to capture this output, besides writing a windows batch 
file that captures it and writes it to a file, which would work, but is really 
inefficient.

Any advice and pointers would be appreciated.


ffmpeg

2013-04-17 Thread wynfield

HOW CAN CYGWIN capture W32 Programs WinSTD out as minty and putty do?

I am use several programs that are native windows compiled, such as
ffmpeg.  I am writing a sheel script to get video clip information
provided by ffmpeg, but I can't capture the screen output which
(probably isn't stdout to cygwin), but does display on the minty and
putty consoles.  I've tried redirecting both stdout and stderr it to
file.  It doesn't work.

Is there any, method to capture this output, besides writing a windows
batch file that captures it and writes it to a file, which would work,
but is really inefficient.

Any advice and pointers would be appreciated.


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



But it is cygwin related.

2013-04-04 Thread wynfield

It is a cygwin related question to me.  It involves using cygwin and programs 
built using cygwin.  You are wrong to suggest that it doesn't related to 
cygwin.  Additionally it involves using cygwin as a learning and buiding tool.  
You should consider a more constructive response that would be helpful and 
address the question if you have the knowledge to do so.

Regards


Christopher Faylor wrote:

 On Thu, Apr 04, 2013 at 12:06:06AM +0900, wynfi...@gmail.com wrote:
 This will be done in assembly language and I'd prefer not to have to
 resort to directly using windows or bios interrupts.
 
 I would like build a very tiny program and I want to skip linking the c
 library to this little program.  Doing so would bloat it up to about
 225times larger than it would be otherwise.
 
 All I need to know is the name of which win32 api (include file +
 object files) handles output character and the name of the win32 api
 (include file + object files) that handles print character to the
 terminal.  Very simple.
 
 This isn't a Cygwin question.  Please use a general Windows forum
 for this type of question.
 
 cgf
 

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



Regardless it is cygwin related

2013-04-04 Thread wynfield

I did not ask for native widows programming advice any more than cygwin uses 
win32-api.
cygwin distributes the header files and I simply asked about linking, which is 
exactly what cygwin built programs do. 

I appreciate Corinna's providing a url to a possible point of source and which 
did response to my question about how we can get through, hopefully using 
cygwin as a gateway.  I also, explicity stated that I did not want to have to 
use bios or direct windows unless there as no cygwin gateway API, but there 
must be else the c output and getchar functions would never work.

cygwin should offer the ability for build programs can perform simple i.e., if 
you would give a cygwin specific method of outputing a character that doesn't 
involve c libs that would be fine and was also my main question and is related 
to cygwin.

The c library used by all programs goes there a cygwin interface to output and 
input date, I just want to know how I can use that interface directly.  


Regards


Corinna Vinschen

 On Apr  4 17:05, 
  
  It is a cygwin related question to me.  It involves using cygwin and
  programs built using cygwin.  You are wrong to suggest that it doesn't
  related to cygwin.  Additionally it involves using cygwin as a
  learning and buiding tool.  You should consider a more constructive
  response that would be helpful and address the question if you have
  the knowledge to do so.
 
 I don't usually interfere in this, but I have to defend Chris here
 because I think your reply is a bit unfair.
 
 A question is not automatically Cygwin-related because you're using
 Cygwin tools to solve the problem.  You're looking for native Windows
 programming advice.  This is not what this mailing list is for.  There
 are other mailing lists dedicated to this.
 In the same vain you could ask for the solution of a mathematical
 problem like finding the 300th digit of pi.  It's not a Cygwin question
 just because you're using a Cygwin compiler and the cygwin list is
 not the right forum to share code to compute pi.
 
 So we ask politely to redirect your question to a forum, which is
 dedicated to this kind of problem.
 
 As for constructive help, did you contemplate to look up the Win32
 API calls at the root?
 http://msdn.microsoft.com/en-us/library/ee663300%28v=vs.85%29.aspx
 
 
 Corinna
 

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



Re: But it is cygwin related.

2013-04-04 Thread wynfield

No Earnie.  It wasn't about programming.  Read and try to comprehend.
cygwin seems to have a missing api in it or one it should have is missing. 
The cygwin.dll or possibly another cygwin dll shuffles i/o betwwen cygwin 
programs and MSWindows is not open to linkage (or is it) by assembly language 
programs.  This should be a realitive easy thing to do. There are entry points 
in the dll'S for i/o, which is called from the assembled c programs.  It should 
be even easier for an assembly program to directly link to those dlls. If it 
can not then it is missing.  If it is not missing, where is it and where is it 
documented?  This would be to cygwin and the cygwin community as a whole good.

p.s. If you would like to learn about programming, it is off topic for this 
list, but I'd be happy to help you if you write directly.

Earnie Boyd wrote:
 The OP was related to How to program.  From cygwin.com/lists.html we have
 
 ~~
 Finally, make sure when you send a message to a Cygwin list that it
 actually has something to do with Cygwin. What do we mean by that?
 Well, if you can't install the Cygwin C compiler, then that has
 something to do with Cygwin. If you don't know C very well and need
 some pointers on writing a program, that really has nothing to do with
 Cygwin. If you are trying to run the Cygwin version of bash (the
 standard UNIX shell) and it hangs, then that's probably a Cygwin
 problem. If you can't figure out how to set up a command alias in
 bash, that's not a Cygwin question. These Cygwin questions are
 considered on topic. The non-Cygwin questions are considered off
 topic.
 ~~
 

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



Re: But it is cygwin related.

2013-04-04 Thread wynfield

Another great idea.  I'll give it go. Thank you.

Eliot Moss wrote:
 It sounds as if what you need to know is the calling
 convention for gcc on the x86.  Maybe the easiest
 thing is simply to write and compile some C programs
 and then use gdb to disassemble them (or request
 assembly code output from gcc).  Since you presumably
 grok x86 assembly, this should not be too hard.  The
 C programs in question can include calls to all the
 routines you want to call from assembly.
 
 Then you write your .s file, assemble it to .o, and
 link as usual.  It might take some linker flag fiddling
 to get exactly what you want, but I don't think this
 is all that deep.
 
 Regards -- Eliot Moss

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



It does involve cygwin

2013-04-04 Thread wynfield

Christopher Faylor wrote:
 On Thu, Apr 04, 2013 at 02:59:01PM -0400, Eliot Moss wrote:
 On 4/4/2013 2:40 PM, Eliot Moss wrote:
 snipped
 If you have to enter MinGW land to perform what the OP wants then that
 is a really clear indication that this is off-topic.

That is illogical, just because the very good advice above explains a method of 
how it could be done using another system, does not make it irrelavant to 
cygwin.   That's like saying compiling can be done with Microsoft C, so  gcc is 
not relevant to cygwin.

 I think we've seen an adequate amount of advice for how the OP can
 proceed.  There was a suggestion that one could look at the disassembled
 output from gcc to see how it does things.  That's probably the best
 advice for how to proceed, regardless of the platform.
Does this mean that you'll honor your word and take it off line to answer 
practical questions regarding this issue?


- end

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



It does involve cygwin (last message hopefully)

2013-04-04 Thread wynfield

Comments inlined.

Christopher Faylor wrote:
 On Thu, Apr 04, 2013 at 02:59:01PM -0400, Eliot Moss wrote:
 On 4/4/2013 2:40 PM, Eliot Moss wrote:
 snipped
 If you have to enter MinGW land to perform what the OP wants then that
 is a really clear indication that this is off-topic.

That is illogical, just because the very good advice above explains a method of 
how it could be done using another system, does not make it irrelavant to 
cygwin.   That's like saying compiling can be done with Microsoft C, so  gcc is 
not relevant to cygwin.

 I think we've seen an adequate amount of advice for how the OP can
 proceed.  There was a suggestion that one could look at the disassembled
 output from gcc to see how it does things.  That's probably the best
 advice for how to proceed, regardless of the platform.
Does this mean that you'll honor your word and take it off line to answer 
practical questions regarding this issue?


- end

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



direct interface to win32 api for char output

2013-04-03 Thread wynfield

This will be done in assembly language and I'd prefer not to have to resort to 
directly using windows or bios interrupts.

I would like build a very tiny program and I want to skip linking the c library 
to this little program.  Doing so would bloat it up to about 225times larger 
than it would be otherwise.

All I need to know is the name of which win32 api (include file + object files) 
handles output character and the name of the win32 api (include file + object 
files) that handles print character to the terminal.  Very simple.

Thanks


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



the DBI for perl

2013-03-23 Thread Wynfield Henman
Thank you Csaba and Reini for the information in helping me build the
Perl database interface code. I downloaded the gcc-4 and the build
process worked.
And Reini, thanks for the 64 number significance explanation.

Regards

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



PostgreSQL not working from start

2013-03-22 Thread Wynfield Henman
This is apparently a common problem.
I' m trying to install and get PostgreSQL up and running.

Yes, CYGWIN, the environment variable is set to server and file/dir
permissions are set for the user and have r/w permissions.

No matter if I use:

   initdb or  pg_ctl initdb -D $DBDIR -l $DB_ADMINLOG -o -X $XLOGDIR
-U $DB_OWNER

No database is initialized and the Bad system call messages in a
downward counting loop of shared_buffers appears on the screen. ending
with]
...creating configuration files ... ok
creating template1 database in /usr/local/share/db-datadir/base/1 ...
child process was terminated by signal 12: Bad system call
initdb: removing contents of data directory /usr/local/share/db-datadir
initdb: removing contents of transaction log directory
/usr/local/share/db-logdir

---

Then tried to use  pg_ctl start -D $DBDIR -l $DB_ADMINLOG
to get the server up and it failed (it did say it was looking in
$DBDIR for the config file which makes, sense as initdb failed and
deletes the contents it just made)

Still should be able to start the server, I think, so tried
$ pg_ctl start -
server starting

It says server starting.  But, no server was started or if it did it
did in its infancy, but no event logs show a service being started.

What are steps to use to get this database up and running. Would not
using pg_ctl or init_db and just starting a server and create by hand
a new database be easier an workable, or if now who to make them work
or fix them.?

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



perl (why 64int on 32int machine)

2013-03-22 Thread Wynfield Henman
I just downloaded and tried to build and install Perl's Database
Interface, DBI (yes the hard way, using Marefile.PL).

Configure completed fine, but make fails with:
 make
gcc-4 -c-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g
-fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3
-DVERSION=\1.623\  -DXS_VERSION=\1.623\
-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE  -W -Wall
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: gcc-4: command not found
Makefile:625: recipe for target `Perl.o' failed

The above also mentions
/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int
which I do have on my system.  I did not select it and I don't have a
64 bit system.
Would this indicate a setup ini problem for perl?

Erroneously its using gcc-4 for the compiler which wont be found.
Just mentioning this for those interested.  Though I shouldnt have had
 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int et al
installed.

thanks

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



database related

2013-03-20 Thread Wynfield Henman
The database MariaDB looks good.   It does have a windows version
available, but I, like others would prefer to learn it on a Posix
system like cygwin if at all possible.

The only information I could find matching MariaDB and cygwin as at
least a couple of years old as I recall.   Has anyone built or tried
MariaDB on cygwin?I'd appreciate information about it.

Thanks

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



evince pdf viewer

2013-03-16 Thread wynfield

I wanted to try the file view 'evince', so downloaed it from cygport.  
Installed it.
Ran it and got the error message that, cyggtk-3-0.dll was missing

I installed gtk-3+ something and ran it again and got the error message:t
  /usr/bin/evince.exe: error while loading shared libraries: cygevview3-3.dll: 
cannot open shared object file: No such file or directory

so   cygevview3-3.dll  is missing.  

I don't know where to find this.  (I believe these two files should be put as a 
requirement in the setup.ini file which comes with it.)

If any of you have tried evince and found soloutions to this please let me know.

Thanks





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



Re: Emacs MS W32

2013-03-10 Thread wynfield

Thanks Achim,  I'm sorry I expressed myself poorly, but fortunately you 
understood and gave me the answer I wanted.  The explanation that it's still 
cygwin based, but with a MS Windows direct interface gave cleared it up for me.

Thank you.

Achim Gratz strom...@nexgo.de wrote:
 . ... snipped
 
 Emacs-w32 is just using a different GUI toolkit instead of X11 in order
 to display directly on the Windows desktop like other Windows
 applications do.  It is still a Cygwin application, not a Windows one.
 
 
 Regards,
 Achim.
 -- 

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



Setup in infinite tight loop using 100% cpu resource

2013-03-10 Thread wynfield

setup hangs in a tight loop when I try the following command from a cygwin 
console:

$ $c/cygwin-packages/setup -q -n -D -K http://cygwin.com/setup.exe.sig -l 
C:\cygwin-packages -R C:\cygwin -s http://ftp.jaist.ac.jp/pub/cygwin -P openssh

Starting cygwin install, version 2.774
User has NO backup/restore rights
io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or 
directory
io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or 
directory
io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 2 No such file or 
directory
Current Directory: C:cygwin-packages
Could not open Service control manager
Selected local directory: C:cygwin-packages
$ $c/cygwin-packages/setup -q -n -D -K http://cygwin.com/setup.exe.sig  -l 
C:\cygwin-packages  -R C:\cygwin  -s http://ftp.jaist.ac.jp/pub/cygwin   -P 
openssh

* I realize that I've not the permissions, but setup should be graceful about 
that and not get stuck in a loop.  Is there something wrong with my command 
line?  Any advice would be appreciated.

Thanks

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



Re: Setup in infinite tight loop using 100% cpu resource

2013-03-10 Thread wynfield

Thanks Achim and Larry for your responses and pointing out that setup.exe 
should be ran in a ms-windows console.  But, another point I was making,  is 
that in my opinion, setup.exe should not get into an infinite loop goobling up 
to 100% cpu usage, that 
setup.exe is out of control and indicates a design or coding flaw.  So when ran 
with administrators priveledges, unexpected bad side effects might occur.  
Ideally, it would detect what ever is wrong and exit gracefully.  If there 
anyway I help spot the e
rrant code, please let me know and I would try to find a point where it breaks.

Regards

Achim Gratz strom...@nexgo.de wrote:
  setup hangs in a tight loop when I try the following command from a cygwin 
  console:
 
 You should start setup.exe from a cdm window, not a Cygwin console.
 Once you do this, setup.exe does take a few seconds (or up to two
 minutes if the package repository is on a network drive) from the time
 the windows pops up and the packages are listed on the console and the
 window becomes responsive again.
 
 
 Regards,
 Achim.
 -- ...

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



Re: Setup in infinite tight loop using 100% cpu resource

2013-03-10 Thread wynfield

Would using the 'run' command do this so one would not have to start up an 
instance of a cdm window? 

Example:
$ Run $c/cygwin-packages/setup -q -n -D -K http://cygwin.com/setup.exe.sig  -l 
C:\cygwin-packages  -R C:\cygwin  -s http://ftp.jaist.ac.jp/pub/cygwin   -P 
openssh

I'm assuming that setup.exe is expecting DOS style pathnames and RUN does 
expect posix type pathnames for the command to run.

Thanks  

Achim Gratz strom...@nexgo.de wrote:
 wynfi...@gmail.com writes:
  setup hangs in a tight loop when I try the following command from a cygwin 
  console:
 
 You should start setup.exe from a cdm window, not a Cygwin console.
 Once you do this, setup.exe does take a few seconds (or up to two
 minutes if the package repository is on a network drive) from the time
 the windows pops up and the packages are listed on the console and the
 window becomes responsive again.
 
 
 Regards,
 Achim.
 -- 

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



X11 capturing DISPLAY value

2013-03-10 Thread wynfield

I wanted to capture the X11 DISPLAY value that shows on the console when 
'startx ' in invoked and successful.  I've tried:

 startx 21 | grep DISPLAY\= /tmp/xwin.txt 
 startx 21 | grep DISPLAY /tmp/xwin.txt 

but neither worked.  I could check files in /tmp/.X11-unix/* for date, owner, 
etc, and hope that the newest one is the right one and extract the number from 
the name, however if another user started an X window in the meantime I'd get 
the wrong DISPLAY v
alue.

Is there a preferred standard way to get this value?

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



Emacs MS W32

2013-03-09 Thread wynfield

I'd like to know more about the Microsoft W32 o.s. runnable emacs that's being 
offered.

My objective is to have an emacs that I can carry around in a memory stick and 
be able to use emacs, even on Microsoft W32 o.s. running systems.   I'd put the 
emacs and my personal emacs customization files with me and be able to use 
emacs anywhere.  

Is this possible with the new ms w32 runnable emacs that's recently been 
introduced.

I have my own personal emacs (posix with X11) that I do not want to be affected 
by the ms-w32 runnable version.  Would installing the ms w32 version create any 
conflicts with my existing version?  (My current version was not installed by 
setup.exe, but b
uilt locally from the source, and I need it like that, so don't wish the ms w32 
version to affect it in any way.

Any information would be appreciated.

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



Re: $USER is not resolved in paths sometimes

2013-02-23 Thread wynfield

Sorry, I copied all examples with the -w option which is wrong for converting 
into a unix like pathname. 

To convert to a unix pathname use the option  -u
   to convert to a windows pathname use   -w

Run:   cygpath --help 


for more detals.  and to get the output in the sell use $(...) or the ticks 
``
with the command and all arguments inside.


 
 I agree with Achim.  Don't use Microsoft Windows paths.
 Cygwin has a function called cygpath which is very handy to use to convert 
 paths and use in zsh and other shell scripts
 
 In zsh, using zsh syntax, I use it like this:
 
 Convert the first argument to a micrsoft window format pathname
winpath=$(cygpath -w $1)
 
 or to convert a Windows formatted pathname to unix like do:
 fname=$(cygpath -w ${windows-type-ifname})

 a hardcoded filename would be
 fname=$(cygpath -w ${C:\miscrosoft\windows-type-ifname.abc})
 
 * you may need to quote the flename to escape : or \
 

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



Re: $USER is not resolved in paths sometimes

2013-02-22 Thread wynfield

I agree with Achim.  Don't use Microsoft Windows paths.
Cygwin has a function called cygpath which is very handy to use to convert 
paths and use in zsh and other shell scripts

In zsh, using zsh syntax, I use it like this:

Convert the first argument to a micrsoft window format pathname
   winpath=$(cygpath -w $1)

or to convert a Windows formatted pathname to unix like do:
fname=$(cygpath -w ${windows-type-ifname})
 
a hardcoded filename would be
fname=$(cygpath -w ${C:\miscrosoft\windows-type-ifname.abc})

* you may need to quote the flename to escape : or \



Thomas Deinhamer tha...@gmail.com wrote:

 I'm new to Cygwin, new to this newsgroup too. ;)
 
 I'm running Cygwin and using the zsh shell.
 
 In the .zshrc file I got these lines:
 alias vboxmanage=VBoxManage
 vboxmanage setproperty machinefolder C:\Users\$USER\VirtualBox VMs\
 
 When I try to boot a VM using vagrant (which
 uses vboxmanage internally I think) sometimes
 $USER is not resolved to the real username.
 
 Instead vboxmanage creates a new machinefolder
 on C:/ which is then called Users$USER and
 inside this folder there is the folder VirtualBox VMs,
 so the wrong path is C:\Users$USER\VirtualBox VMs\.
 
 How could that be? Sometimes it works, sometimes it doesn't.
 
 Do I need to escape the backslashes or is
 there anything else I need to take care of?
 
 I'm wondering why it only fails sometimes.
 
 Thanks a lot,
 Thomas

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



Re: How to make persistent changes to PATH in cygwin?

2013-01-03 Thread Wynfield Henman
Why are invoking 'echo' and not just simply
PATH=$PATH:/newdir  ? Which is faster  take less resources..I

On Wed, Jan 2, 2013 at 10:32 AM, Aaron Schneider
notst...@users.sourceforge.net wrote:
 I've tried this:

 export PATH=`echo $PATH`:/newdir/

 And PATH contains the new dir, but after closing and reopening mintty (with
 cygserver stopped) changes are lost.

 How to solve that?

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


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



Re: Unwanted texlive invasion

2012-09-26 Thread Wynfield Henman
 In my humble opinion cygwin should be open to improvement and, we
should keep cygwin's purpose as a base system, which is as full, and
as easy, and as close to a *nix environment as possible.

On Tue, Sep 25, 2012 at 2:20 PM, Ken Brown kbr...@cornell.edu wrote:
. snipped

 I don't agree.  The solution should not be to install an unnecessary
 package and waste space and complicate by having to check order in the
 PATH variable.

 People who install programs that are not provided by Cygwin have to expect
 to set PATH appropriately, including checking the order of the paths.

Nonsense.  cygwin does behave, has behaved, and should operate in as
should as a base for *nix environment, applications, and tools.
Forcing such minutiae as, what goes where in PATH, is not an elegant
solution.  A temporary work-around it is, but not a good final
solution.


 It would be better that a.) installation scripts check for the
 existence of the necessary commands first and not brute force the
 installation or warning that the cygwin port of it be installed.

 For the issue being discussed in this thread (the gnuplot dependency on
 texlive-collection-basic), the necessary command *is* /usr/bin/mktexlsr.
 Running the mktexlsr provided by the native TeX Live distribution will not
 do the job (which is to make the files installed in /usr/share/texmf-dist 
 accessible to tex).

Yes, it would do the job.  Note that 'mktexslr' is not a TexLive
function, at least not in my setup.  Assuming that mktexslr has been
developed properly it will find the TexLive required code since it is
in PATH, else it would print a 'req'd  name.xxx not found.  Then the
user can do what has to be done.

Now the real issue was flagged by the texlive dependency, but the main
issue is all dependencies in general and how to handle them the best.
We shouldn't be myoptic, but look to solutions that would cover all
cases, not just a single case.  I believe we want cygwin to be a
robust, easy to use, yet powerful tool.

 It may also be desirable, to have setup use a list of packages to NOT
 install, regardless of any dependencies.

 I don't think setup.exe should make it quite that easy for people to
 circumvent dependencies.

On the contrary we make cygwin easy to use and free to users to
customize their system.  I suppose you're worried that could cause a
lot of problems, which it could if applied naively, but that would be
the user's problem and such features could easy display a warning, and
a user at his own disgression could set an option if this feature was
added to not display the warning every time and carry on setup
processing just as the user chose.

  But maybe something like the Debian equivs
 facility would be useful (see http://www.tug.org/texlive/debian.html for a
 discussion of this in the context of TeX Live).

This might be a good idea. I'm not familiar with it, but again it is
desired to have a general solution for all depencies and not just
Texlive based ones.

 As usual, it's easy to come up with ideas for enhancing setup.exe; but

   http://cygwin.com/acronyms/#SHTDI

Yes, of course it takes someone and resources to implement it.  But,
ideas should be always welcome to those who are so valuable and do
work on setup.  It's improvements lately are extremely appreciate by
me.

 Ken

Wynfield

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



Re: Unwanted texlive invasion

2012-09-25 Thread Wynfield Henman
I don't agree.  The solution should not be to install an unnecessary
package and waste space and complicate by having to check order in the
PATH variable.

It would be better that a.) installation scripts check for the
existence of the necessary commands first and not brute force the
installation or warning that the cygwin port of it be installed.

It may also be desirable, to have setup use a list of packages to NOT
install, regardless of any dependencies.  Maintaining that list would
be the site's administistrator's task.

I also have the problem of setup always trying to install texlive,
when I already have the native version, and it's a pain to have to
continually go in and select [skip] for each one and the select yes I
don't want these, every time I want to update other packages.


On Tue, Sep 25, 2012 at 10:07 AM, Ken Brown kbr...@cornell.edu wrote:
 On 9/25/2012 11:41 AM, Ryan Johnson wrote:

 Hi all,

 I'm trying to upgrade a set of existing cygwin packages, and texlive
 suddenly wants to install itself, apparently due to a new dependency
 from gnuplot. Is this really necessary?


 This dependency is created by cygport.  It's of course up to the gnuplot
 maintainer (Volker Zell) whether or not he wants to override it, but I can
 explain the rationale.  gnuplot installs some files into
 /usr/share/texmf-dist.  To make it possible for tex to find those files, the
 gnuplot postinstall script runs /usr/bin/mktexlsr.  The latter is provided
 by texlive-collection-basic, so this package is required by gnuplot.

 Maybe you should just bite the bullet and install texlive.  It won't
 interfere in any way with your native TeX Live installation, as long as you
 put the bin directory for the latter first in your path.

 Ken


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


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



Re: multiwindow X11 and Emacs

2012-09-14 Thread Wynfield Henman
Sorry about that.  I was more making the point that it's not a cygwin
port of emac's fault.

I also have this problem using emacs built locally from the original
gnu emacs source code.   And also from the cygwin port.

C-z  puts emacs off the screen, but when its re-displayed the focus
doesn't come back into the editting buffer.  I have to first click on
any ol option on the top menu, and it re-activiates something that
enable editting back in the buffer.
environment:putty (also built from original source code)

This problem / hanging does not occur when emacs has been moved off
the screen by clicking on the [-] tab in the upper right side of the
emacs frame.

Can you duplicate this on your system?

C-Z# then [SHIFT][TAB] back to emacs to get it back up on the
screen.  It should be frozen then.  Workaround, click on [File] or
something and then escape from it and you can work in the normal
buffer.

On Fri, Sep 14, 2012 at 4:15 AM, Ken Brown kbr...@cornell.edu wrote:
 On 9/14/2012 1:56 AM, Wynfield Henman wrote:

 emacs hangs  for me when invoking it from putty which has been
 initiated by cygwin X11 which I start with startx.
 But, I usually always have emacs up all the time and its not a big
 pain.  I would be nice for it not to freeze when being re-activated.


 I'm sorry, but you didn't give enough details for me to know whether you're
 reporting the same problem that Achim reported.  If not, please start a new
 thread.  In either case, please give a precise recipe for producing the
 problem.  Do you have to use a non-Cygwin program (putty) in order to
 produce the problem?

 Ken


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


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



Re: multiwindow X11 and Emacs

2012-09-13 Thread Wynfield Henman
emacs hangs  for me when invoking it from putty which has been
initiated by cygwin X11 which I start with startx.
But, I usually always have emacs up all the time and its not a big
pain.  I would be nice for it not to freeze when being re-activated.

On Tue, Sep 11, 2012 at 11:46 PM, Achim Gratz strom...@nexgo.de wrote:

 Now that X11 works again without crashing and I've found a font that looks OK
 I'm running into a problem again that (I think) has existed for much longer:

 When I start emacs from a shell window outside the X11 session (e.g. the same
 mintty that I ran startxwin in) and then iconify emacs-X11 with C-z, the 
 cursor
 won't blink and it won't respond to keyboard input after de-iconifying it from
 the taskbar (I'm using the multiwindow native window manager).  I have to
 select something from the menu bar before emacs starts responding again, which
 is a bit of a problem when I've switched the menu bar off... until I remember
 that the context menus in the text pane are still there.

 This does not happen if Emacs is started from an Xterm or the menu entry of 
 the
 X server icon in the notification area or even another mintty that's been
 started from within X.  Somehow that C-z makes its way to where it shouldn't 
 go
 when the controlling terminal hasn't been started from the X11 session.  
 Ideas?


 Regards,
 Achim.


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


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



Re: TexLive's ConTeXt runtime error..

2012-08-23 Thread Wynfield Henman
Ken,
  your suggestion to put the TeXLive bin dir as the first entry of
PATH enabled TeXLive/ConTex.
Great.  I sincerely appreciate you assistance.

Now I will try to ferret out the problem and report on it when I find it.

Regards



On Wed, Aug 22, 2012 at 12:30 PM, Ken Brown kbr...@cornell.edu wrote:
 On 8/22/2012 2:06 PM, Wynfield Henman wrote:

 Ken,
thanks for replying and helping.  Here is the information that you
 asked about.

 The example ConTeXt file, example.tex, is attached hereto.

 PATH is in the cygcheck.out file.
 No other zlib.h was found.


 I can't reproduce the problem on my system, using either the native TeX Live
 or Cygwin's TeX Live.  Try putting /usr/local/texlive/2012/bin/i386-cygwin
 first in your path instead of last.  (That's what I do when I want to test
 something using native TeX Live.)


 Ken


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


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



Re: TexLive's ConTeXt runtime error..

2012-08-22 Thread Wynfield Henman
I reinstalled all cygwin zlib modules and the problem persisted.  The
only zlib I found was the cygwin installed one.  Since it is POSIX
compliant and TeXLive installs with it it shouldn't be a problem, I
should think.  But,
there is one due to, pdftex I think.

Regards

On Mon, Aug 20, 2012 at 11:24 PM, Achim Gratz strom...@nexgo.de wrote:
 Wynfield Henman wynfield at gmail.com writes:
 This results in: PANIC: unprotected error in call to Lua API
  (zlib library version does not match -
 header: 1.2.5, library: 1.2.7)

 Reinstall zlib and install zlib-devel.  If that doesn't help, check where the
 zlib.h header file is found (it shouldn't be from a Cygwin package in that 
 case).


 Regards,
 Achim.


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


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



TexLive's ConTeXt runtime error..

2012-08-20 Thread Wynfield Henman
TeXLive Version: 2012  (--all updated to August 20th, 2012)
Downloaded from: REPOSITORY=http://mirror.ctan.org/systems/texlive/tlnet;
Yes, this is the wild verison.  ConTeXt changes very rapidly and I
fancy following and testing those changes.  Thanks to cygwin for
allowing me to do that.
The attempted command which ends in an error is:

   texexec -o pdf 659-water-stations.tex

This results in: PANIC: unprotected error in call to Lua API
 (zlib library version does not match -
header: 1.2.5, library: 1.2.7)

However /usr/include/zlib.h  is for version 1.2.7, not the 1.2.5
mentioned in the error message. Any idea of how to fix this, so I
can run ConTexT?
Thanks for any and all help.

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



How to keep a dependency from [continually] appearing in setup

2012-07-29 Thread Wynfield Henman
I use the in-the-wild, 'texlive 2012' distribution, which I like to
tinker with and customize.
Due to a, what I believe is a dependency by auctex on texlive for some
reason, I keep getting a list of about 10 texlive related packages
automatically appended to what I want to install and I have to keep
manually [skip] them.

I would like to know some efficient way I could make that go away and
just have setup ignore texlive or have it see that I have it already,
but that it's just not a cygwin package, but user installed.

Any an all advice and ideas would be greatly appreciated.

Regards,

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



Re: Shell script loop runs out of memory

2012-05-31 Thread wynfield


I will not address the memory management problem, if there is one here.
I am addressing your method of determing a difference.

No offense, but it seems extremely inefficient, and the larger the file you are 
computnig the md5sum on the more inefficient.

Why not use the file system's modified flag, or even, depending on the types 
of changes you are expecting you could just check for a file-size change.  
Using either of these means that you wouldn't even have to open the file, let 
alone, slog through x 
bytes to compute an md5hash value.  In terms of both computer resource usage 
and speed this would be a far better method in my opinion to the method you 
currently use.

Regards



Jordan uptown...@yahoo.com wrote:

 Hi folks,
 
 I've written a shell script running under CygWin, the purpose of which is to 
 monitor a file for changes. If the MD5 hash fails to match the previous hash, 
 it 
 will execute a command to process the file. I used a 1-second delay between 
 checks of the hash. This works great for several hours, but then gives an 
 out 
 of memory error and actually brings Windows 7 to its knees.
 
 The script uses a loop within a loop; the outer loop is infinite by design, 
 and 
 the inner loop ends when it finds a non-matching hash and processes the file. 
 It 
 broke while running the inner loop, without the file having been modified at 
 that point in time. The file was modified numerous times previously, 
 triggering 
 the code below the inner loop, but not around the time when the memory error 
 occurred.
 
 I am just wondering why the loops here are consuming increasing amounts of 
 memory over time?  I'm assigning new MD5 values into existing variables over 
 and 
 over, not allocating new variables for each MD5 assignment. (Right??) Is 1 
 second perhaps too short a delay... does the system need time to deallocate 
 something between each iteration of the inner loop?
 

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



iconv problem

2012-05-19 Thread wynfield

Either there is a bug in cygwin's iconv utility or it's library, or what I am 
trying is not possible, but it should be possible.

I ran iconv as shown below:

$ iconv -f SJIS -t ISO-2022-JP --byte-subst=0x%x /tmp/td.sjis /tmp/td.txt

iconv: /tmp/td.sjis:12:2: cannot convert

... What happens is that
The conversion proceeds well until a non-convertable character is found.  It 
then stops the conversion process completely and closes the output file and 
prints out the above error message, and returns a 1 error code.

However, and rightly when ran simply with the -c option, the whole file is 
converted and any character which can't be is simply left out of the output 
stream.


I wonder is this is an ecoding specific bug, i.e., only related to SJIS to 
ISO-2022-JP or if people have ran into this problem with other encoding sets.

I can supply the input sjis file by appending it to this message, but I'm don't 
know if that's allowed.

Please consider and advise.

Regards

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



New cygwin dll crashes zsh

2012-04-14 Thread wynfield


With the latest distribution of cygwin, zsh faults with the following message.


child_info_fork::abort: unable to remap deltochar.dll to same address as parent 
(00C1) - try running rebaseall
zsh: fork failed: resource temporarily unavailable



Bash continues to run fine, as far as I know.  But, this is a real problem.  
Hopefully only for me, but do any other users experience this problem.  Or if 
you haven't updated be aware that it might occur and save you last cygwin base 
system.

[The zsh verions are zsh the latest 4.3.17 and the one which used to work 4.3.15
out of the box.

Anyone, with ideas on how to fix this, the ideas or solutions are welcome.

End of report.   


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



Re: New cygwin dll crashes zsh

2012-04-14 Thread wynfield

P.S. Rebaseall does not help.  I've tried that.

 
 
 With the latest distribution of cygwin, zsh faults with the following message.
 
 
 child_info_fork::abort: unable to remap deltochar.dll to same address as 
 parent (00C1) - try running rebaseall
 zsh: fork failed: resource temporarily unavailable
 
 
 
 Bash continues to run fine, as far as I know.  But, this is a real problem.  
 Hopefully only for me, but do any other users experience this problem.  Or if 
 you haven't updated be aware that it might occur and save you last cygwin 
 base system.
 
 [The zsh verions are zsh the latest 4.3.17 and the one which used to work 
 4.3.15
 out of the box.
 
 Anyone, with ideas on how to fix this, the ideas or solutions are welcome.
 
 End of report.   
 
 
 --
 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
 

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



Re: displaying Chinese radicals

2011-10-13 Thread wynfield


Linguis,
  The radicals you speak of are only a component part of a Chinese character 
and not the character itself, just as the little dot above a lower case 'I' is 
not an alphabet and doesn't have a code.   

  If there is an encoding for the radical / which even if it is one of the few 
that are also complete characters, their shapes are very different from a 
complete Chinese character.  However if you have the fonts to display them and 
the encoding to use th
em you can, but it is not a cygwin issue. 

 Such radicals can't even be display on a Cinese box as far as I know, 
especially know that the characters have been so simplified (mutilated in my 
opinion).

Wynfield

Lingyis victor@gmail.com wrote:
 
 cygwin xterm or rxvt does a good job when it comes to displaying Chinese
 characters, but it doesn't have fonts for all the Chinese radicals.  maybe
 half of them show up as SQUARES.  the ones that do show up i can tell
 cygwin did some substitutions--i.e. dug up other fonts when current font
 doesn't have this glyph.
 
 can somebody give me some advice on this?  on my mac machine the radicals
 just magically appear, so i imagine the fonts should be available somewhere
 in cygwin.  thanks! 
 -- 

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



Re: Does Latex/Tex install? Does Latex/Tex work? How do you get it installed? How do you get it to work?

2011-05-27 Thread wynfield

I have installed and use 'texlive 2010', as is, on cygwin with no problem.
No need for MikTeX or Windows interfaces.  Using TexLive also eases things since
it uses normal posix pathnames.

Regards,
  Wynfield

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



gs crashing

2011-03-06 Thread wynfield

I tried gs to view a pdf document, but found it failed.

Upon a little investigating it was gs that was failing.

The reason given (with verbose flas set was)

GPL Ghostscript 8.63: Unrecoverable error, exit code 1
    Error reading a content stream. The page may be incomplete.
    Incorrect object count in object stream.
Error: /rangecheck in resolveobjectstream


I tried this on what seem to be valid pdf files and viewable with Samatra, the 
open source viewer for MS-Windows.

Is this a problem due to upgrading the system and gv not in tune with it?

Regards,
  wynfield

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



Language interface template request

2011-02-08 Thread wynfield

I want to write a small assembly language routine to do some heavy bit slogging 
and
interface it to a C language program.

Does anybody have any templates to show how this should be done.

Stack control  variable definitions for linking.


Thanks

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



Re: Mail program

2010-06-30 Thread wynfield

Re: Cyrille Lefevre cyrille.lefevre-li...@laposte.net wrote:
 even w/ mailutils, you'il probably need a sendmail which is provided
 by ssmtp or msmtp...


No,a seperately loaded sendmail would not be necessary
D. Henman has told me that, the Gnu mailutils suite should have everything 
needed.  It has a sendmail daemon, a mail program to send  receive mail, 
and a movemail.  For example I could use movemail to fetch mail messages from 
a yahoo or gmail pop 
account, similar to the function fetchmail performs.

regards
  

P.S. I use Gnu Mailutils, Gnu MH (Gnu Mail Handler) which enable emacs to use 
the MH-E functionality to compose/edit/read and store e-mail messages.  Once 
used to emacs' MH-E for mail handling, I think most emacs users would really 
prefer it over stand
ard firebird or explorer type message handling.

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



Re: ImageMagick 6.4.0.6-2 does not work out-of-the-box on a fresh Cygwin install: Possible package dependency issue?

2010-06-28 Thread wynfield

Intertesting I had no trouble with ImageMagick 6.6.2-1, which is newer of 
course.
It built with no trouble out of the tarball downloaded from Imagemagick source.

I built it and amd using it now on CYGWIN_NT-5.1  1.7.5(0.225/5/3)

Did you mean something else about out-of-the-box?

regards

William Blunn bill+cyg...@blunn.org wrote:
 ImageMagick 6.4.0.6-2 does not work out-of-the-box on a fresh Cygwin
 install.

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



Re: Hello! I can't get to c:\Program Files using c:\Program/ Files\ any suggestions?

2010-06-16 Thread wynfield
Thorsten, don't use Microsoft Windows style of pathnames!  Use POSIX compliant
pathnames.

E.g. Do the following
$  cd /cygdrive/c/Program\ Files

or alternatively try
$  cd `cygpath -u C:\Program Files`

Note the backslash is to escape the space in the pathname in the 1st case, 
quotes
in the 2nd case.
   
Re:Thorsten Kampe thors...@thorstenkampe.de wrote:
 
 cd c:\Program/ Files\ doesn't work and never worked
 cd 'c:\Program Files' does work and always worked
 
 Thorsten

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



glib and gtk+

2010-03-08 Thread wynfield

I have had the following anomaly since before the official release of 1.7, but 
using the beta version of 1.7.

I don't think it's a major problem, but somewhere a database type inconsistency.

Whenever I run setup the view always shows me the following two packages as 
being needed to install.  I select to install them.  Installing them seems to 
happen.

glib 1.2.10-10 bin? [x] src[ ]  glib ..funct lib (1.2 sources
gtk+ 1.2.10-10 bin? [x] src[ ]  gtk+ gui lib (1.2 sources)

But, whenever I run setup again the same pair of files come up.  Note also 
that the x'd box [x] is in the binary column , but the description specifies 
sources.

Thanks for any input to get this corrected.

Wynfield

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



Re: `cygwinpath -D' could not display the Chinese character

2009-11-30 Thread wynfield

I have no problem with Japanese-Kana or Chinese-Kanji characters
related with cygpath.  Some jibberish directory or file names might exist from 
legacy mis-encodings or non-recogizable character sets, but this would not be a 
cygpath issue.

 On Nov 30 09:14, ??? wrote:
  The problems occurs again.
 
 Nothing has changed in this code.
 
 
 Corinna
 
 -- 

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



Re: setup for 1.7 fails with Japanese characters in download

2009-10-02 Thread wynfield

My base os is Japanese OEM Windows XP.

I've only used the standard c:\cygwin-packages directory, so have not had any 
problems. But, to confirm Gernot's report, I created a  C:\japanese_dirname日本語名 
directory and tried to download a package into it.  It fails.

setup reports the following type of message:

No such file or directory: 
C:\japanese_dirname日本語名/http%3./release-2/..bzip_filename

Although I think comments regarding setup may need to be sent to some setup 
mailing list??

Regards,
  Wynfield


Gernot Hassenpflug aikishu...@gmail.com wrote:
 .
 First post, decided to file bug after installing testing Cygwin 1.7 on
 my Japanese WinXP on a Dell Core2Duo 64-bit x86-64 machine.
 
 The net installer failed to write to the download directory, by
 default the one in My Documents but written in Japanese characters.
 When I created a parallel directory Downloads I could run the net
 installer fine.
 
 Best regards,
 Gernot Hassenpflug
 

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



Re: The C locale

2009-09-28 Thread wynfield

Though I'm not an up on the details involved here, I will give
you feedback to the request for information about the locale issue, because it 
affects the quick accessability and usage of Japanese language documents.

Either of the two follow values would be acceptable, but I feel that the UTF-8 
charset is becoming more and more adopted.
LANG=ja - UTF-8
 LANG=ja_JP - UTF-8

Also the following be suitable if possible..
LANG=ja - iso-2022-jp
 LANG=ja_JP - iso-2022-jp


Regards:


 On Sep 29 01:03, IWAMURO Motonori wrote:

   . snipped
  
   I think selecting UTF-8 is good because eucJP is legacy.
  
 and
 
  My conclusion is as follows as a result of hearing other Japanese
  people's opinion:
  
  LANG=ja - UTF-8
  LANG=ja_JP - UTF-8
  
  Because, we specify eucJP explicitly when we need it.

 

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



cygwin 1.7 cdrtools package

2009-08-14 Thread wynfield


on: cygwin 1.7 2009-08-13 17:52 build.  (though I've had this error before on 
1.7)

trying to build: 
ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a63.tar.gz

fails.

I was able to make the smake program which Shilly provides, but getting 
the latest cdrtools package built failed.


If I was missing a required library, the build process should get this far I 
believe, the setup/configuration phase in smake should have spit it out.


Has anyone been working on cdrtools with cygwin 1.7 and if so I'd appreciate 
any help here.  I am accustomed to cdrtools and it does support blue-ray disks 
as well, though to what exten I'm not sure yet, but would like to find out.

regards,
  Wynfield


p.s. the new 2009-06-13 also fixed my building zsh problem.




  some clips of the errors follow:

examples of some make errors:
.
== COMPILING spawn.o
spawn.c: In function 'wait_chld':
spawn.c:148: warning: passing argument 1 of 'wait' from incompatible pointer 
type
spawn.c:154: error: invalid operands to binary  (have 'union wait' and 'int')
spawn.c:154: error: invalid operands to binary  (have 'union wait' and 'int')
spawn.c:154: error: invalid operands to binary  (have 'union wait' and 'int')
spawn.c:157: error: invalid operands to binary  (have 'union wait' and 'int')
smake: Operation not permitted. *** Code 1 from command line for target 
'spawn.o'.
smake: The following command caused the error:
echo   == COMPILING \spawn.o\; gcc   -O   -DSCHILY_BUILD 
-IOBJ/i686-cygwin32_nt-gcc -I../incs/i686-cygwin32_nt-gcc -I../include   
-mwin32 -Istdio -DUSE_SCANSTACK   -DPORT_ONLY  -c -o 
OBJ/i686-cygwin32_nt-gcc/spawn.o spawn.c  
smake: Couldn't make 'all'.
smake: Leaving  'smake'[2] from directory 
'/usr/src/cdrtools/cdrtools-2.01.01/libschily'



..
.

== COMPILING misc.o
== LINKING OBJ/i686-cygwin32_nt-gcc/btcflash.exe
OBJ/i686-cygwin32_nt-gcc/skel.o:skel.c:(.text+0x5fb): undefined reference to 
`_getnum'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0xa3): undefined reference to `_flush'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0xba): undefined reference to 
`_js_getline'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0x1be): undefined reference to 
`_flush'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0x1ce): undefined reference to 
`_js_getline'
OBJ/i686-cygwin32_nt-gcc/misc.o:misc.c:(.text+0xb6): undefined reference to 
`_flush'
../libs/i686-cygwin32_nt-gcc/librscg.a(scsi-remote.o):scsi-remote.c:(.text+0x3f0):
 undefined reference to `__nixwrite'
../libs/i686-cygwin32_nt-gcc/librscg.a(scsi-remote.o):scsi-remote.c:(.text+0x77e):
 undefined reference to `__nixwrite'
../libs/i686-cygwin32_nt-gcc/librscg.a(scsi-remote.o):scsi-remote.c:(.text+0x7af):
 undefined reference to `__nixwrite'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0xf6c): 
undefined reference to `_flush'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0x1069):
 undefined reference to `_serrmsgno'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0x1534):
 undefined reference to `_flush'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0x1547):
 undefined reference to `_js_getline'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x24f):
 undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x37d):
 undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x51a):
 undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x56f):
 undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x5ef):
 undefined reference to `_getnum'
collect2: ld returned 1 exit status
smake: Operation not permitted. *** Code 1 from command line for target 
'OBJ/i686-cygwin32_nt-gcc/btcflash.exe'.
smake: The following command caused the error:
echo   == LINKING \OBJ/i686-cygwin32_nt-gcc/btcflash.exe\; gcc -o 
OBJ/i686-cygwin32_nt-gcc/btcflash.exe OBJ/i686-cygwin32_nt-gcc/skel.o  
OBJ/i686-cygwin32_nt-gcc/io.o OBJ/i686-cygwin32_nt-gcc/cd_misc.o 
OBJ/i686-cygwin32_nt-gcc/scsi_cdr.o  OBJ/i686-cy
gwin32_nt-gcc/scsi_scan.o  OBJ/i686-cygwin32_nt-gcc/misc.o   
-L../libs/i686-cygwin32_nt-gcc -L../libs/i686-cygwin32_nt-gcc-lscgcmd 
-lrscg -lscg  -lcdrdeflt -ldeflt -lschily   
smake: Couldn't make 'all'.
smake: Leaving  'smake'[1] from directory 
'/usr/src/cdrtools/cdrtools-2.01.01/btcflash'
smake: Default commandline target: 'all'
smake: Doing   exit(1)
== MAKING all ON SUBDIRECTORY SRCROOT/cdda2wav
== COMPILING cdda2wav.o
cdda2wav.c: In function 'CloseAll':
cdda2wav.c:600: warning: passing argument 1 of 'wait' from incompatible pointer 
type
cdda2wav.c:603: error: invalid operands to binary  (have 'union wait' and 
'int')
cdda2wav.c:604: error: invalid operands

fork: child died

2009-08-11 Thread wynfield

zsh configs and makes but fails on make check testing.

1.) cygwin vers: CYGWIN_NT-5.1 1.7.0(0.212/5/3) 2009-08-11 11:07 (latest 
1.7.0.57)

2.) zsh version attempting to build: zsh-4.3.10

3.) compilers tried:  
   - gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
   - gcc (GCC) 4.3.4 20090802 (prerelease)


Here is a sample of the same repetiting failure of the form:


 fork: child -1 - died waiting for longjmp before initialization

I beleive I saw a reference to the cause of this kind of failure in one of 
Corinna's messages, but would like to clarify it and see if any workarounds 
exist for now, till it can be properly fixed in the core cygwin dll (if that's 
the problem)?

Any thoughts or ideas would be appreciated.

Thanks,
   Wynfield

 past of failure msgs follows:

./A01grammar.ztst: starting.
1950383 [main] zsh 3048 fork: child -1 - died waiting for longjmp before 
initialization, retry 0, exit code 0xC005, errno 11
(eval):1: fork failed: resource temporarily unavailable
Test ./A01grammar.ztst failed: non-zero status from preparation code:
  mkdir basic.tmp  cd basic.tmp
./A01grammar.ztst: test failed.
3942611 [main] zsh 3048 fork: child -1 - died waiting for longjmp before 
initialization, retry 0, exit code 0xC005, errno 11
(eval):1: fork failed: resource temporarily unavailable
Test ./A01grammar.ztst failed: non-zero status from preparation code:
  touch foo bar
  echo ' unmatched_quote.txt
./A01grammar.ztst: test failed.
6282991 [main] zsh 3048 fork: child -1 - died waiting for longjmp before 
initialization, retry 0, exit code 0xC005, errno 11
ZTST_test:4: fork failed: resource temporarily unavailable

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



Re: Running Zsh under Cygwin

2009-07-09 Thread wynfield


gelati,
 Regarding:  
 Before I spam the list with the errors I get from running Zsh, I'd like to 
 know if Zsh or alternative shells are officially supported by the Cygwin 
 distribution. That is, is Zsh (or tcsh) supposed to be as functional as Bash 
 under Cygwin? Or is Zsh sim
ply included on a you're lucky if it works, you're on your own if it doesn't 
basis? Feedback from Zsh users appreciated.
 

   I presume you have silly scripting errors due to your bad syntax.  If not 
then give us a precise idea about what you are talking about.  

   I as well am using:
  zsh 4.3.9 (i686-pc-cygwin)

   which I compiled manually with gcc (GCC) 4.3.4 20090531 (prerelease)



p.s. Regarding you're threat about spamming, it is my opinion that one should 
not 
suggest that one is or would be such an a.h...
I will presume you meant it rhetorically.

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



Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread wynfield

emacs can use gtk+, so libXaw7 is not necessary.

Only one of the two, gtk+ or libXaw7 are required.  I use gtk+ for example.
Using gtk+ does require a simple work around to use it however, such as

# put the following line in your ~/.xinitrc file
export G_SLICE=always-malloc
exec emacs 

or from within an x window
more simply: (from an X-shell !)

$ G_SLICE=always-malloc emacs 


regards,
  wynfield

--

Ken Brown kbr...@cornell.edu wrote:
 
 And, to head off the next question, I think the
 ancient-but-still-current version of emacs-X11 needs libXaw7
 (http://cygwin.com/ml/cygwin/2009-05/msg00619.html).  Can someone add
 that to the requires line? .
...
 Ken
 

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



Re: File by file encryption instead of filesystem encryption

2009-05-23 Thread wynfield



Re: Kelly Jones kelly.terry.jo...@gmail.com wrote:
 Are there any cygwin/Windows programs that will encrypt a file, but
 leave it usable, similar to what TrueCrypt does for filesystems?
 .

It might be safest to use GnuPG, the Gnu Privacy Guard.

For you case using one of its Symmetric ciphers to encypt the file should be
sufficient.

You can also consider using Public-key ciphers which it also supports.

The cygwin package containing it is someting like gpg (GnuPG) 1.4.9.


regards


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



Re: about X

2009-03-28 Thread wynfield

samuel samuelan...@gmail.com wrote:
 Hi. I have just installed xinit on my vista laptop. When I typed in 'xinit' in
 the cygwin console, I got a BIG BIG annoying X window which occupied all the
 space of my desktop and cannot be resized. When I started other programs in
 xterm, the new program just covered up the space where xterm used to be and I
 couldn't switch back to the xterm windows.
 How can I get a clean and separate xterm window? Thank you.
 
Samuel, some say this is off topic, but I find that xterm, emacs built for x11, 
and et al depend on X11.  I am not an expert, so can only tell you of a kludge 
I found that fixes the problem.  There must be an X or x something rc file that 
can be modified
 to give arguments, but there is a maze of them and the formats vary.  I found 
no direct answer on the Cygwin/X faq, but I'll cc this to the list, though I'm 
not a member.

Here is a simple work around I found that fixed the problem for me.

I changed line #28 in /bin/startx to include two arguments, one for the 
clipboard and one for multiple windows (which is what you want).  You probably 
also want the clipboard to work.

line 28 in /bin/startx changed to the below:
defaultserverargs=-clipboard -multiwindow

Regards,
  Wynfield

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



Re: about X

2009-03-28 Thread wynfield

samuel samuelan...@gmail.com wrote:
 Hi. I have just installed xinit on my vista laptop. When I typed in 'xinit' in
 the cygwin console, I got a BIG BIG annoying X window which occupied all the
 space of my desktop and cannot be resized. When I started other programs in
 xterm, the new program just covered up the space where xterm used to be and I
 couldn't switch back to the xterm windows.
 How can I get a clean and separate xterm window? Thank you.
 
Samuel, some say this is off topic, but I find that xterm, emacs built for x11, 
and et al depend on X11.  I am not an expert, so can only tell you of a kludge 
I found that fixes the problem.  There must be an X or x something rc file that 
can be modified
 to give arguments, but there is a maze of them and the formats vary.  I found 
no direct answer on the Cygwin/X faq, but I'll cc this to the list, though I'm 
not a member.

Here is a simple work around I found that fixed the problem for me.

I changed line #28 in /bin/startx to include two arguments, one for the 
clipboard and one for multiple windows (which is what you want).  You probably 
also want the clipboard to work.

line 28 in /bin/startx changed to the below:
defaultserverargs=-clipboard -multiwindow

Regards,
  Wynfield

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



Re: R: jasper package (jpeg-2000)

2009-03-03 Thread wynfield

Marco,
   thanks for the direct url to the official package repository.  That enabled 
me to build imagemagick with jpeg-2000. Until yesterday, the libjasper-devel 
package did not show in my setup.exe's library or graphics category list.  
Perhaps is was a propagation error to mirror sites or some kind of ini file was 
not configured correctly, that has been fixed.

regards

 
Marco Atzeri :
 --- Mar 3/3/09, wynfi...@gmail.com  ha scritto:
  Da: wynfi...@gmail.com 
  Oggetto: jasper package (jpeg-2000)
  I can not find the jasper development package with setup.exe
  which should contain the c header files, etc.
  Can someone please give me the name of the jasper
  developement package, as I can't seem to find it with a
  name like jasper anywhere.
  
  Thanks.
 
 
 Try here 
 http://cygwin.com/packages/
 
 I guess
 libjasper-devel  JPEG 2000 library - (development)
 
 
 Marco
 
 
   Passa a Yahoo! Mail.
 
 La webmail che ti offre GRATIS spazio illimitato, 
 antispam e messenger integrato.
 http://it.mail.yahoo.com/  

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



jasper package (jpeg-2000)

2009-03-02 Thread wynfield

I can not find the jasper development package with setup.exe which should 
contain the c header files, etc.

I could only find what appears to be the jasper
   1.) utility programs and
   2.) the runtime library

i.e., jasper-1.900.1-1.tar.bz2   and libjasper1-1.900.1-1.tar.bz2

Can someone please give me the name of the jasper developement package, as I 
can't seem to find it with a name like jasper anywhere.

Thanks.

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



jasper package

2009-02-27 Thread wynfield

I like to experiment with imagemagick, so I build it on my own for those 
personal reasons.  

I've not used any jpeg-2000 functionality and thought to try it out, so I 
used setup and downloaded the cygwin jasper package for this.

However configure with imagemagick does not find jasper.h 
Looking in the release tarballs I can not find it either.

Was it possibly (or a portion of the jasper package) not tarballed or 
distributed as I think it should be.  Any help is appreciated.

regards
  

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



Re: how to install libtoolize

2009-02-06 Thread wynfield

Re:
Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote:
 On 02/05/2009, Wynfield Henman wrote:
  Though I am building a different package, I have the same problem as
  mentioned below.  The libtool package downloaded is 46 bytes
  (effectively null) and get stashed into the _obsolete folder without
  ever getting installed.
 http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr%2Fbin%2Flibtoolize
 
 Don't install obselete packages unless you really know what you're doing.
 
 Given the above, why doesn't just installing the 'libtool' package get
 you what you need?
 

That is just the problem it doesn't get what is needed, but only shows the 
obsolete (from what you say) versions as the newest. 

I even tried experimental to try to find newer libtool version, but none show 
up.
Version1.5b or whatever was presented as the newest version by setup.

There was no intentional _obsolete gets on my part.
I solved the problem by hand getting the new vesion and untarring it in the 
appropriate location, but that shouldn't have to be done. 

I believe it is a setup related problem, either hints or ini file data.

Regards
 -- 

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



Re: how to install libtoolize

2009-02-05 Thread Wynfield Henman
Though I am building a different package, I have the same problem as
mentioned below.  The libtool package downloaded is 46 bytes
(effectively null) and get stashed into the _obsolete folder without
ever getting installed.

Another problem just noticed is that the setup process is appending a
/ character onto the end of the cygwin directory name on a mirror.

e.g. http%3a%2f%2fftp.daum.net%2fcygwin%2f

the %2f above. this creates a directory with the same name.  Names
shouldn't have /, ok %2f in them in my opinion and it wasn't like
this before.  For example setup shows get the setup.bz2 file from the
following address
   http://ftp.duam.net/cygwin//setup.bz2

not the two consequtive //'s above.  Whether this causes a problem or
now I can't say, but I like to keep my downloaded files in the same
directory and this is now created a new one with a dangerous name
(i.e. an explicit '/' from the %2f.

Don't forget the libtool probelm as well. Related or not I do not
know.  All  help is appreciated

regards
  wynfield

On Thu, Feb 5, 2009 at 7:01 PM,
From: ludovic leman:
 I'll try to build VideoLAN but it uses libtoolize

 I have tried to install libtool (1.5b-2) with setup.exe but this package
 doesn't include /usr/bin/libtoolize.
 In fact, the downloaded libtool-1.5b-2.tar.bz2 is empty

 I have tried to installed an alternative version : I uncheck Hide
 obsolete packages and I try to use libtool2.2 v2.2.2-2.
 The resulting libtool2.2-2.2.2-2.tar.bz2 is also empty.

 I have tried severals mirrors : all official libtool*.bz2 are empty.

 But on the mirrors, there are libtool*.bz2 files with different version
 number. (for example on
 http://sources-redhat.mirrors.airband.net/cygwin/release/libtool/ there is
 libtool-2.2.6a-1.tar.bz2 but the setup.ini from this mirroir doesn't
 reference this file)

 well, how can I install libtool package with the libtoolize file.

 thanks,

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



ImageMagick

2008-09-02 Thread wynfield

Did some more experimenting and Imagemagick fails (dies ) when trying to 
convert a
jpg file or a png file to jpg or jp2 format , however a jpg to png works well.

jasper built with or without configuring with --disable-libjpeg, also died in 
a segment faut.



Any ideas of what if the problem?

regards.




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



Re: why the strange stack stuf in cygwin?

2008-09-02 Thread wynfield

Jay,
  rather than making silly pedantic and empty arguments I'd rather that you
contributed to making things better.  That is if you were truely up to it 
capable.

regards

Jay [EMAIL PROTECTED] wrote:
 snipped the drivel
...
   The code seems very wierd in places.  
   I don't like it.  
   I know, boo hoo, whine whine whine. It seems to work but it makes me 
 nervous.  
  - Jay 

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



  1   2   >