gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: [ 101721 ] Trouble building GCL on Solaris 8


From: Camm Maguire
Subject: [Gcl-devel] Re: [ 101721 ] Trouble building GCL on Solaris 8
Date: 09 Jan 2003 21:18:23 -0500

Greetings, and thanks for your report!

This is fixed in CVS, which hopefully will be released shortly.
solaris' shell doesn't like the test syntax in xbin/move-if-changed.
I think -e should -> -f, if memory serves.  Or you could use this from
current CVS:

=============================================================================
xbin/move-if-changed:
=============================================================================
#!/bin/sh

if [ $# -eq 3 ] ; then MOVE=$1 ; shift 1; else MOVE=ln;fi

F1=$1
F2=$2


if [ $# -ge 2 ] && [ -f $2 ] && cmp $1 $2 > /dev/null
then  echo $1 and $2  are identical ;
else
echo $1 and $2 were not the same.
rm -f $2
${MOVE} $1 $2
echo ln $1 $2
fi

=============================================================================

Take care,

address@hidden writes:

> Support Request #101721, was updated on 2003-Jan-08 17:34
> You can respond by visiting: 
> http://savannah.gnu.org/support/?func=detailsupport&support_id=101721&group_id=879
> 
> Category: None
> Status: Open
> Priority: 5
> Summary: Trouble building GCL on Solaris 8
> 
> By: jehalter
> Date: 2003-Jan-08 17:34
> Logged In: NO 
> Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp 5.0.2.6; 
> .NET CLR 1.0.3705)
> 
> I tried building both GCL 2.4.3 and 2.4.4 on Solaris 
> 8, with no luck. It seems to configure fine, but when 
> I try to make, I get the following error:
> 
> % gmake
> cat h/config.h | sed -e "1,/Begin for cmpincl/d" \
>         -e "/End for cmpinclude/,50000d" > tmpx
> cat h/cmpincl1.h h/gclincl.h h/compbas.h h/enum.h 
> h/gmp.h h/object.h h/vs.h h/bds.h h/frame.h h/lex.h 
> h/eval.h    h/funlink.h h/att_ext.h h/new_decl.h 
> h/compbas2.h h/compat.h h/cmponly.h >> tmpx
> ./xbin/move-if-changed mv tmpx h/cmpinclude.h
> ./xbin/move-if-changed: test: argument expected
> gmake: *** [h/cmpinclude.h] Error 1
> 
> 
> I noticed that a Makefile was not even created in the 
> top level directory:
> 
> % ls -l Makefile
> Makefile: No such file or directory
> 
> 
> Please help.
> Thanks,
> -jonathan
> 
> ----------------------------------------------------------------------
> You can respond by visiting: 
> http://savannah.gnu.org/support/?func=detailsupport&support_id=101721&group_id=879
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]