Thanks Eric.
 
You were right about the CR LF being the problem. Though the problem seems to be something in the script that generates the *metarc.rc file from the corresponding xml file in the source. The problem is an extra line break that is inserted into the *metarc.rc file (I mean files like bugplug_metarc.rc).
If you open the file you will see the closing '",' appears on a new line instead of after the corresponding closing xml tag. I have tried to look through the code to see which script generates these files but wasnt able to find it.
 
I used a script to fix the problem, but obviously the solution is to fix the original script.
 
Thanks again.
 
Cheers,
Arun







> From: [EMAIL PROTECTED]
> Date: Fri, 23 Jun 2006 19:49:19 -0400
> To: [email protected]
> Subject: Re: [CsMain] Problems with cygwin and MingW
>
> On Jun 23, 2006, at 11:21 AM, Arun Kumar wrote:
> > Part I: Cygwin and pseudo stable
> > I first downloaded the pseudo stable release cs-pseudo- 
> > stable-2006-01-27.zip. I already had cygwin on my system so I  
> > compiled with that. Everything compiled fine. The only problem I am  
> > facing is with the sample applications, some of them work, most of  
> > them crash.
> > Program recieved signal SIGSEGV, Segmentation fault.
> > 0x34041ef3 in cspluginPNGimg::ImagePngFile::PngLoader::ImagePngRead (
> > ? ? png=0x32810dd0, data="">> > ? ? at plugins/video/loader/png/pngimage.cpp:357
> > 357? ? ? ? ? ? if (self->r_size < size)
>
> Almost certainly, this is an issue with incompatible headers and  
> libraries being used by the Cygwin compiler and linker. Peter Amstutz  
> researched the issue rather thoroughly a couple weeks ago and has  
> worked up a solution, but it is not yet clear as to when we will be  
> able to install his solution.
>
> > Part II: MSYS/MingW
> > After checking these forums I saw some posts about MingW/MSYS being  
> > preffered over cygwin, so I gave that a shot. I installed MingW  
> > first with MingW-5.0.2.exe.
> > Then installed MSYS, MSYS-1.0.10-rc-5.exe.
> > Configure appears to run fine but at the end I get a ./ 
> > config.status: failed to open directory ./configstat<randomnumbers>/ 
> > jcache
> > When I run jam it appears to be compiling the source, but nothing  
> > gets created. The out/debug/blahblah dont get created at all.
>
> It's been reported before, but we've never managed to track down the  
> problem. I've even experienced a similar manifestation randomly on  
> several occasions. The issue seems to be that some commands which  
> should create files and/or directories fail silently. You might try a  
> different version of MSYS, but no guarantee that it will make a  
> difference.
>
> > Part III: Cygwin and SVN
> > I finally grabbed the SVN copy yesterday and tried compiling it on  
> > cygwin.
> > Here is the jam output I get:
> > CompileResources ./out/msysx86/debug/plugins/bugplug/ 
> > bugplug_resource.o
> > windres: <stdin>:34: syntax error
>
> Most likely it's a problem with the line-endings (CRLF vs. LF). As a  
> guess, I would say that your Cygwin is configured for LF line- 
> endings, but the SVN checkout gave you CRLF line-endings, and  
> windres.exe is incapable of handling the situation. Or vice-versa.
>
> -- ES
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Crystal-main mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe: mailto:[EMAIL PROTECTED]



Express yourself instantly with Windows Live Messenger
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to