Re: Audio Related

2013-11-18 Thread d.henman

Thanks for the informative explanation.  It would be nice if someone see this 
and has the audio knowldge to update this area as you said. 

Thanks

Corinna Vinschen
 On Nov 16 11:09, wynfield 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.
 
 Cygwin supports a single OSS-like audio device called /dev/dsp.  It's
 always connected to the default Windows audio device.
 
 It's not much, but unfortunately we're lacking a developer who's
 knowledgable in this audio stuff and interested in either extending the
 /dev/dsp interface to support multiple audio devices, or to modernize
 this to a more ALSA-like interface.
 
 
 Corinna
 
 -- 
 Corinna Vinschen  Please, send mails regarding Cygwin to
 Cygwin Maintainer cygwin AT cygwin DOT com
 Red Hat

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

2013-11-15 Thread d.henman

Thanks for the helpful information.

honeycomb (2013/11/15 1:01), 
  Building libmad
  
  I download an attempted to build libmad-0.15.1b.  with the build shared 
  option set.
  
  Options to --force-mem and addr were deleted as unneccessary anymore.
  
  The configure and make process proceed without any errors.
  
  But, no dll is made.  I can only see  .lo files and one   libmad.la
  
  
  Has anyone there had experience with getting a dll available for use?
 
 You have to add -no-undefined to libmad_la_LDFLAGS in Makefile.am.
 Alternatively, you can try this:
 https://github.com/nu774/libmad
 
 --

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

2013-11-14 Thread d.henman

Building libmad

I download an attempted to build libmad-0.15.1b.  with the build shared option 
set.

Options to --force-mem and addr were deleted as unneccessary anymore.

The configure and make process proceed without any errors.

But, no dll is made.  I can only see  .lo files and one   libmad.la


Has anyone there had experience with getting a dll available for use?

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: mysql package

2013-09-26 Thread d.henman

Andrey Repin wrote:
 Greetings,
 
  I jsut installed the mysql pacakge and tried to start the daemon.
  I got the follow error listing.   
 
 Why not use native mysql server?... Looking for troubles?

No. I just prefer a posix environment and it makes it better for porting to
production in a Linux environment.
 ... 
  Thanks
  
  130926 23:25:41 [ERROR] Fatal error: Can't open and lock privilege tables: 
  Table 'mysql.host' doesn't exist
 
 Check server configuration file, it should point to a proper directory for a
 database, and the user under which server is run should have write access to
 it.
 
 Also,
  --
  Problem reports:   http://cygwin.com/problems.html
 This ^^^
 
 --
 WBR,
 Andrey Repin
 
 Sorry for my terrible english...
Your English is understandable and I appreciate the response.

I have a problem.   I can not find the MySQL configuration file, that I assume 
comes with the package.  Documentation I read says that it would be  
/etc/my.cnf , but it's not there.  I grep'd for anything sql in /etc and fouund 
nothing related to mysql or my*

Does anyone know where it is or does it have to be made from scratch?

If there any default or example MySQL configuration files in the package or 
installed, I'd appreciate it if someone would tell me where they are.


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: Build Failure for APR library

2013-09-16 Thread d.henman

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)
xxx@binki /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.

Is this the same for other folks.  You don't have to use it just download it 
and run it and report if you get a bad system call error message.

Regards,
  


David Rothenberger wrote:
 On 9/15/2013 6:08 AM, wynfield wrote:
  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.
 
 I don't use Apache under Cygwin myself, but I suggest you get it running
 first by invoking it directly from a shell, then move on to configuring
 it as a service.
 
 -- 

--
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-25 Thread d.henman
David,
  thanks for your advice.  It didn't run right off the bat, but with some 
proper single and double quoting.   The fact that env takes a command as an 
argument is what enabled it to work.

Cheers.

  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?
  
 
 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/env PATH=${PATH}:/usr/lib/lapack /usr/bin/orpie 
 /bin/mintty.exe
 
 -- 
 David Rothenberger
 
 Doubt is not a pleasant condition, but certainty is absurd.
 -- Voltaire

--
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 d.henman

Update:

   checkX  does work of course.

My problem was:
 1. I was setting the DISPLAY environment variable which X11 based clients 
use
and expected checkX to use it as well.

 2. I specified the X11 server to try, incorrectly as $ checkX  
127.0.0.1:0, without
the -d option.  For some reason I had it in my head that usage was: 
 checkX [options]  server. 

Hower, checkX works when server is specified with the -d option as 
documented.
E.g. $  checkX -d 127.0.0.1:0

  THanks for the input to help me find this.  My apologies for not spotting 
this sooner. 

Regards,

Charles Wilson
 On 8/4/2013 10:24 PM, Larry Hall (Cygwin) wrote:
  On 8/4/2013 9:50 PM, wynf... wrote:
  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.
 
  I guess I'm not clear why you're not using the syntax Chuck recommends in
  his message (see the link to it that I included above).  He stated you need
  to use the '--display' flag.  Here's a quote from Chuck in that message:
 
 To be fair, checkX *should* use the $DISPLAY variable if --display/-d
 is not specified on the command line.  This appears, from reading the
 email thread, to be a real issue.
 
 However, I won't be able to investigate further for at least a
 week...and will have only intermittent internet access until then.
 
 --
 Chuck
 

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



autorun X11 from 1st mintty invocation

2013-07-31 Thread d.henman

When I click on cygwin's mintty icon, which is installed by setup.exe and is, 
basically a
link which invokes mintty as:

 C:\cygwin\bin\mintty.exe  -i /Cygwin-Terminal.ico -


I then start X11 by running   $  startxfrom this 1st initial mintty window.


Objective.  I want to have  'startx'  ran automataically when I first start 
mintty and have the two terminals the initial plain mintty and the second one 
attached to X11, which is current done in startx's   ~/.xinitrc  as:

exec mintty  -t X11 Display Termain -i /Cygwin-Terminal.ico -


Is there some mintty resource file that can automatically invoke:  startx ?

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: GCC-4.7.2-2: Go/No-go?

2013-04-09 Thread d.henman

I agree that it should be released.  The sooner the better.
It might help me and others with some building problems I've runn into, that 
didn't exist before. At the very least, it would reduce the number of variables 
that might be the cause of unsuccessful builds.

