[Libreoffice] Debugging Make Fetch bash scripts on Mac OS X 10.6.7
Peter Teeson
peter.teeson at bell.net
Tue May 17 14:26:25 PDT 2011
As part of my exploring a Mac OS X 10.6.7 Xcode 3.2.4 project I setup a clean libo environment and did Make fetch
The file libo/src/fetch.log has entries such as this:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
1 598k 1 9824 0 0 15849 0 0:00:38 --:--:-- 0:00:38 22899
35 598k 35 214k 0 0 139k 0 0:00:04 0:00:01 0:00:03 159k
100 598k 100 598k 0 0 295k 0 0:00:02 0:00:02 --:--:-- 325k
But my copy of the terminal log shows this:
48a9f787f43a09c0a9b7b00cd1fddbbf-hyphen-2.7.1.tar.gz
fetching 48a9f787f43a09c0a9b7b00cd1fddbbf-hyphen-2.7.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 598k 100 598k 0 0 295k 0 0:00:02 0:00:02 --:--:-- 325k
Question 1: is the fetch.log supposed to show the object name such as is shown in the terminal?
If this is a bug I would like to track it down. I looked at the Makefile and understand that fetch jumps to the src.downloaded option [and I understand what it's doing]. I haven't parsed the dowload script because my bash scripting knowledge is newbie.
Question 2: How do I go about stepping through bash scipts? I have DL'd bashdb-4.2-0.7 but it requires:
configure: WARNING: You have Bash GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc. installed.
configure: error: This package is only known to work with Bash 4.1 or 4.2.
This would indicate I have to install a more recent version of bash but I wonder what might break for my regular Mac Xcode usage.
I am confused. Please advise me. Thanks.
respect....
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110517/42b68534/attachment.html>
More information about the LibreOffice
mailing list