Details Ticket 5257


Comment | Reply | Take | Open


Serial Number 5257
Subject Tcl install copy fails
Area grass6
Queue grass
Requestors johng@telascience.org
Owner none
Status resolved
Last User Contact Mon Mar 5 20:42:47 2007 (1 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Mar 5 20:42:47 2007 (1 yr ago)
Created Sat Nov 4 08:56:10 2006 (2 yr ago)

Transaction History Ticket 5257


Sat, Nov 4 2006 08:56:10    Request created by guest  
Subject: Tcl install copy fails

Platform: Solaris2.x/Sparc
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.2.0

Tcl not copied during install Solaris 10

HACK FIX 

cp /usr/local/src/grass-6.2.0/lib/gtcltk/*.tcl /usr/local/grass-6.2.0/etc/gtcltk/
cp /usr/local/src/grass-6.2.0/lib/external/bwidget/*.tcl /usr/local/grass-6.2.0/bwidget/
Mon, Nov 6 2006 00:44:15    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17742.30529.369386.702500@cerise.gclements.plus.com>
Date Sun, 5 Nov 2006 23:44:01 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5257] (grass) Tcl install copy fails
In-Reply-To <20061104075610.436C4101EE3@lists.intevation.de>
References <20061104075610.436C4101EE3@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=5257
> -------------------------------------------------------------------------
> 
> Subject: Tcl install copy fails
> 
> Platform: Solaris2.x/Sparc
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.2.0
> 
> Tcl not copied during install Solaris 10
> 
> HACK FIX 
> 
> cp /usr/local/src/grass-6.2.0/lib/gtcltk/*.tcl /usr/local/grass-6.2.0/etc/gtcltk/
> cp /usr/local/src/grass-6.2.0/lib/external/bwidget/*.tcl /usr/local/grass-6.2.0/bwidget/
Fixed in CVS, similar to [bug #5255]

-- 
Glynn Clements <glynn@gclements.plus.com>


Mon, Nov 6 2006 08:56:06    Mail sent by mneteler  
Glynn has fixed it in CVS-HEAD (aka 6.3), I have backported
it to GRASS 6.2-release branch for the future 6.2.1.

You can grab a fresh 6.2-release branch snapshot here:
http://grass.itc.it/grass62/source/snapshot/

Please let us know if this solved the problem.

Markus
Fri, Nov 10 2006 18:39:22    Status changed to resolved by msieczka  
Fri, Nov 10 2006 18:39:22    Mail sent by msieczka  
I'll assume the bug fixed. If still not, please reply to this emial which will
re-open the ticket.

Maciek
Tue, Nov 14 2006 22:06:02    Mail sent by johng@telascience.org  
Return-Path <johng@telascience.org>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <455A2F99.20702@telascience.org>
Date Tue, 14 Nov 2006 13:05:29 -0800
From John Graham <johng@telascience.org>
User-Agent Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version 1.0
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Subject Re: [bug #5257] (grass) Tcl install copy fails
References <20061110173922.E06321005C6@lists.intevation.de>
In-Reply-To <20061110173922.E06321005C6@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Virus-Scanned clamd / ClamAV version 0.70, clamav-milter version 0.70j
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Sorry it took so long

It looks good ...

The tar that ships with solaris 10 works but if you have gnu tar 
installed it fails

----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
i.find
photo.elev
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Tue Nov 14 12:40:57 PST 2006
--
Errors in:
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/lib/symbol
--
Finished compilation: Tue Nov 14 13:00:31 PST 2006
(In case of errors please change into the directory with error and run 
'make')
make: *** [default] Error 255
[root@zuluviz]# cd 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/lib/symbol
[root@zuluviz]# make
mkdir -p 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/etc/symbo
l
find ./symbol -type f | grep -v CVS | xargs tar chBf - |(cd 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/etc;
tar xBf -)
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Read 9728 bytes from -
tar: Error exit delayed from previous errors
make: *** [symb] Error 2
[root@zuluviz]# which tar
/usr/local/bin/tar
[root@zuluviz]# mv /usr/local/bin/tar /usr/local/bin/tarOFF
[root@zuluviz]# make
mkdir -p 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/etc/symbo
l
find ./symbol -type f | grep -v CVS | xargs tar chBf - |(cd 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/etc;
tar xBf -)


There are also strange "not found" and "does not exist" statements in 
lots of places but i dont think they matter

make[2]: Entering directory 
`/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/scripts/i.fusion.brovey'
if [ ! -d 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/scripts/
]; then mkdir 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/scripts/;

fi
cp i.fusion.brovey 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/scripts/
chmod 0755 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/scripts//
i.fusion.brovey
GISRC=/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/dem
olocation/.grassrc62
GISBASE=/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10
PATH=/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/bin:
$PATH
LD_LIBRARY_PATH="/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-sola
ris2.10/lib:"
LC_ALL=C 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/scripts/i
.fusion.brovey
--html-description | grep -v '</body>\|</html>' > 
i.fusion.brovey.tmp.html ; true
/bin/sh: !: not found
/bin/sh: !: not found
/bin/sh: !: not found
mkdir -p 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/docs/html

mv -f i.fusion.brovey.tmp.html 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/docs/html
/i.fusion.brovey.html
for file in  *.png *.jpg ; do \
                head -n 1 $file | grep '^#!' > /dev/null ; \
                if [ $? -ne 0 ] ; then \
                   
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/install-sh 
-c  -m 644 $file 
/usr/local/src/grass_test/grass-6.2.cvs_src_snapshot_2006_11_12/dist.sparc-sun-solaris2.10/docs/html

; \
                fi \
                done 2> /dev/null ; true
install:  *.png does not exist
install:  *.jpg does not exist



Maciek Sieczka via RT wrote:
> I'll assume the bug fixed. If still not, please reply to this emial which will
> re-open the ticket.
>
> Maciek
>
>
> -------------------------------------------- Managed by Request Tracker
>   


Tue, Nov 14 2006 22:06:02    Status changed to open by _rt_system  
Fri, Nov 17 2006 18:01:55    Mail sent by mneteler  
John,

for lib/symbol, I have implemented this solution now in
lib/symbol/Makefile.

> 3. Use "test -f", e.g.
>
>       for file in symbol/demo/* ; do \
>       [ -f "$$file" ] && $(INSTALL_DATA) $$file $(ETC)/symbol/demo ; \
>       done

The tomorrow's CVS snapshot will include it.

Markus
Mon, Mar 5 2007 20:42:47    Status changed to resolved by msieczka  
Mon, Mar 5 2007 20:42:47    Mail sent by msieczka  
mneteler wrote (Fri, Nov 17 2006 18:01:55):

> The tomorrow's CVS snapshot will include it.

That's been some time now :). Closing the ticket.

Maciek
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request