Re: Cygwin Mail and Exchange Server

2008-05-20 Thread Ronald Fischer
Frank Fesevur  users.sourceforge.net> writes:
> Have you tried the cygwin "email" package? It talks directly to an SMTP 
> server.

Good suggestion. I think I'll stick with this.

Ronald





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



[ANNOUNCEMENT] [SECURITY] Updated: stunnel-4.24-1

2008-05-20 Thread Andrew Schulman
A new version of stunnel is now available in the Cygwin distribution.

This version includes a security fix:
*  OCSP code was fixed to properly reject revocated certificates.

The full upstream changelog is available at
http://www.stunnel.org/download/ChangeLog.txt, or in
/usr/share/doc/stunnel/ChangeLog. 

If you use OCSP in stunnel, I strongly recommend that you upgrade your stunnel
package immediately.  

If you don't use OCSP, then you don't need this update, but it shouldn't hurt
either.  You'll probably want to upgrade anyway, because previous versions of
stunnel have been removed from the Cygwin archive, so setup will keep bothering
you about it until you do upgrade.

Andrew E. Schulman


***


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]  

If you need more information on unsubscribing, start reading here: 

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
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: make fails to change directory.

2008-05-20 Thread Dave Korn
Gadi Oron wrote on 20 May 2008 15:54:

> Whenever I am compiling something with "make" and there is somekind of
> nested make, it fails with the following error:
> 
> cd fdlibm; make -f Makefile.ref all
> /bin/sh: line 0: cd: fdlibm: No such file or directory
> make[2]: *** [all] Error 1
> 
> This error is not restricted to a single soft, but I've encountered it
> in many place.
> 
> The workaround I have is to go into the corresponding makefile and add
> 
> SHELL = bash
> 
> This would resolve the issue, but needless to say, the change is
> annoying especially when the Makefile is created by a "configure"...
> 
> Can someone help me with that?

  Let's get some diagnostic info.  Replace the command-line with

pwd ; ls -la ; cd fdlibm; make -f Makefile.ref all

and let's try and find out whether make (or to be precise, the shell
launched by make) is actually in the directory that it's supposed to be in
or not.


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/



wget and HTTP_PROXY question

2008-05-20 Thread Ronald Fischer
I can't fetch anything from the web using wget (Connection timed out).
My guess is that it has to do with the proxy settings, but:

- my environment variable HTTP_PROXY is set, and
- from a Windows command line (i.e. outside of Cygwin), tools
(such as the package manager of ActiveState Perl) *can* use
the proxy specified here, without problems.

What can I do to get wget working?

Ronald


--
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.5.25-11: Bash Fails after initial install on Windows 2008 Server

2008-05-20 Thread Eric Berge

Please let me know if you have any suggestions on how I can
debug the following problem in more detail.

I installed cygwin today on a Windows 2008 (32-bit) server
and bash appears to fail with the following stackdump when
run.  I tried various options (such as "bash --version" which
I expected to be quite minimal) and it still failed.

The install was on a system where cygwin was not installed
(but I had tried many previous times but had (hopefully!)
fully removed the remnants of those installs).

I did not add or remove any additional packages to/from the
installation, but simply took the default set of packages.

This failure results in most if not all of the postinstall
scripts failing.

Here's an example of trying to run bash from a Windows cmd shell:

C:\cygwin\bin>bash --version
  3 [main] bash 3000 _cygtls::handle_exceptions: Exception: 
STATUS_ACCESS_VIOLATION
813 [main] bash 3000 open_stackdumpfile: Dumping stack trace to 
bash.exe.stackdump
 495959 [main] bash 3000 _cygtls::handle_exceptions: Exception: 
STATUS_ACCESS_VIOLATION
 513048 [main] bash 3000 _cygtls::handle_exceptions: Error while dumping state 
(probably corrupted stack)
C:\cygwin\bin>

The cygcheck output is included below.

Thanks,

Eric



=


Cygwin Configuration Diagnostics
Current System Time: Tue May 20 11:31:56 2008

Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6001 Service Pack 1

Running in Terminal Service session

Path:   C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(Administrator) GID: 401(mkpasswd)
401(mkpasswd)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 400(Administrator) GID: 401(mkpasswd)
401(mkpasswd)

SysDir: C:\Windows\system32
WinDir: C:\Users\Administrator\WINDOWS

Path = 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem'