Dave Korn wrote:
 Hi all,
 
   I have a release of 4.7.2-2 ready to upload.  It fixes the dependencies back
 to the 4.5.3-3 curr: version dependencies, makes TLS vars exported from DLLs
 work and restores java and libffi.  I've also been running the testsuite over
 the last few days and the results look quite reasonable.
 
   Yaakov thinks (http://cygwin.com/ml/cygwin-apps/2013-04/msg00032.html) that
 I shouldn't release it until I've integrated all his patches.
 
   I think (http://cygwin.com/ml/cygwin-apps/2013-04/msg00057.html) that it's
 worth uploading as a stop-gap to address the mentioned problems and
 integrating Yaakov's patches for the next release.
 
   Could the list please help us make a decision?
 
 cheers,
   DaveK

--
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 d.henman

Comments below:

Christopher Faylor wrote:
 If you're asking how to call cygwin entry points to use Cygwin I/O from
 an assembly language program then you are on-topic for the mailing list.

That's exactly what I asked.

 It is possible to write a raw assembly language program which does this
 but, given the amount of confusion evident in the above paragraph you
 are clearly quite a long way from having the necessary skills to do
 anything like this.
No. I just lack the necessary information to do it.  And that is what I am 
seeking
 And, perhaps most importantly, there are only
 a handful of people who would have a clue about how to do this and I'll
 go out on a limb and say that none of us is interested in attempting
 to teach you.
It wouldn't be teaching me, but providing information to all the cygwin 
community.
  But even if we were, an assembly program which relied on
 a massive DLL doesn't really meet your criteria anyway.

Why do you think not?  
 
 Writing an assembly language program which just uses Windows APIs to
 write to the console would likely be much easier but that is off-topic
 for this list.
That would be find for me, if the information is there, but wouldn't be much 
help to other people who would like the same information, if any.
 
 There's no use arguing about this.  This isn't your mailing list and you
 don't set the rules.
That's a silly thing to say.  I, for one am not trying to set any rules.
  Further arguing will have undesirable consequences for you.
If anyone believes that trying to learn and use cygwin is arguing you are far 
off base.
And it doesn't become the cygwin group, to make threats to members of the 
community, like you just did in the above sentence.

 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.

I'll honor that, and I will keep the information available for any other cygwin 
users in the future would need help in a similar manner.
 
 Mocking people who could potentially help you is rarely a good idea.
I don't mock people who are earnest and don't mock.

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



libffi.pc needed

2013-03-31 Thread d.henman


I'm trying to build a package that reqruires   libffi.pc  

I looked arount and found: 
http://cygwin-rurban.googlecode.com/svn/trunk/contrib/libffi/CYGWIN-PATCHES/README

$ cygcheck -c | grep ffi
libffi4 4.5.3-3  OK

Says that I have libffi4, so I guess only the libffi.pc file is missing.

Should there be one in the libffi4 package? 
If not how would you handle packages that require 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



regarding the ffi liber

2013-03-31 Thread d.henman

I can't find any developement package for libffi4  I 'm looking for the ffi.h 
include file.

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



Follow up regarding setup.exe hanging

2013-03-10 Thread d.henman

Now when ran with the proper permissiong, setup.exe still hangs.  Here is the 
output just before setup.exe hangs:
 start
$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 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 McShield for query, start and stop. McAfee may not be 
installed, or we don't have access.
Selected local directory: C:cygwin-packages
 end

I have no idea about what the reference to McShield or to McAfee is about. 
All I can think of is that it is proprietary software that I don't own and Mr. 
McAfee is in South America somewhere.  Is the absence of this causing setup.exe 
to go crazy and 
hang?

Any advice to get this working 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: X11 capturing DISPLAY value

2013-03-10 Thread d.henman
Thanks, but I don't like hard coding something important like that.  It might 
work most of the time, in my case it wouldn't work, my X-window comes up as 
:1 and it appears sometimes as :0, but mainly one, but if more people were 
on the machine it cou
ld be other values as well.

You're right about the background takes time, I'll attempt coordination the 
timing better and try it.

Thanks

Eliot Moss m...@cs.umass.edu wrote:
 On 3/10/2013 6:17 PM, wynfi...@gmail.com wrote:
  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 DISPL
AY v
  alue.
 
  Is there a preferred standard way to get this value?
 
 Usually :0.0 or something like $(hostname):0.0 will do, unless you
 have multiple screens or are connecting to a remote host.  In the
 latter case you would not be running startx, so the :0.0 or
 $(hostname):0.0, or something along those lines, should be fine.
 I believe it's the usual thing most people do ...
 
 As for the above, if you try immediately to examine /tmp/xwin.txt,
 the answer may not be there yet, since it takes a little while
 for startx and grep to begin to do their thing and you put  at
 the end of the pipeline, which means to proceed immediately.
 So there's an inherent shell script programming timing / concurrency
 race that you would need to solve for this approach to work.
 
 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
 

--
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: what is interfering texlive?

2009-10-04 Thread d.henman

You probably loaded the windows version of TeXLive, which is basically
MiKTeX with a TeX editor and another program.  These are made specifically
for windows and that means they require windows file and path names.  
In other words they don't use POSIX compliant pathnames.

In order to install a *nix (cygwin) version (more likely up to date than a 
Windows specfic verson)
Cygwin was added as official platform supported (in TL2009) a few month
ago.

(Thanks to Angelo for the following information:
TL2009 builds OB both on Cygwin-1.5 and 1.7 and, for this platform, has
an official maintainer, Ken Brown, who maintains also Emacs package on
Cygwin.

See install instructions in the below given www site
You can install TL2009 on Cygwin-1.7 as described here:
http://www.tug.org/texlive/pretest.html


I am using the TeXLive found in the install-tl-unx.tar.gz tarball.

Regards,
  Darel 

RE: Steven Woody narkewo...@gmail.com wrote:

  I was always using cygwin and today I installed texlive 2008 on my
  computer.  But I found if I run texlive's xelatex command on my
  cygwin bash prompt, it will always return a Program is not found
  error. When I run the same command line under dos command prompt,
  it was fine.
 
  Can anyone give me a clue?
 
 
 Actually, there is no a word 'i366-cygwin' in the first page of the
 documentation.
 

--
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: apparent ncurses lib linking problem

2009-09-03 Thread d.henman


Yes I do have the ncurses files, I just listed the curses, but for both I 
have:

lrwxrwxrwx 1 dev1 None 12 Sep  3 10:35 libcurses.a - libncurses.a
lrwxrwxrwx 1 dev1 None 16 Sep  3 10:35 libcurses.dll.a - libncurses.dll.a
-rw-r--r-- 1 dev1 root 124594 Mar 27 14:21 libncurses++.a
-rw-r--r-- 1 dev1 root 175426 Mar 27 14:21 libncurses++.dll.a
-rw-r--r-- 1 dev1 root   1031 Mar 27 14:21 libncurses++.la
-rw-r--r-- 1 dev1 root 291542 Mar 27 14:20 libncurses.a
-rwxr-xr-x 1 dev1 root 335738 Mar 27 14:20 libncurses.dll.a
-rw-r--r-- 1 dev1 root937 Mar 27 14:21 libncurses.la


in /bin I have: 
-rwxr-xr-x 1 djtm root  67584 Mar  1  2009 /bin/cygncurses++-8.dll
-rwxr-xr-x 1 djtm root 341504 Mar 27 14:25 /bin/cygncurses++-9.dll
-rwxr-xr-x 1 djtm root 242176 Mar  1  2009 /bin/cygncurses-8.dll
-rwxr-xr-x 1 djtm root 167936 Mar 27 14:25 /bin/cygncurses-9.dll
-rwxr-xr-x 1 djtm root 229376 Aug  9  2003 /bin/cygncurses7.dll
-rwxr-xr-x 1 djtm root   5209 Mar 27 14:21 /bin/ncurses9-config


Is it possible that the varible declared in the downloaded  .a file
does not match its corresonding name or location representation in the .dll 
file?


Dave Korn dave.korn.cyg...@googlemail.com wrote:

 d.henman wrote:
 
  in lib there is for curses:
  lrwxrwxrwx 1 dev1 None 12 Sep  3 10:35 /lib/libcurses.a - libncurses.a
  lrwxrwxrwx 1 dev1 None 16 Sep  3 10:35 /lib/libcurses.dll.a - 
  libncurses.dll.a
 
   You should have the libncurses .a files to which those symlinks point, but
 don't.  Have you installed the libncurses-devel package yet?
 
 cheers,
   DaveK
 

--
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: apparent ncurses lib linking problem

2009-09-03 Thread d.henman


Charles,
   thank you so much for your help.

d.henman



Charles Wilson cyg...@cwilson.fastmail.fm wrote:

 d.henman wrote:
  g++  -g -O2  -L../mpegsound -L../nmixer -o nmixer.exe main.o -lncurses  
  -lnmixer -lpthread -lm -lao -lpthread
  ../nmixer/libnmixer.a(nmixer.o): In function `_ZN6NMixer14DrawFixedStuffEv':
  /usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:528: undefined 
  reference to `_mvwprintw'
 
 mp3blaster is making an assumption that is valid only on linux: that
 library order doesn't matter.  On windows, it does.  Notice:
 
 ../nmixer/libnmixer.a(nmixer.o): ...  undefined reference to ...
 
 means that the *library*, libnmixer, has the reference to a missing
 symbol.  That symbol is actually in libncurses, which means that
 -lncurses must come *after* libnmixer on the link command.  Thus...
 
 g++  -g -O2  -L../mpegsound -L../nmixer -o nmixer.exe main.o  -lnmixer
 -lncurses -lpthread -lm -lao -lpthread
 
 should work (swap -lnmixer and -ncurses)
 
 --
 Chuck
 

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



apparent ncurses lib linking problem

2009-09-02 Thread d.henman

Using:
cygwin 1.7.0(0.212/5/3) 2009-08-20
gcc (GCC) 4.3.4 20090802 (prerelease)
ln --version --- ln (GNU coreutils) 7.0
ncurses  (runtim lib and devel)

Description: I attempted to build what should be a very simple build, but wound 
up with linking errors, which seem to be due to not finding the proper ncurses 
library.

I download the source file for mp3blaster. The url below:

http://sourceforge.net/projects/mp3blaster/files/mp3blaster/mp3blaster-3.2.5/mp3blaster-3.2.5.tar.gz/download

./configure provides the following:
checking ncurses/ncurses.h presence... yes
checking for ncurses/ncurses.h... yes

So.. ./configure appears to find  -lncurses but the linker does not.

But, the make fails with messages like: 
../nmixer/libnmixer.a(nmixer.o): In function `_ZN6NMixer14DrawFixedStuffEv':
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:528: undefined reference 
to `_mvwprintw'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:529: undefined reference 
to `_mvwprintw'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:531: undefined reference 
to `_mvwprintw'


---  My guess at what the problem might be:
Shouldn't there be a link in the below, cygncurses.dll to one of these
numbered libraries, ie 7, -8, -9 etc  or is there an error in the post 
installation code?   

--- more info
In bin for ncurses I have:
 -rwxr-xr-x 1 dev1 root  67584 Mar  1  2009 /bin/cygncurses++-8.dll
 -rwxr-xr-x 1 dev1 root 341504 Mar 27 14:25 /bin/cygncurses++-9.dll
 -rwxr-xr-x 1 dev1 root 242176 Mar  1  2009 /bin/cygncurses-8.dll
 -rwxr-xr-x 1 dev1 root 167936 Mar 27 14:25 /bin/cygncurses-9.dll
 -rwxr-xr-x 1 dev1 root 229376 Aug  9  2003 /bin/cygncurses7.dll
 -rwxr-xr-x 1 dev1 root   5209 Mar 27 14:21 /bin/ncurses9-config


in lib there is for curses:
lrwxrwxrwx 1 dev1 None 12 Sep  3 10:35 /lib/libcurses.a - libncurses.a
lrwxrwxrwx 1 dev1 None 16 Sep  3 10:35 /lib/libcurses.dll.a - libncurses.dll.a

 make error sample (repeated for different function linking...)


g++  -g -O2  -L../mpegsound -L../nmixer -o nmixer.exe main.o -lncurses  
-lnmixer -lpthread -lm -lao -lpthread
../nmixer/libnmixer.a(nmixer.o): In function `_ZN6NMixer14DrawFixedStuffEv':
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:528: undefined reference 
to `_mvwprintw'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:529: undefined reference 
to `_mvwprintw'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:531: undefined reference 
to `_mvwprintw'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:537: undefined reference 
to `_mvwprintw'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:539: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:539: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:540: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:540: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:541: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:541: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:542: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:542: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:544: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:544: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:545: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:545: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:547: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:547: undefined reference 
to `_wchgat'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:549: undefined reference 
to `_wmove'
/usr/src/mp3blaster/mp3blaster-3.2.5/nmixer/nmixer.cc:549: undefined reference 
to `_wchgat'



 config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by mp3blaster configure 3.2.5, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --with-x

## - ##
## Platform. ##
## - ##

hostname = ...
uname -m = i686
uname -r = 1.7.0(0.212/5/3)
uname -s = CYGWIN_NT-5.1
uname -v = 2009-08-20 10:56

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = i686
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: 

Re: pangp

2008-06-24 Thread d.henman

Yaakov (Cygwin Ports) [EMAIL PROTECTED] wrote:
 Dave Korn wrote:
 |   So, they're in the DLL itself, but for some reason not marked as exports
 | in the DEF file, and hence no available stubs for them in the import .a
 | library.

   Yes, Dave is right here.  His idea gives a way to building a multi-capable 
pango.

 It's because of the -export-symbols-regex ^pango_.* flag, hence
 _pango_* internal symbols aren't being exported.
Well, YO, could have said that he manually, exluded win32 in the configuration.

  This isn't supposed to
 be used when building a Win32 Pango, as you'll see from the configure.in
 where this flag is declared; now you know why.
Well Yaakov, you know why.  I expected cairo and pango built a configuration
of --with-x would be fine, and it should be.  You neglected to mention that it 
was trying to build a win32 and cygwin.dll version at the same time, which it 
can't, as far as I know.  So you explicity said to configure without win32.

You are mentioning something that is esoteric.
You mentioned below that...

 My questions are:
 1) What is /usr/local/bin/gcc that the OP is using?
YO, the gcc version used in not relavant in this case.  I checked this.

 2) Has the OP built cairo from sources with the Win32 backend instead of
 the X11 as in our distro?

YO, the configuration result is:
Cairo is configured and built with:--with-x

So is Pango, in which its configuration script upon completion outputs:
configuration:backends: Cairo Win32 FreeType X

Note, that is has Cairo, Win32, FreeType, and Win32 as backends.

Cairo builds these automatically.  

 I can attest that there are no issues building pango with the X11 cairo.
So what you probably meant, when you said was cairo built, explicitly exluding 
win32... Which is probably neceesaary right?

If you would please educate me as to just what arguments did you use,
when you configured cairo and pango, I could verify your aforementioned
attestation.


 
 1.21.3 is from SVN trunk; the latest upstream version is 1.20.3, also in
 Ports.  It's irrelevant though, as this flag has been used for years.
 
 (Why isn't the distro Pango updated?  X11R7.)
 
 Yaakov

Well, the YO, is wrong here
pango-1.21.3 was not gotten fron SVN's trunk. 
Is is a newly released version.  Not a release candidate, but a public release.

See: http://www.pango.org/Download   and from there
 http://ftp.gnome.org/pub/GNOME/sources/pango/

You can also find it at: http://ftp.gnome.org/pub/GNOME/sources/pango/1.21/
named appropriately as LATEST-IS-1.21.316-Jun-2008...


Regards,
  Henman

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

2008-06-24 Thread d.henman

Yaakov (Cygwin Ports) [EMAIL PROTECTED] wrote:
 .. snipped
 I can attest that there are no issues building pango with the X11 cairo.

No I configured cairo with:
 ./configure --with-x --enable-win32-font=no --enable-win32=no --disable-ps 
--disable-pdf --disable-svg --prefix=

cairo builds and installs fine this way.

Pango, configured with:
./configure LDFLAGS='-no-undefined' --with-x  --enable-win32-font=no 
--enable-win32=no --disable-ps --disable-pdf --disable-svg --prefix=

# the only option above that pango mentiones in ./configure --help is 
--with-x.

Regardless, make still prematurely terminates due to errors.

Why is the pango build code trying to incorporate win32, when it is not in 
cairo?

(Still waiting to get Yaakov's two configuration options (two lines, one config 
line eac)  uses for (1) cairo and (2) pango. 

to wit:
 last lines of make output for pango 
/bin/sh ../libtool --tag=CC   --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H 
-I. -I.. -DG_LOG_DOMAIN=\Pango\ -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE 
-DSYSCONFDIR=\/etc\ -DLIBDIR=\/lib\ -I.. -DPANGO_ENABLE_DEBUG -D_REENTRANT 
-I/usr/include/g
lib-2.0 -I/usr/lib/glib-2.0/include-I/include/cairo 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/include/pixman-1   
-I/usr/include/freetype2 -I/usr/X11R6/include-g -O2 -Wall -MT 
libpangocairo_1_0_la-pangocairo-win32font.lo -MD -MP -MF 
.deps/libpangocairo_1_0_la-pangocairo-win32font.Tpo -c -o 
libpangocairo_1_0_la-pangocairo-win32font.lo `test -f 'pangocairo-win32font.c' 
|| echo './'`pangocairo-win32font.c
 /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\Pango\ 
-DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\/etc\ 
-DLIBDIR=\/lib\ -I.. -DPANGO_ENABLE_DEBUG -D_REENTRANT 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/inclu
de/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/include/pixman-1 
-I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -Wall -MT 
libpangocairo_1_0_la-pangocairo-win32font.lo -MD -MP -MF 
.deps/libpangocairo_1_0_la-pangocairo-win32font.Tpo -c p
angocairo-win32font.c  -DDLL_EXPORT -DPIC -o 
.libs/libpangocairo_1_0_la-pangocairo-win32font.o
In file included from pangocairo-win32font.c:33:
/include/cairo/cairo-win32.h:101:3: error: #error Cairo was not compiled with 
support for the win32 backend
pangocairo-win32font.c: In function 'pango_cairo_win32_font_create_font_face':
pangocairo-win32font.c:79: warning: implicit declaration of function 
'cairo_win32_font_face_create_for_logfontw'
pangocairo-win32font.c:79: warning: return makes pointer from integer without a 
cast
pangocairo-win32font.c: In function 
'pango_cairo_win32_font_create_metrics_for_context':
pangocairo-win32font.c:122: warning: passing argument 1 of 
'pango_cairo_font_get_scaled_font' from incompatible pointer type
pangocairo-win32font.c:125: warning: implicit declaration of function 
'cairo_win32_scaled_font_done_font'
pangocairo-win32font.c: In function 'pango_cairo_win32_font_select_font':
pangocairo-win32font.c:190: warning: implicit declaration of function 
'cairo_win32_scaled_font_select_font'
pangocairo-win32font.c: In function 'pango_cairo_win32_font_get_metrics_factor':
pangocairo-win32font.c:207: warning: implicit declaration of function 
'cairo_win32_scaled_font_get_metrics_factor'
make[4]: *** [libpangocairo_1_0_la-pangocairo-win32font.lo] Error 1
make[4]: Leaving directory `/usr/src/pango/pango-1.21.3/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/pango/pango-1.21.3/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/pango/pango-1.21.3/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pango/pango-1.21.3'
make: *** [all] Error 2
 end 

--
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: pango solution

2008-06-24 Thread d.henman

Yaakov (Cygwin Ports) [EMAIL PROTECTED] wrote:
 Dave Korn wrote:
 |   So, they're in the DLL itself, but for some reason not marked as exports
 | in the DEF file, and hence no available stubs for them in the import .a
 | library.
 
 It's because of the -export-symbols-regex ^pango_.* flag, hence
 _pango_* internal symbols aren't being exported.  This isn't supposed to
 be used when building a Win32 Pango, as you'll see from the configure.in
 where this flag is declared; now you know why.

Even when built with --disable-win32  it still required win32 libs be built

 ...
 I can attest that there are no issues building pango with the X11 cairo.
Your attestation is wrong for pango-1.21.3.

I found the problem.

It is in the configuration file. After making two slight changes it build fine.
It's possible that only one change was necessary, but I'm tired now and will 
leave it
to go on to build gtk+-2.12.10.

For those interesting in building pango-1.21.3, the changes necesaary where 
both of the same type simply involves deleting |*-*cygwin** from the two case 
statements.

configure file line # 20052
   line # 22054


case $host in
#  *-*-mingw*|*-*-cygwin*) have_win32=true ;;  changed from this
  *-*-mingw*) have_win32=true ;;   --- to this
esac

otherwise it will require win32 code to be built, and cairo was not build for 
it.


Regards,
  Henman




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

2008-06-24 Thread d.henman

Pleas look at the configured built .pc files below.

Why does the pkg-confing file, pangowin32-uninstalled.pc, include
the line below?
Libs: ${pc_top_builddir}/${pcfiledir}/pango/libpangowin32.la -lgdi32


$ ls *win32*.pc#list all pkg-config file related to win32
pangowin32-uninstalled.pc  pangowin32.pc

$ cat *win32*.pc# here's look at their content.

Name: Pango Win32 Uninstalled
Description: Win32 GDI font support for Pango, Not Installed
Version: 1.21.3
Requires: pango
Libs: ${pc_top_builddir}/${pcfiledir}/pango/libpangowin32.la -lgdi32
Cflags: -I${pc_top_builddir}/${pcfiledir}/.
prefix=
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Pango Win32
Description: Win32 GDI font support for Pango
Version: 1.21.3
Requires: pango
Libs: -L${libdir} -lpangowin32-1.0 -lgdi32
Cflags: -I${includedir}/pango-1.0

 end


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

2008-06-23 Thread d.henman

Dave, thanks for your response.

 None of the symbols:
`__pango_win32_font_get_type',  `__pango_win32_font_map_get_type', 
`__pango_win32_fontmap_cache_remove', and `__pango_win32_make_matching_logfontw'

 are not in: libpangowin32-1.0.dll.a 's symbol table, or
are they in: cygpangowin32-1.0-0.dll.def, or any other .def 
file.
   but, they are in: cygpangowin32-1.0-0.dll  as T symbols.

I wish I new more about the mechanics of this.  Maybe a simple export in the 
file they are defined in would suffice to cure the problem?

regards,
   henman

Dave Korn [EMAIL PROTECTED] wrote:
 d.henman wrote on 23 June 2008 09:32:
  Re: Buiding Pango 1.21.3
 
   Take a look in the output of nm ./.libs/libpangowin32-1.0.dll.a and see
 if those symbols are there?
 
 cheers,
   DaveK
 -- 
 Can't think of a witty .sigline today
 --

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

2008-06-23 Thread d.henman

Yaakov (Cygwin Ports) [EMAIL PROTECTED] wrote:
 Dave Korn wrote:
 |   So, they're in the DLL itself, but for some reason not marked as exports
 | in the DEF file, and hence no available stubs for them in the import .a
 | library.
 
 It's because of the -export-symbols-regex ^pango_.* flag, hence
 _pango_* internal symbols aren't being exported.  This isn't supposed to
 be used when building a Win32 Pango, as you'll see from the configure.in
 where this flag is declared; now you know why.
 
 My questions are:
 1) What is /usr/local/bin/gcc that the OP is using?

/usr/local/bin/gcc is: gcc (GCC) 4.3.1 20080529 (prerelease)
I get the same results using cygin's 
/bin/gcc  (gcc 3.4.4 cygming special)


 2) Has the OP built cairo from sources with the Win32 backend instead of
 the X11 as in our distro?
