[icf-dev] Problems with pbuild

Posted by LegacyUser on 25-Mar-2003 16:26

All Replies

Posted by LegacyUser on 25-Mar-2003 16:26

This isn't quite correct.

Matt is correct that it is a problem with the cygpath command, but it is the

"p" that you want to remove and not the "w", e.g.,

POSSE="`cygpath -wa ..."

This only occurs in the latest version of cygwin, for some reason. The -p is

supposed to cause the argument to cygpath to be treated as a "path", such that

colons are interpreted as PATH delimiters. It probably was broken before and

now works properly. At any rate, we do not want this behavior. An issue has

already been logged for this

http://www.possenet.org/issues/show_bug.cgi?id=8141.

Also make sure you explicitly set your "TMPDIR" environment variable to a

valid directory path using Windows path format; I think the new cygwin install

routine will create it using the cygdrive format. Pbuild defaults to using

the TMPDIR setting as the Progress -T value and Progress does not understand

cygdrive. There is also an issue for this problem:

http://www.possenet.org/issues/show_bug.cgi?id=8142.

Regards,

Tom

Matt Baker wrote:

Hi Rick,

>

This is a problem with the way the cygpath function behaves in winXP.

It used to interpret the c: in the environment variable as part of the

path. Now it mistakes it for a path delimiter and replaces the colon

with a semi colon. I have also run into this using pbuild on a winXP

machine.

>

You need to do a couple of things. First there is a section several

lines down that defines what the TEMPDIR directory setting is. You'll

need to manually change this to a hard-coded value so that it no longer

uses the environment variable. There are two, make sure you get the one

for cygwin.

>

Second, you'll need to change all the commands (I think there are four)

that look like your line below

>

POSSE="`cygpath -pwa ..."

>

Change the lines to change the switches passed to the cygpath variable

to -wa (remove the p) so that it reads

>

POSSE="`cygpath -pa ..."

>

Hope this helps.

>

mattB

>

Rick Terrell wrote:

>

>I am trying to re-install on a laptop running WinXP

>Home version. I am running Progress 9.1D05 with a

>fresh d/l of POSSE code today. When I try to execute

>pbuild, I get errors relating to path problems. I

>have narrowed it down to the following command in

>pbuild:

>

POSSE="`cygpath -pwa \"$POSSE\"`"

>

>If I go to a cygwin shell and do:

echo $POSSE

>it correctly returns C:\Possework\PosseDynamics

>

>If I then type in the command above and then do echo

>$POSSE, it returns:

>

>C;c:\Possework\PosseDynamics

>

>It has now stuck a "C;" on the front. Since many of

>the other env vars are built from this, most of them

>are now wrong with the "C;" on the front.

>

>Anybody seen this before? Anybody know how to fix it?

>

>Rick

>

>

>

>=====

>Rick Terrell

>

>__________________________________________________

>Do you Yahoo!?

>Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

>http://platinum.yahoo.com

>

>

>To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org

>For additional commands, e-mail: dev-help@icf.possenet.org

>

>

>

>

>

To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org

For additional commands, e-mail: dev-help@icf.possenet.org

--

Tom Nordhougen

Progress Software Corp.

http://www.progress.com

>

The art of progress is to preserve order amid change, and

to preserve change amid order. -Alfred North Whitehead

To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org

For additional commands, e-mail: dev-help@icf.possenet.org

This thread is closed