From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Fri, 24 May 2002 04:26:09 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 224 ************************************************** Thursday 23 May 2002 Number 224 ************************************************** Subjects for today 1 PERL build problem : John Poltorak 2 Re: PERL build problem : csaba.raduly at sophos.com 3 Re: PERL build problem : John Poltorak **= Email 1 ==========================** Date: Fri, 24 May 2002 10:45:12 +0100 From: John Poltorak Subject: PERL build problem I get into this continuous loop:- found. found. We'll include to get va_dcl definition. It seems that you don't need va_copy(). size_t found. What pager is used on your system? [cmd /c more] Please give a full path name, starting with slash. What pager is used on your system? [cmd /c more] Please give a full path name, starting with slash. What pager is used on your system? [cmd /c more] Please give a full path name, starting with slash. What pager is used on your system? [cmd /c more] Please give a full path name, starting with slash. when attempting to build a new release of PERL. The source of this appears to be in this routine:- : locate the preferred pager for this system case "$pager" in '') dflt='' case "$pg" in /*) dflt=$pg;; [a-zA-Z]:/*) dflt=$pg;; esac case "$more" in /*) dflt=$more;; [a-zA-Z]:/*) dflt=$more;; esac case "$less" in /*) dflt=$less;; [a-zA-Z]:/*) dflt=$less;; esac case "$dflt" in '') dflt=/usr/ucb/more;; esac ;; *) dflt="$pager";; esac echo " " fn=f/ rp='What pager is used on your system?' . ./getfile pager="$ans" Can anyone suggest what is wrong, or how I can try and debug it? -- John **= Email 2 ==========================** Date: Fri, 24 May 2002 13:21:02 +0100 From: csaba.raduly at sophos.com Subject: Re: PERL build problem On 24/05/2002 10:45:12 owner-os2-unix wrote: >I get into this continuous loop:- > > found. > found. >We'll include to get va_dcl definition. >It seems that you don't need va_copy(). >size_t found. >What pager is used on your system? [cmd /c more] >Please give a full path name, starting with slash. >What pager is used on your system? [cmd /c more] >Please give a full path name, starting with slash. >What pager is used on your system? [cmd /c more] >Please give a full path name, starting with slash. >What pager is used on your system? [cmd /c more] >Please give a full path name, starting with slash. > > Why "cmd /c " ? more isn't a built-in. Try : 1) set PAGER=more.exe or 2) enter "/os2/more.exe" at the prompt, then edit config.sh by hand and add the driveletter, then run "Configure -der" -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: csaba.raduly at sophos.com http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933 **= Email 3 ==========================** Date: Fri, 24 May 2002 14:46:00 +0100 From: John Poltorak Subject: Re: PERL build problem On Fri, May 24, 2002 at 01:21:02PM +0100, csaba.raduly at sophos.com wrote: > > On 24/05/2002 10:45:12 owner-os2-unix wrote: > > >I get into this continuous loop:- > > > > found. > > found. > >We'll include to get va_dcl definition. > >It seems that you don't need va_copy(). > >size_t found. > >What pager is used on your system? [cmd /c more] > >Please give a full path name, starting with slash. > >What pager is used on your system? [cmd /c more] > > Why "cmd /c " ? > more isn't a built-in. I don't know where this comes from. > Try : > 1) set PAGER=more.exe Makes no difference. > or > > 2) enter "/os2/more.exe" at the prompt, then edit config.sh by hand and add > the driveletter, then run "Configure -der" There is no config.sh (or even a config.h)... The loop seems to occur here somewhere:- What pager is used on your system? [cmd /c more] + ans=! + ans= + echo + >&4 + expr X : X! + > /dev/null + ans=cmd /c more + test -f UU/getfile.ok + value=cmd /c more + ansexp=cmd /c more + redo=true + echo Please give a full path name, starting with slash. + >&4 Please give a full path name, starting with slash. + test File + redo= + rp=What pager is used on your system? + dflt=cmd /c more + . UU/myread + xxxm=cmd /c more + echo What pager is used on your system? [cmd /c more] + wc -c + test 52 -ge 80 ^^^^^^^^^^^^^^^^ I don't see what this test is for but it seems to force the loop... + echo What pager is used on your system? [cmd /c more] \c + >&4 What pager is used on your system? [cmd /c more] + ans=! + ans= + echo + >&4 + expr X : X! -- John