ALLUSERSPROFILE = 'C:\ProgramData'
APPDATA = 'C:\Users\Administrator\AppData\Roaming'
CLIENTNAME = 'EBERGE'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'RAVINE-WIN2008'
ComSpec = 'C:\Windows\system32\cmd.exe'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Users\Administrator'
LOCALAPPDATA = 'C:\Users\Administrator\AppData\Local'
LOGONSERVER = '\\RAVINE-WIN2008'
NUMBER_OF_PROCESSORS = '2'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 67 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = '15'
PROCESSOR_REVISION = '4302'
ProgramData = 'C:\ProgramData'
ProgramFiles = 'C:\Program Files'
PROMPT = '$P$G'
PUBLIC = 'C:\Users\Public'
SESSIONNAME = 'RDP-Tcp#0'
SystemDrive = 'C:'
SystemRoot = 'C:\Windows'
TEMP = 'C:\Users\ADMINI~1\AppData\Local\Temp\2'
TMP = 'C:\Users\ADMINI~1\AppData\Local\Temp\2'
USERDOMAIN = 'RAVINE-WIN2008'
USERNAME = 'Administrator'
USERPROFILE = 'C:\Users\Administrator'
windir = 'C:\Windows'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 4Mb  22% CP CS UN PA FC
d:  hd  NTFS 4Mb  54% CP CS UN PA FC
e:  cd N/AN/A
w:  net NTFS   1559020Mb  71% CP CSPAeberge

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Not Found: awk
Not Found: bash
Not Found: cat
Not Found: cp
Not Found: cpp (good!)
Not Found: crontab
Not Found: find
Not Found: gcc
Not Found: gdb
Not Found: grep
Not Found: kill
Not Found: ld
Not Found: ls
Not Found: make
Not Found: mv
Not Found: patch
Not Found: perl
Not Found: rm
Not Found: sed
Not Found: ssh
Not Found: sh
Not Found: tar
Not Found: test
Not Found: vi
Not Found: vim

   61k 2008/04/01 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  "cygbz2-1.dll" v0.0 ts=2008/3/31 22:37
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
  "cygcrypt-0.dll" v0.0 ts=2003/10/19 2:57
   40k 2006/11/15 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
  "cygform-8.dll" v0.0 ts=2006/11/15 1:06
   25k 2008/01/04 C:\cygwin\bin\

Re: wget and HTTP_PROXY question

2008-05-20 Thread Markus Schönhaber
Ronald Fischer wrote:

> I can't fetch anything from the web using wget (Connection timed out).
> My guess is that it has to do with the proxy settings, but:
> 
> - my environment variable HTTP_PROXY is set, and

Among the environment variables wget recognizes is http_proxy not
HTTP_PROXY.

Regards
  mks

--
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: wget and HTTP_PROXY question

2008-05-20 Thread DePriest, Jason R.
On Tue, May 20, 2008 at 4:50 PM, Ronald Fischer <> wrote:
> I can't fetch anything from the web using wget (Connection timed out).
> My guess is that it has to do with the proxy settings, but:
>
> - my environment variable HTTP_PROXY is set, and
> - from a Windows command line (i.e. outside of Cygwin), tools
> (such as the package manager of ActiveState Perl) *can* use
> the proxy specified here, without problems.
>
> What can I do to get wget working?
>
> Ronald
>
>

Try putting your preferences settings in a .wgetrc file.
[file]
http_proxy = "proxy:port"
https_proxy = "proxy:port"
proxy_user = "user"
proxy_password = "password"
[/file]

-Jason

--
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: wget and HTTP_PROXY question

2008-05-20 Thread Hugh Sasse
On Tue, 20 May 2008, Ronald Fischer wrote:

> I can't fetch anything from the web using wget (Connection timed out).
> My guess is that it has to do with the proxy settings, but:

Running it with -d should encourage it to be more verbose about where it
fails.

Hugh

--
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: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-20 Thread jadooo

Hi,

I tried the code from the CVS, but with those changes also the simple 
'wstring' program is not compiling. 

What all I did to test :

1) Have done a fresh Cygwin[1.5] installation.
2) From http://cygwin.com/snapshots/ have downloaded the
cygwin-inst-20080407.tar.bz2 file
3) tar -xvjf cygwin-inst-20080407.tar.bz2
4) The out put of the above command are two folders - etc and usr
5) Copied the folder into C:\Cygwin\ , thus overwritting the existing files.
6) Restarted the Cygwin terminal and tried to build the Sample application
which again failed to 
   recognize 'wstring'.