cairo 1.6.4 was configured as follows:
   ./configure CC=/usr/local/bin/gcc --with-x  --prefix=
 
 I can attest that there are no issues building pango with the X11 cairo.
What version of pango are you talking about?
Doesn't using the configure option for cairo of --with-x build the X11 cairo?

 |   A simple workaround might be to build with --disable-shared
 | --enable-static instead.
 
 NO, don't do that!!  Pango must be built dynamic.
 
 |   Hmmm.  There's various pango and pang-devel packages in the distro.  Do
 | you have any/all/none of those installed?  Is this a source build from the
 | distro source tarballs, or are you trying the upstream sources?
 
 1.21.3 is from SVN trunk; the latest upstream version is 1.20.3, also in
 Ports.  It's irrelevant though, as this flag has been used for years.
 
 (Why isn't the distro Pango updated?  X11R7.)
 
 Yaakov
 --
Regards,
  Henman

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



libgcrypt

2008-06-19 Thread d.henman


libgrypt : libgcrypt-1.4.1-4.tar.bz2   size: 101 kb 

This package is brain dead.  No libraries in it. (as of 6/19/2008 (this time)

Revert to: libgcrypt-1.4.1-2  (is necessary till fixed)

Possible packaging 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: Emacs-23.0.60.snapshot (20080315) Cygwin binaries

2008-03-16 Thread d.henman


Angelo,
  I am using 23.0.50, which I had no problems building.  Is this the version 
where you increased required memory for something or other several tens of 
megabytes?   

  I am not familiar with the original problem you had, being out of the loop, 
but I didn't think as the time that throwing memory at it, was a proper way to 
solve the problem, though sometimes that's what we have to do.  What do you 
think?


Regards,
  darel henman



Angelo Graziosi [EMAIL PROTECTED] wrote:

 Non-official Cygwin binaries can be found here
http://www.webalice.it/angelo.graziosi/cygwin/emacs/Emacs.html
 To install see the  emacs-23.0.60.snapshot.README file.
 
 Good Emacs!
 Regards,
 Angelo.
 
 ---

--
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: ZSH - UTF-8

2008-03-03 Thread d.henman

I am using: zsh 4.3.5 (i686-pc-cygwin)( compiled from src )
I just did $export LC_ALL=C.UTF-8

cmd line editting didn't seem ill affected and worked fine.

Paul-Kenji Cahier [EMAIL PROTECTED] wrote:
... (Note: I'm talking of having zsh displayedit properly utf-8 in the line 
editor,
 including the completion system).
 

If you could be me some tests to try I'd be happy to do it.  Otherwise I am not 
quite sure how that should be done.

--
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: prevent scroll (or something like that)

2008-01-29 Thread d.henman

Re: Scroll...

Why don't you just do either of
 (a.)  pipe output to less and read it page by page

   e.g.   $  dissemble-cmd | less

or
 (b.) redirect output to a text file and them use some editor like emacs or
  nano to view it.  
  e.g.$ dissemble-cmd filename
nano filename  orless filename

good luck with your studies.

regards

 Subject: prevent scroll (or something like that)
 
 hello everybody,
 
 i'm new to this forum and pretty much a noob when it comes to cygwin
 which
 may explain my question. 
 
 I'm doing an assignment for school and I'm supposes to disassemble a
 piece
 of code with a disasembler. This works just fine but the output asembly
 code
 is to large to fit on the screen. So when i scroll all the way up I
 can't
 read the complete output. Is there anything I can do, like an additional
 command, so I actually can read this output because it holds some
 information I need.
 
 Thanks in advance,
 electron
 

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



clamav

2008-01-28 Thread d.henman

Angelo,
  Re : I have noted this request:
http://cygwin.com/ml/cygwin-apps/2007-12/msg00231.html, but Clamav is
not yet uploaded. Perhaps it was forgotten.

I have it.  I think that you need to 'click' on the exp tab in setup.exe gui 
in order to see it.  But, unfortunately, next time you have to be careful as a 
standard setup.exe it will bring in the cur, ie current version rather than 
the experimental
 one.

regards,
  darel 


---

--
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: copying a million tiny files?

2007-10-31 Thread d.henman


From what Gary mentions.   indeed rsync is the best way to go.
At least for thinking, on time backups.

With rsync, only the first time is slow.

For one shot backups of many files,using tar to group them into one and 
then sending is a good idea.

Using xcopy, is kind of silly and wont get you compatiblity.. especially in 
scripts


regards

Gary R. Van Sickle [EMAIL PROTECTED] wrote:

  From: Brian Dessent
  
  sam reckoner wrote:
  
   I'm not exaggerating. I have over one million small files 
  that like to 
   move between disks. The problem is that even getting a directory 
   listing takes forever.
   
   Is there a best practice for this?
  
  I know it's heresy but if you just want to copy files why not 
  use the native XCOPY?  It will not suffer the performance 
  degredation of having to emulate the POSIX stat semantics on 
  every file, just like the native DIR command in a large 
  directory does not take ages because it simply uses 
  FindFirstFile/FindNextFile which are fairly efficient (but do 
  not provide sufficient information to emulate POSIX.)
  
  Brian
  
 
 I have a similar situation to the OP (copying many thousands of small files
 over a fairly slow link), and actually timed using XCOPY vs. Cygwin methods
 (cp in my case).  It didn't make a significant difference.  Ultimately what
 I think you run into in these sorts of situations is that you bump up
 against the slowness of the link (or physical disk) because, POSIX emulation
 or not, all your caches do is thrash.
 
 -- 
 Gary R. Van Sickle

--
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: Putty crashes trying to establish SSH session with Cygwin

2007-10-17 Thread d.henman

This is just to let people know that a new putty for cygwin has been created 
using putty 06.0

Here is the URL for the new puttycyg, released Oct. 12th, 2007
   http://web.gccaz.edu/~medgar/puttycyg/

You might want to update to it.


regards,
  darel henman

--
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 write directory address under Cygwin?

2007-10-08 Thread d.henman

René Berber [EMAIL PROTECTED] wrote:
 Peter Hains wrote:
  C:\cygwin\home\PHains\SuperHirn\make directory on my hard drive. My
  problem is getting the UNIX software to understand where the parameter
  file can be found.
  
  I've tried the Windows nomenclature as outlined above and what I think
  is the Cygwin version;
  
  /home/PHains/SuperHirn/make
 
 This last one is the correct way to specify a path.

Well, that's nice Rene, but the home directory and the user's has to be 
manually created.  At least in my case.  I created a /home directory and in it 
a soft link to the directory I wanted to use as home.


Otherwise, in XP home is somewhere in /cygdrive/c//Documents\ and\ 
Settings/USERNAME

  and various other permutations. So far I have had no joy and the program
  keeps on telling me the file cannot be found at whatever_I_entered.
 
 terminal with: [ -d ~/SuperHirn/make ]  echo Yes, directory exist .

just do 
   ls -l ~/SuperHirn/make
 -- 
 René Berber
 
regards,
  darel

--
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: Problems with freshclam

2007-09-29 Thread d.henman

I have the same version but have not encountered the problem you mention.

I have:
ls -l /etc/*clam*
-rwx-- 1 djh Users 9293 Jun 28 09:22 /etc/clamd.conf
-rwx-- 1 djh Users 3619 Jun 28 09:13 /etc/freshclam.conf

freshclam.conf is probably the same as yours, but our clamd.conf file sizes
are 119 bytes different.  I don't recall ever doing anything to it

Maybe try download a new freshclam.conf file.

Darel


 $ fresclam.exe
 ERROR: Please edit the example config file /etc/freshclam.conf.
 ERROR: Please edit the example config file /etc/clamd.conf.
 ERROR: Can't parse the config file /etc/clamd.conf
 
 It worked fine until a few days ago.
 
 In /etc the file are:
 
 $ ls -lrt /etc/*clam*
 
 -rwxrwx---+ 1 user Administrators 3620 Sep 27 22:46 /etc/freshclam.conf
 -rwxrwx---+ 1 user Administrators 9174 Sep 30 01:19 /etc/clamd.conf
 
 

--
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: Problems building applications as user with a limited account

2007-09-28 Thread d.henman

Angelo, 
   Darel here.  Try adding--x-includes=/usr/X11R6/include/X11
   to your configure arguments.
   The X11 dev. include files are there in the include/X11 directory
   The library binaries look like they'll be found as is.

Regards,
  Darel Henman

---

Angelo Graziosi [EMAIL PROTECTED] wrote:
 
 Hi guys,
 I have done a fresh installation of Cygwin on a new PC observing the
 following.
 
 Usually I have the habit to build Emacs from CVS. Now I have tried to do
 the same as an user with limited account (of the group Users), but
 configure fails in this way:
 
 -
 ...
 checking for long file names... yes
 checking for X... no==
 checking Carbon/Carbon.h usability... no
 checking Carbon/Carbon.h presence... no
 checking for Carbon/Carbon.h... no
 checking for X... true  ==
 configure: error: You seem to be running X, but no X development libraries
 were found.  You should install the relevant development files for X
 and for the toolkit you want, such as Gtk+, Lesstif or Motif.  Also make
 sure you have development files for image handling, i.e.
 tiff, gif, jpeg, png and xpm.
 If you are sure you want Emacs compiled without X window support, pass
   --without-x
 to configure.
 ---
 
 
 Obviously I have all the X packages installed (I have almost ALL Cygwin
 installed).
 
 
 Repeating the same things as an user with admnistrative account (of the
 group Administrators), configure works fine and the build continue untill
 the end:
 
 ---
 ...
 checking for long file names... yes
 checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
 checking Carbon/Carbon.h usability... no
 checking Carbon/Carbon.h presence... no
 checking for Carbon/Carbon.h... no
 checking for malloc_get_state... no
 checking for malloc_set_state... no
 checking whether __after_morecore_hook exists... no
 checking for stdlib.h... (cached) yes
 checking for unistd.h... (cached) yes
 ...
 Configured for `i686-pc-cygwin'.
 
   Where should the build process find the source code?
 /tmp/emacs.tmp/emacs
   What operating system and machine description files should Emacs use?
 `s/cygwin.h' and `m/intel386.h'
   What compiler should emacs be built with?   gcc -g -O2
 -Wno-pointer-sign
   Should Emacs use the GNU version of malloc? yes
   Should Emacs use a relocating allocator for buffers?yes
   Should Emacs use mmap(2) for buffer allocation? no
   What window system should Emacs use?x11
   What toolkit should Emacs use?  LUCID
   Where do we find X Windows header files?
 /usr/X11R6/include
   Where do we find X Windows libraries?   /usr/X11R6/lib
   Does Emacs use -lXaw3d? yes
   Does Emacs use -lXpm?   yes
   Does Emacs use -ljpeg?  yes
   Does Emacs use -ltiff?  yes
   Does Emacs use a gif library?   yes -lungif
   Does Emacs use -lpng?   yes
   Does Emacs use -lrsvg-2?no
   Does Emacs use -lgpm?   no
   Does Emacs use X toolkit scroll bars?   yes
 ...
 ---
 
 
 Any idea ?
 
 
 TIA,
 
Angelo.
 

--
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: Problems building applications as user with a limited account

2007-09-28 Thread d.henman

Angelo, 
   Darel here.  Try adding--x-includes=/usr/X11R6/include/X11
   to your configure arguments.
   The X11 dev. include files are there in the include/X11 directory
   The library binaries look like they'll be found as is.

Regards,
  Darel Henman

---

Angelo Graziosi [EMAIL PROTECTED] wrote:
 
 Hi guys,
 I have done a fresh installation of Cygwin on a new PC observing the
 following.
 
 Usually I have the habit to build Emacs from CVS. Now I have tried to do
 the same as an user with limited account (of the group Users), but
 configure fails in this way:
 
 -
 ...
 checking for long file names... yes
 checking for X... no==
 checking Carbon/Carbon.h usability... no
 checking Carbon/Carbon.h presence... no
 checking for Carbon/Carbon.h... no
 checking for X... true  ==
 configure: error: You seem to be running X, but no X development libraries
 were found.  You should install the relevant development files for X
 and for the toolkit you want, such as Gtk+, Lesstif or Motif.  Also make
 sure you have development files for image handling, i.e.
 tiff, gif, jpeg, png and xpm.
 If you are sure you want Emacs compiled without X window support, pass
   --without-x
 to configure.
 ---
 
 
 Obviously I have all the X packages installed (I have almost ALL Cygwin
 installed).
 
 
 Repeating the same things as an user with admnistrative account (of the
 group Administrators), configure works fine and the build continue untill
 the end:
 
 ---
 ...
 checking for long file names... yes
 checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
 checking Carbon/Carbon.h usability... no
 checking Carbon/Carbon.h presence... no
 checking for Carbon/Carbon.h... no
 checking for malloc_get_state... no
 checking for malloc_set_state... no
 checking whether __after_morecore_hook exists... no
 checking for stdlib.h... (cached) yes
 checking for unistd.h... (cached) yes
 ...
 Configured for `i686-pc-cygwin'.
 
   Where should the build process find the source code?
 /tmp/emacs.tmp/emacs
   What operating system and machine description files should Emacs use?
 `s/cygwin.h' and `m/intel386.h'
   What compiler should emacs be built with?   gcc -g -O2
 -Wno-pointer-sign
   Should Emacs use the GNU version of malloc? yes
   Should Emacs use a relocating allocator for buffers?yes
   Should Emacs use mmap(2) for buffer allocation? no
   What window system should Emacs use?x11
   What toolkit should Emacs use?  LUCID
   Where do we find X Windows header files?
 /usr/X11R6/include
   Where do we find X Windows libraries?   /usr/X11R6/lib
   Does Emacs use -lXaw3d? yes
   Does Emacs use -lXpm?   yes
   Does Emacs use -ljpeg?  yes
   Does Emacs use -ltiff?  yes
   Does Emacs use a gif library?   yes -lungif
   Does Emacs use -lpng?   yes
   Does Emacs use -lrsvg-2?no
   Does Emacs use -lgpm?   no
   Does Emacs use X toolkit scroll bars?   yes
 ...
 ---
 
 
 Any idea ?
 
 
 TIA,
 
Angelo.
 

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



XP User Account

2007-09-22 Thread d.henman


Platform: XP Home Edition

I want to set up exim, the smtp server and would like to 
create a user, named exim for this daemon process and its files.

I don't know who to do this without have the exim user name coming up on the 
login screen along with the other users.  

Does anywone know how to accomplish this?  In XP Home Edition.

Thanks,
   d. henman

--
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: Is there someone offering cygwin paid support?

2007-09-18 Thread d.henman

Marko,
   the best way for you would be to throw Windows out and use a 
mature unix like o.s.  Cygwin documents that it is not made for secure
operation, due to Captial w windows, faults

cheers.  
  d. henman

Steve Holden [EMAIL PROTECTED] wrote:

 Marko Loparic wrote:
  Hello Steve,
 
  On 9/17/07, Steve Holden [EMAIL PROTECTED] wrote:
  Just a quick note, by the way, to question your apparent assumption that
  paid support will get you any further than using this list!
 
  I have already tried the list, some people helped, someone suggested
  me to use cacls, which certainly put me closer to the solution, but it
  was not enough. If you have an idea of what else I could try please
  tell me. DOS commands have no permission problem, emacs for windows
  also opens the directory without problems, but all cygwin commands get
  a permission denied error...
 
 Sorry, if people like Dave Korn can't help I doubt anything I bring to
 the party will be of more assistance.
 
 I think the people most likely to help are the administrators who put
 those funky access control lists on the share.
 
 I suppose one thing you could do is use a local security policy to
 audit directory access: that might give you some clue as to why Cygwin
 processes were being denied access, but there are no guarantees.
 
 Auditing on the server might also give you further information.
 
 regards
  Steve
 -- 
 Steve Holden+1 571 484 6266   +1 800 494 3119
 Holden Web LLC/Ltd   http://www.holdenweb.com
 Skype: holdenweb  http://del.icio.us/steve.holden
 
 Sorry, the dog ate my .sigline
 
 
 --
 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/
 

--
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: [itp] Coda filesystem

2007-09-04 Thread d.henman

I am not an expert of current distributed files systems, but for cygwin 
wouldn't 
MogileFS be easier to implement (even though its not a fs in and of itslef). 
From my understanding it only requires perl and mysql I believe.

Ref:  http://www.danga.com/mogilefs/

Phil Nelson [EMAIL PROTECTED] wrote:
 Hello,
 
This is a request for feedback on whether adding the packages that
 make up the Coda filesystem would be something that would be supported.
 I haven't taken the time to produce the packages yet, but would like to know
 whether it would be worth my time to do so.
 
Regards,
  Darel Henman


Re: tty dissociation

2007-09-03 Thread d.henman

I don't intend on improving it. The referred to post is rather old and I wanted 
to verify if it is still valid or if any newer methods came to be since the 
last URL reference I gave you.

I assume from what you wrote that setsid() with no argumentss is still valid, 
correct?
Regards,
  darel henman

Christopher Faylor [EMAIL PROTECTED] wrote:

 On Mon, Sep 03, 2007 at 07:48:52AM +0900, d.henman wrote:
 Corinna in the following message, specified a way, ie.  use setsid(),
 to dissociate a tty from a process.
 
 http://sourceware.org/ml/cygwin/2001-08/msg00753.html
 
 I ust want to ask if this is still the preferred method, or if any
 newer method exists?
 
 Are you aware of a newer method available in linux?  How are you going
 to improve on a single simple call to a function with no arguments?
 
 cgf
 
 --
 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/
 

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



tty dissociation

2007-09-02 Thread d.henman

Corinna in the following message, specified a way, ie. use setsid(), to 
dissociate a tty from a process.

http://sourceware.org/ml/cygwin/2001-08/msg00753.html


I ust want to ask if this is still the preferred method, or if any newer method 
exists?


Regards,
   Darel Henman

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

2007-08-02 Thread d.henman


Corinna Vinschen [EMAIL PROTECTED] wrote:
 On Aug  2 17:22, wynfield wrote:
  Corinna Vinschen wrote:
   You probably removed the R/O attribute from the .lnk files.  It's
   essential for shortcats to be recognized as Cygwin symlinks.  Try
   something along the lines of
  
  What is the R/O attribute.
 
 Ever heard about DOS attributes?  READONLY, SYSTEM, HIDDEN, etc.

I was thinking in terms of unix permission where r is read only unless w is 
also specifed to get write permissions.   DOS attributes did not enter my mind. 
 

I must have somewhow removed the NTFS*s read only attribute somehow.  

Its effects are starting to show up.  When re-installing with setup

 People asked for it for interoperability with Windows Explorer.  U/WIN
 uses them, too.

 There are two of them, one kind with the SYSTEM attribute set, another
 one which are Windows shortcuts (with .lnk suffix) and R/O DOS attribute
 set.  The SYSTEM type was the only one until 2001, default until 2002,
 and still produced by setup.exe.  The Windows shortcut type is created
 by Cygwin since 2001 and default since 2002.
 
 The R/O attribute is necessary to recognize .lnk files as Cygwin
 symlinks.  This is a measure for speed.  Testing the attribute is much
 faster than opeing the file and reading it all the time.

Thanks for the useful explanation.

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

2007-08-02 Thread d.henman

Al Slater [EMAIL PROTECTED] wrote:

 It is the windows Read Only attribute.
  P.s. should not need all that nonsense below..And sorry to say
  I am not familiar with this r attribute, except as a
  read(r)permission.  Is the group intentionally trying to be obtuse?
 
 You must have removed the R/O attrib yourself at some point, so it
 needs replacing.
 
 try attrib /? for more info.
 
Thanks, I could find attrib, thinking it was a cygwin command, but
on reading the mail below, found that is is a w32 system command.

www.cygwin.com/ml/cygwin/2006-10/msg00951.html

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/