niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS » vmsperl
Configure.com issue, more quoting needed.
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
John E. Malmberg
*nix forums Guru Wannabe


Joined: 30 May 2005
Posts: 264

PostPosted: Thu Jan 26, 2006 10:31 pm    Post subject: Configure.com issue, more quoting needed. Reply with quote

Martin Borgman of the Open Office on VMS team sent me this information
about a problem he had running Perl.

Because he also needs to run Java, his session has the logical name
DECC$ARGV_PARSE_STYLE defined as "ENABLE".

When this is set, the unquoted parameters are passed in exact case to
perl, and not converted to lower case.

He found this problem and there may be some others, and it looks like in
this case it should not be too hard to patch the configure.com to fix this.

For PERLDOC, the resulting symbols need the -t to be in quotes in one of
these two ways:

$ PERLDOC :== -
$PERL_ROOT:[000000]PERL.EXE PERL_ROOT:[LIB.POD]PERLDOC.COM "-t"

$ PERLDOC == -
"$PERL_ROOT:[000000]PERL.EXE PERL_ROOT:[LIB.POD]PERLDOC.COM -t"

-John
wb8tyw@qsl.net
Personal Opinion Only
Back to top
Craig A. Berry
*nix forums Guru Wannabe


Joined: 27 May 2005
Posts: 143

PostPosted: Fri Jan 27, 2006 1:50 pm    Post subject: Re: Configure.com issue, more quoting needed. Reply with quote

At 5:31 PM -0500 1/26/06, John E. Malmberg wrote:
Quote:
Martin Borgman of the Open Office on VMS team sent me this information about a problem he had running Perl.

Because he also needs to run Java, his session has the logical name
DECC$ARGV_PARSE_STYLE defined as "ENABLE".

When this is set, the unquoted parameters are passed in exact case to perl, and not converted to lower case.

He found this problem and there may be some others, and it looks like in this case it should not be too hard to patch the configure.com to fix this.

For PERLDOC, the resulting symbols need the -t to be in quotes in one of these two ways:

$ PERLDOC :== -
$PERL_ROOT:[000000]PERL.EXE PERL_ROOT:[LIB.POD]PERLDOC.COM "-t"

$ PERLDOC == -
"$PERL_ROOT:[000000]PERL.EXE PERL_ROOT:[LIB.POD]PERLDOC.COM -t"

I'm confused. The -t is already in lower case. Or is that DCL
upcases it if you do not have extended parse enabled as well as
DECC$ARGV_PARSE_STYLE enabled?
--
________________________________________
Craig A. Berry
mailto:craigberry@mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
Back to top
John E. Malmberg
*nix forums Guru Wannabe


Joined: 30 May 2005
Posts: 264

PostPosted: Fri Jan 27, 2006 2:14 pm    Post subject: Re: Configure.com issue, more quoting needed. Reply with quote

Craig A. Berry wrote:
Quote:
At 5:31 PM -0500 1/26/06, John E. Malmberg wrote:

Martin Borgman of the Open Office on VMS team sent me this
information about a problem he had running Perl.

Because he also needs to run Java, his session has the logical name
DECC$ARGV_PARSE_STYLE defined as "ENABLE".

When this is set, the unquoted parameters are passed in exact case
to perl, and not converted to lower case.

He found this problem and there may be some others, and it looks
like in this case it should not be too hard to patch the
configure.com to fix this.

For PERLDOC, the resulting symbols need the -t to be in quotes in
one of these two ways:

$ PERLDOC :== -
$PERL_ROOT:[000000]PERL.EXE PERL_ROOT:[LIB.POD]PERLDOC.COM "-t"

$ PERLDOC == -
"$PERL_ROOT:[000000]PERL.EXE PERL_ROOT:[LIB.POD]PERLDOC.COM -t"

I'm confused. The -t is already in lower case. Or is that DCL
upcases it if you do not have extended parse enabled as well as
DECC$ARGV_PARSE_STYLE enabled?

DCL does not pay attention to the DECC$ARGV_PARSE_STYLE at all in this case.

If the quotes are missing, the foreign command symbol PERLDOC will have
-T in it instead of -t per standard DCL rules.

And then per the DECC$ARGV_PARSE_STYLE being enabled, the DECC RTL which
runs before main() is called in Perl will not lower case the parameter
as is the default behavior.

Martin is reporting that the result is that the PERLDOC command stops
working.

-John
wb8tyw@qsl.net
Personal Opinion Only
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 12:57 pm | All times are GMT
navigation Forum index » Not Unix » VMS » vmsperl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts I need to configure DHCP server to force client to obtain... malazc@gmail.com networking 1 Thu Jul 20, 2006 8:44 pm
No new posts TLS cert issue Nick Smith Postfix 3 Thu Jul 20, 2006 7:40 pm
No new posts Root relay issue Johnson, S Postfix 4 Thu Jul 20, 2006 6:50 pm
No new posts Quoting, variables, and xterm graftonfot@yahoo.com shell 2 Thu Jul 20, 2006 2:26 pm
No new posts Help Needed. Removing a Folder Problem Kilicaslan Fatih python 4 Thu Jul 20, 2006 9:57 am

Mortgage Loans | Loans | Lighting | Remortgaging | Magazine Subscriptions
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2065s ][ Queries: 16 (0.1276s) ][ GZIP on - Debug on ]