Please let me know if I am doing anything wrong.

With Warm Regards
Vipin





Larry Hall (Cygwin) wrote:
> 
> jadooo wrote:
>> Thanks a lot for the valuable information. 
>>  
>> I have some more question on the same, just to clarrify things  a bit
>> more..
>>  
>> What do u mean by full unicode enabled??
> 
> Simple.  Cygwin 1.5.x doesn't support Unicode.  Code in CVS for the next
> release series (1.7.x) will.  If you want to get some early insight, you
> can check out a snapshot .  This, of course,
> isn't released code so use at your own risk.  If you do try it and have
> problems, report them here.
> 
> Anticipating your next question, there is no release date yet for 1.7.x.
> 
>> Will my code which contains 'wstring' compile?
> 
> You've answered this question for yourself already, no?
> 
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 216 Dalton Rd.  (508) 893-9889 - FAX
> Holliston, MA 01746
> 
> _
> 
> A: Yes.
>  > Q: Are you sure?
>  >> A: Because it reverses the logical flow of conversation.
>  >>> Q: Why is top posting annoying in email?
> 
> --
> 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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wstring-support-in-GCC-4.1.2-in-Cygwin-1.5.25-11-tp17275355p17345729.html
Sent from the Cygwin list mailing list archive at Nabble.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/



Re: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-20 Thread Greg Chicares
On 2008-05-20 17:16Z, jadooo wrote:
> 
> I tried the code from the CVS, but with those changes also the simple 
> 'wstring' program is not compiling. 
> 
> What all I did to test :
> 
> 1) Have done a fresh Cygwin[1.5] installation.
> 2) From http://cygwin.com/snapshots/ have downloaded the
> cygwin-inst-20080407.tar.bz2 file
> 3) tar -xvjf cygwin-inst-20080407.tar.bz2
> 4) The out put of the above command are two folders - etc and usr
> 5) Copied the folder into C:\Cygwin\ , thus overwritting the existing files.
> 6) Restarted the Cygwin terminal and tried to build the Sample application
> which again failed to 
>recognize 'wstring'.

It sounds like you have updated the posix 'kernel', but not the
compiler. Wouldn't you need to rebuild your gcc-4.1.2's libstdc++
(or at least pass some overriding '-D' options to the compiler)?

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



cygwin/mysql entering password, some characters plain text

2008-05-20 Thread William Finn
I just freshly installed cygwin along with a variety of other things.

When attempting to connect to mysql from within a cygwin bash shell, it goes 
something like this:


[EMAIL PROTECTED]:~] $ mysql -uroot -p
Enter password: **ldk*jvjl*
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: 
YES)
[EMAIL PROTECTED]:~] $ ldkjvjl
bash: ldkjvjl: command not found
[EMAIL PROTECTED]:~] $


When typing my password (slowly, quickly, whatever), some of the characters 
show up in plain text and apparently are not sent as part of the password.  If 
I try to type anything on the prompt after attempting to connect, it first 
prints all of those characters.

I tried reinstalling all the base modules for cygwin, same effect.

The windows command prompt has no problems.

Has anybody encountered something like this before?


cygcheck.out
Description: cygcheck.out
--
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: wget and HTTP_PROXY question

2008-05-20 Thread Bruce Dobrin
If all you really want is to get this to work then I should mention that
Wget appears to want lowercase (http_proxy rather than HTTP_PROXY) as
well as wanting the USE PROXY set to "on"  in the .wgetrc file. You
could script your various rc files to change case,  or you could just
set the proxy in the .wgetrc file and get on with your life.  I'm not
the supporter of this package so I can't be more help than that.

Bruce D.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ronald Fischer
Sent: Tuesday, May 20, 2008 8:50 AM
To: cygwin@cygwin.com
Subject: wget and HTTP_PROXY question

I can't fetch anything from the web using wget (Connection timed out).
My guess is that it has to do with the proxy settings, but:

- my environment variable HTTP_PROXY is set, and
- from a Windows command line (i.e. outside of Cygwin), tools (such as
the package manager of ActiveState Perl) *can* use the proxy specified
here, without problems.

What can I do to get wget working?

Ronald


--
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: wstring support in GCC 4.1.2 in Cygwin 1.5.25-11

2008-05-20 Thread Brian Dessent
jadooo wrote:

> Please let me know if I am doing anything wrong.

