Re: Display file anme and line number of bash file
"Stephen Grant Brown" <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.msys |
|---|---|
| Message-ID | <5B79B7C5535A4EFBBE8D69BE6E2898C1@Elshadai> |
Hi Greg,
Tracing is not my goal.
I am building msysCORE-1.0.11-20080826 via msysbld.sh.
Here is output from msysdvlpr
-----------------------------------------------------------------------------------------------------
GNUCash@ELSHADAI ~/src/MSYS-1.0.11/msys_base/msysCORE-1.0.11-20080826
$ msysbld.sh
Entering src_build
BASH = /usr/bin/sh
LINENO = 3
COMP_LINE =
BASH_SOURCE =
BASH_COMMAND =
${BASH_LINENO[$i]} =
=
Entering do_build
Entering src_prep
Entering do_prep
Configuring for a i686-pc-msys host.
mv: cannot stat `Makefile': Permission denied
mv: cannot stat `Makefile': Permission denied
sed: can't read ./Makefile.tem: No such file or directory
mv: cannot move `Makefile.tem' to `Makefile'
Created "Makefile" in
/home/GNUCash/src/MSYS-1.0.11/msys_base/msysCORE-1.0.11-20080826/src/MSYS-1.0.11-20080821/build
using "mh-frag"
Configuring etc...
loading site script /usr/etc/config.site
creating cache ../config.cache
checking for a BSD compatible install... /bin/install -c
updating cache ../config.cache
creating ./config.status
creating Makefile
make: *** No rule to make target `clean'. Stop.
make: *** No targets. Stop.
=============
fail3
Build failed.
=============
==================
MSYS Build failed.
==================
GNUCash@ELSHADAI ~/src/MSYS-1.0.11/msys_base/msysCORE-1.0.11-20080826
---------------------------------------------------------------------------------------
I want a more informative message than
MSYS Build failed
But yes, tracing is part of the process I will use to get a more informative
message.
Yours Sincerely Stephen Grant Brown
----- Original Message -----
From: "Greg Chicares" <[email protected]>
To: "MSYS Discussion List" <[email protected]>
Sent: Friday, February 27, 2009 3:27 AM
Subject: Re: [Mingw-msys] Display file anme and line number of bash file
> On 2009-02-26 16:12Z, Stephen Grant Brown wrote:
> [reformatted--please break long lines]
>> I am trying to display the file name and line number that is
>> currently being executed in a bash file.
>
> Is tracing your goal? If so, consider using 'set -x'.
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Mingw-msys mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-msys
>
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H