Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Proxy server configuration for RTC

I am using the steps provided in http://jazz.net/library/article/325 to configure a Proxy server for RTC.

I completed the following steps.

1. Installed Cygwin.
2. Created a self signed certificate.
3. Downloaded squid.3.0 and extracted it to C:\

Now, when I run command to compile squid, I get the following error

/cygdrive/c/squid-3.0.STABLE16
$ ./configure --enable-ssl -prefix=/usr/local/squid --with-filedescriptors=2048
./configure: line 15: $'\r': command not found
./configure: line 26: syntax error near unexpected token `$'in\r''
'/configure: line 26: ` case `(set -o) 2>/dev/null` in

Please advise.

Thank you
Jai

0 votes



One answer

Permanent link
First off, this is a Cygwin+Squid problem and not RTC.

With that out of the way, the problem is because your configure script has a DOS line terminator that is not readable by Unix tools. I would hazard an assumption that this line ending was introduced when you extracted it using Winzip or when the file was opened and saved using a Windows-based text editor.

You have two options:

1) use the d2u application to convert the line endings of the configure script to Unix-style. Open a cygwin terminal and navigate to where the configure script is located then execute d2u configure

If the line endings was introduced by your archive decompressor the other files may be affected. Which brings us to:

2) Use the cygwin tar command to decompress the archive. The command is tar zxvf

ciao!

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 12 '09, 4:37 p.m.

Question was seen: 8,033 times

Last updated: Oct 12 '09, 4:37 p.m.

Confirmation Cancel Confirm