Yes, you are misunderstanding the nature of the problem.

In order to support the wstring class, gcc relies on the platform's libc
supporting wide character C99 functions.  newlib does not have the
necessary support[1] so until that work is contributed, the wstring
class cannot be enabled in libstdc++.  And even then, you'd have to
rebuild libstdc++ which means rebuilding all of gcc.

Cygwin 1.7 currently contains support for unicode characters in
filenames, but this is a far cry from general wide character string
support (e.g. wprintf) so simply upgrading to 1.7 will not do anything. 
Larry's suggestion that this will start working in 1.7 is premature,
unless somebody contributes the necessary newlib improvements before 1.7
is released.

Brian

[1] For a list of the missing features see
http://cygwin.com/ml/cygwin-developers/2008-04/msg00094.html

--
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: 1.5.25-11: Bash Fails after initial install on Windows 2008 Server

2008-05-20 Thread Eric Blake

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Eric Berge on 5/20/2008 9:52 AM:
| I installed cygwin today on a Windows 2008 (32-bit) server

I don't have access to Windows 2008, so take my advice with a grain of salt...

Often, crashing apps are the sign of http://cygwin.com/acronyms/#BLODA.
But in your case, this line from the cygcheck output is telling:

|
| Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6001 Service
Pack 1

You may want to try a snapshot, to see if the eventual 1.7.0 will handle
your setup better.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgzgpsACgkQ84KuGfSFAYBHXQCgiM54hpKgBMfgSYRzGS2uuAVu
NRwAn0mh/xaU4BJQofd2xhKXov4SeTjm
=4zkq
-END PGP SIGNATURE-

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



setup.exe die with corrupted list file

2008-05-20 Thread SungHyun Nam

Hello,

The /etc/setup/bash.lst.gz file was corrupted.
$ xxd bash.lst.gz
000: 1f8b 0800   000b ..

And setup.exe was die while trying to uninstall bash.
After removing this file, I successfully installed recent version of bash.

Regards,
namsh


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



File Permissions Issue

2008-05-20 Thread thefinn
My virus scanner decided one of the programs I have installed was a 
virus and seems to have changed the file permissions for it.


How do I change these permissions back so I can freely execute my files? :)

Admittedly I haven't used cygwin in a while, but it WAS all working 
before... I've since added the file in the virus scanner exclude list.



[EMAIL PROTECTED] /usr/local/bin
$ chown thefinn.Users *
chown: changing ownership of `hydra.exe': Permission denied
chown: changing ownership of `pw-inspector.exe': Permission denied

[EMAIL PROTECTED] /usr/local/bin
$ ls -l
total 200
--+ 1 thefinn None 184608 Mar 23  2007 hydra.exe
--+ 1 thefinn None  15037 Mar 23  2007 pw-inspector.exe

[EMAIL PROTECTED] /usr/local/bin
$ hydra
bash: /usr/local/bin/hydra: Permission denied

