Perl not found

Stephen Grant Brown sg_brown at mcmedia.com.au
Wed Jan 7 15:09:44 EST 2009


Hi All, Hi Andreas

On a Windows XP machine In custom.sh I had a line like

GLOBAL_DIR=C:\\soft\\msys

This resulted in perl not being found.

When I subsequently changed it to

GLOBAL_DIR=C:\\soft

it reinstalled msysDTK but casused other problems resulting in applications 
not being compiled.

I suggest changing things so that ignorant people like me are porotected 
from such disasters of  thier own making.

Yours Sincerely Stephen Grant Brown

----- Original Message ----- 
From: "Andreas Köhler" <andi5.py at gmx.net>
To: "Stephen Grant Brown" <sg_brown at mcmedia.com.au>
Cc: "GNUCash Devel" <gnucash-devel at gnucash.org>
Sent: Monday, January 05, 2009 5:16 PM
Subject: Re: Perl not found


> Hi Stephen,
>
> this proves that the MSYS DTK is not installed correctly.  Install.sh 
> seems to find a perl in one of the new directories, maybe in 
> c:\soft\tools.  Please insert
> which perl
> echo $PATH
> into install.sh, within the function inst_dtk(), after the setup line. You 
> could also try a simple windows find for perl :-)
>
> Ciao,
> -- andi5
>
> Stephen Grant Brown schrieb:
>> Hi Andreas
>> ----- Original Message ----- From: "Andreas Köhler" <andi5.py at gmx.net>
>> To: "Stephen Grant Brown" <sg_brown at mcmedia.com.au>
>> Cc: "GNUCash Devel" <gnucash-devel at gnucash.org>
>> Sent: Saturday, January 03, 2009 10:31 PM
>> Subject: Re: Perl not found
>>
>>
>>> Hi Stephen,
>>>
>>> in your other mail you reported that MSYS DTK has been detected as 
>>> installed correctly.  What is the output of "which perl" and what is 
>>> "echo $PATH", when run in the MSYS shell?  Is there some other perl 
>>> installation in the PATH first?
>>>
>> Here is output of MSYS shell
>>
>> GNUCash at ELSHADAI ~
>> $ which perl
>>
>> GNUCash at ELSHADAI ~
>> $ perl --version
>> sh: perl: command not found
>>
>> GNUCash at ELSHADAI ~
>> $ echo $PATH
>> .:/usr/local/bin:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program 
>> Files/Subversion/bin:/c/Program Files/TortoiseSVN/bin
>>
>> GNUCash at ELSHADAI ~
>> $
>>
>>> Also, check config.log in C:\soft\temp\autoconf-2.60, it may contain 
>>> additional data about what is "wrong" with your perl setup.
>>>
>>
>> GNUCash at ELSHADAI ~
>> $ cd /c/soft/temp/autoconf-2.60
>> sh: cd: /c/soft/temp/autoconf-2.60: No such file or directory
>>
>> GNUCash at ELSHADAI ~
>> $ cd /
>>
>> GNUCash at ELSHADAI /
>> $ ls
>> active-perl  doc  home   mingw  msys.bat  readline  tmp    uninstall
>> bin          etc  m.ico  msys   msys.ico  regex     tools
>>
>> GNUCash at ELSHADAI /
>> $ cd /c
>>
>> GNUCash at ELSHADAI /c
>> $ cd C:\soft\temp\autoconf-2.60
>> sh: cd: C:softtempautoconf-2.60: No such file or directory
>>
>> GNUCash at ELSHADAI /c
>> $ cd C:/soft/temp/autoconf-2.60
>> sh: cd: C:/soft/temp/autoconf-2.60: No such file or directory
>> $
>>
>> GNUCash at ELSHADAI /c
>> $ mount
>> C:\DOCUME~1\GNUCash\LOCALS~1\Temp on /tmp type user (binmode,noumount)
>> C:\soft\msys\mingw on /mingw type user (binmode)
>> C:\soft\msys\bin on /usr/bin type user (binmode,cygexec,noumount)
>> C:\soft\msys\bin on /bin type user (binmode,cygexec,noumount)
>> C:\soft\msys on / type user (binmode,noumount)
>> C:\soft\msys on /usr type user (binmode,noumount)
>> a: on /a type user (binmode,noumount)
>> c: on /c type user (binmode,noumount)
>> d: on /d type user (binmode,noumount)
>> z: on /z type user (binmode,noumount)
>>
>> GNUCash at ELSHADAI /c
>> $
>> GNUCash at ELSHADAI /c/soft/msys/tmp/autoconf-2.60
>> $ less config.log
>>
>>
>> This file contains any messages produced by compilers while
>> running configure, to aid debugging if configure makes a mistake.
>>
>> It was created by GNU Autoconf configure 2.60, which was
>> generated by GNU Autoconf 2.60.  Invocation command line was
>>
>>  $ ./configure --prefix=/C/soft/msys/autotools
>>
>> ## --------- ##
>> ## Platform. ##
>> ## --------- ##
>>
>> hostname = Elshadai
>> uname -m = i686
>> uname -r = 1.0.10(0.46/3/2)
>> uname -s = MINGW32_NT-5.1
>> uname -v = 2004-03-15 07:17
>>
>> /usr/bin/uname -p = unknown
>> /bin/uname -X     = unknown
>>
>> /bin/arch              = unknown
>> /usr/bin/arch -k       = unknown
>> /usr/convex/getsysinfo = unknown
>> /usr/bin/hostinfo      = unknown
>> /bin/machine           = unknown
>> /usr/bin/oslevel       = unknown
>> /bin/universe          = unknown
>>
>> PATH: /C/soft/msys/autotools/bin
>> PATH: /C/soft/msys/readline/bin
>> PATH: /C/soft/msys/regex/bin
>> PATH: /C/soft/msys/tools/bin
>> PATH: .
>> PATH: /usr/local/bin
>> PATH: /mingw/bin
>> PATH: /bin
>> PATH: /c/WINDOWS/system32
>> PATH: /c/WINDOWS
>> PATH: /c/WINDOWS/System32/Wbem
>> PATH: /c/Program Files/Subversion/bin
>> PATH: /c/Program Files/TortoiseSVN/bin
>>
>>
>> ## ----------- ##
>> ## Core tests. ##
>> ## ----------- ##
>>
>> configure:1708: checking for a BSD-compatible install
>> configure:1764: result: /bin/install -c
>> configure:1775: checking whether build environment is sane
>> configure:1818: result: yes
>> configure:1883: checking for gawk
>> configure:1899: found /bin/gawk
>> configure:1910: result: gawk
>> configure:1921: checking whether make sets $(MAKE)
>> configure:1942: result: yes
>> configure:2150: checking whether /bin/sh -n is known to work
>> configure:2169: result: yes
>> configure:2181: checking for expr
>> configure:2199: found /bin/expr
>> configure:2211: result: /bin/expr
>> configure:2233: checking for gm4
>> configure:2266: result: no
>> configure:2233: checking for gnum4
>> configure:2266: result: no
>> configure:2233: checking for m4
>> configure:2251: found /bin/m4
>> configure:2263: result: /bin/m4
>> configure:2275: checking whether m4 supports frozen files
>> configure:2287: result: yes
>> configure:2313: checking for perl
>> configure:2344: result: no
>> configure:2353: error: perl is not found
>>
>> ## ---------------- ##
>> ## Cache variables. ##
>> ## ---------------- ##
>>
>> Hope this helps.
>>
>> Stephen Grant Brown
>>
>>> Ciao,
>>> -- andi5
>>>
>>> Stephen Grant Brown schrieb:
>>>> Hi All.
>>>>
>>>> ----- Original Message ----- From: "Andreas Köhler" <andi5.py at gmx.net>
>>>> To: "Stephen Grant Brown" <sg_brown at mcmedia.com.au>
>>>> Cc: "GNUCash Devel" <gnucash-devel at gnucash.org>
>>>> Sent: Tuesday, December 30, 2008 12:36 PM
>>>> Subject: Re: Perl not found
>>>>
>>>>
>>>>> Hi Stephen,
>>>>>
>>>>> Stephen Grant Brown schrieb:
>>>>>> Hi All,
>>>>>>
>>>>>> In running install.sh I got the following
>>>>>>
>>>>>> ...
>>>>>> ############################################################
>>>>>> ###  Autotools
>>>>>> ############################################################
>>>>>> Extracting autoconf-2.60.tar.bz2 ... done
>>>>>> Extracting automake-1.9.6.tar.bz2 ... done
>>>>>> building autoconf...
>>>>>> checking for a BSD-compatible install... /bin/install -c
>>>>>> checking whether build environment is sane... yes
>>>>>> checking for gawk... gawk
>>>>>> checking whether make sets $(MAKE)... yes
>>>>>> checking whether /bin/sh -n is known to work... yes
>>>>>> checking for expr... /bin/expr
>>>>>> checking for gm4... no
>>>>>> checking for gnum4... no
>>>>>> checking for m4... /bin/m4
>>>>>> checking whether m4 supports frozen files... yes
>>>>>> checking for perl... no
>>>>>> configure: error: perl is not found
>>>>>> ....
>>>>>>
>>>>>> How do I install perl?
>>>>>
>>>>> I cannot check that from here (will be back home in about a week), but 
>>>>> perl should be part of the MSYS DTK package which is installed before 
>>>>> the autotools (section "MSYS DTK", function inst_dtk()).  Do you have 
>>>>> cygwin installed in parallel or some other strange setup?
>>>>
>>>> No, I do not have cygwin installed or some other strange setup.  I use 
>>>> this computer exclusively to compile gnucash. I have Windows XP 
>>>> installed.  I use outlook express to get mail. As per my previous 
>>>> postings, I deleted c:/soft via windows explorer and followed the 
>>>> instructions in the README in the Packaaging dir downloaded from SVN 
>>>> and Instructions for an (almost) automated build.
>>>>
>>>>>
>>>>> BTW, we also unpack ActivePerl, but only for intltool :-)
>>>>>
>>>>> Ciao,
>>>>> -- andi5
>>>>>
>>>>
>>>> Yours Sincerely Stephen Grant Brown
>
> 




More information about the gnucash-devel mailing list