[EMAIL PROTECTED] /usr/local/bin
$ chmod 755 hydra.*
chmod: changing permissions of `hydra.exe': Permission denied

[EMAIL PROTECTED] /usr/local/bin
$ ls -l ..
total 0
dr-xr-x---+ 2 thefinn Users 0 Oct 14  2007 bin
drwxr-xr-x+ 2 thefinn None  0 Oct 11  2007 dicts
dr-xr-x---+ 2 thefinn Users 0 Oct 10  2007 etc
dr-xr-x---+ 3 thefinn Users 0 Oct 17  2007 lib




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



AR Soft RAM Disk BLODA

2008-05-20 Thread Reini Urban
I tried to hardlink my build dir to a ramdisc to speed up compilation.
There's only one free ramdisc available > 32MB, a freeware from AR Soft.

The build went fine, but then errors started to crop up.
All more extensive and fast file io (find and tar) started to bail out
with "Ressource temporary unavailable".
Not on the ramdisc drive, for example tar xfj
/usr/src/setup/release/perl/perl-5.8.8-4.tar.bz2 -C / never succeeded.
Disabling the ramdisc didn't help, uninstallation did help.

Hope this helps, and I hope someone can suggest a working ramdisc driver,
the windows ramdisc has max 31 MB.
My perl builddir is about 80MB, clisp 120 MB.
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/

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



makefile for matlab-engine in cygwin

2008-05-20 Thread z3259989
Hi evereybody
I am working with a client/server system and I am trying to extend it with an 
input client which uses matlab engine to get data from matlab.
I would like to compile it with cygwin in windows XP.
Just typing 'mex.bat A.c B.c' (where 'A.c' and 'B.c' are a 'reduced' version of 
the input client) in the cygwin bash shell works fine, but I am a bit 
struggling with the makefile:
I would like to extend an existing makefile which works fine with other input 
clients.

If I just change 'gcc' to 'mex.bat' in the makefile I get the following error:

$ make
Makefile:34: depend: No such file or directory
mex.bat -M -g -O3 -std=c99 -Wall -W -Werror -pedantic -I../../server -
I../../utility file.c file_input.c flight_info.c input_client.c main.c 
matlab_flightpath_input.c orientation.c parse_arg.c pdf.c position.c 
time_stamp.c ../../utility/file.c ../../utility/tcp.c ../../utility/parse_arg.c 
./../server/flight_info.c ../../server/pdf.c ../../server/position.c ../../serv
er/time_stamp.c ../../server/o
rientation.c ../../server/input_client.c ../../server/client.c > depend
make: [depend] Error 9 (ignored)
depend:2: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.


I am a pretty newbie concerning compiling and linking, but I think there is a 
linking problem when using 'mex.bat'.

I am using 
cygwin version 1.5.24-2
gcc version 3.4.4-3
matlab R2007b


Appendix 1: makefile

###
CC = gcc
UTILITY_DIR = ../../utility
SERVER_DIR = ../../server

WARNFLAGS = -Wall -W -Werror -pedantic
CFLAGS = -g -O3 -std=c99 $(WARNFLAGS) -I$(SERVER_DIR) -I$(UTILITY_DIR)

PROG = program_name
UTILITY_CFILES = ufiles.c
SERVER_CFILES = sfiles.c
MAIN_CFILES = $(wildcard *.c)
CFILES = $(MAIN_CFILES) $(patsubst %,$(UTILITY_DIR)/%,$(UTILITY_CFILES)) 
$(patsubst %,$(SERVER_DIR)/%,$(SERVER_CFILES))

OBJS = $(CFILES:.c=.o)

.PHONY: all run clean clear mkdepend

all: $(PROG)

$(PROG): $(OBJS)
$(CC) $(OBJS) -o $(PROG)

run: all
./$(PROG)

valgrind: all
valgrind --leak-check=full --suppressions=suppressions ./$(PROG)

clean:
-rm $(OBJS) $(PROG) depend

depend:
-$(CC) -M $(CFLAGS) $(CFILES) > depend

mkdepend:
-rm -f depend
-$(MAKE) depend

include depend



Appendix 2: mexopts.bat file

@echo off
rem LCCENGMATOPTS.BAT
rem
remCompile and link options used for building standalone engine or MAT 
remprograms
remwith LCC C compiler 2.4
rem
rem$Revision: 1.5.4.1 $  $Date: 2006/06/23 19:04:42 $
rem
rem 
rem General parameters
rem 
set MATLAB=%MATLAB%
set PATH=%MATLAB%\sys\lcc\bin;%PATH%
set LCCMEX=%MATLAB%\sys\lcc\mex
set PERL="%MATLAB%\sys\perl\win32\bin\perl.exe"
set MW_TARGET_ARCH=win32
rem 
rem Compiler parameters
rem 
set COMPILER=lcc
set OPTIMFLAGS=-DNDEBUG
set DEBUGFLAGS=-g4
set COMPFLAGS=-c -Zp8 -I"%MATLAB%\sys\lcc\include" -noregistrylookup 
set NAME_OBJECT=-Fo
rem 
rem Linker parameters
rem 
set LIBLOC=%MATLAB%\extern\lib\win32\lcc
set LINKER=lcclnk
set LINKFLAGS=-tmpdir "%OUTDIR%." -L"%MATLAB%\sys\lcc\lib" -libpath "%LIBLOC%"
set LINKFLAGSPOST=libmx.lib libmat.lib libeng.lib
set LINKOPTIMFLAGS=
set LINKDEBUGFLAGS=
set LINK_FILE=
set LINK_LIB= 
set NAME_OUTPUT=-o "%OUTDIR%%MEX_NAME%.exe"
set RSP_FILE_INDICATOR=@
rem 
rem Resource compiler parameters
rem 
set RC_COMPILER=
set RC_LINKER=



Any help or pointers in the right direction would be highly appreciated.

Fabian

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