View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] build problem on solaris

From: Aamer Akhter <aakhter_at_gmail.com>
Date: Tue, 27 Jul 2004 12:42:06 -0400

Folks,

I'm having a a makefile problem on solaris (the linux build went fine)

gcc -pipe -shared -o libxotcl1.2.so so/xotcl.o so/xotclError.o
so/xotclMetaData.o so/xotclObjectData.o so/xotclProfile.o
so/xotclTrace.o so/xotclUtil.o so/xotclShadow.o so/xotclCompile.o
so/aolstub.o so/xotclStubInit.o
-L/auto/nsite-mmpls/users/aakhter/ats4.0/lib -ltclstub8.4
: libxotcl1.2.so
/bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `if test ! "x" = "x" ; then for dir in ; do
if (cd $dir; make binaries) ; then true ; else exit 1 ; fi ; done;
fi;'

which is (with make -d):

   Finished prerequisites of target file `binaries'.
  Must remake target `binaries'.
Putting child 0x00068080 (binaries) PID 17840 on the chain.
Live child 0x00068080 (binaries) PID 17840
/bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `if test ! "x" = "x" ; then for dir in ; do
if (cd $dir; make binaries) ; then true ; else exit 1 ; fi ; done;
fi;'

makefile:

binaries: $(BINARIES) $(XOTCLSH) $(XOWISH) pkgIndex.tcl
        _at_if test ! "x$(subdirs)" = "x" ; then \
        for dir in $(subdirs) ; do \
           if (cd $$dir; $(MAKE) $_at_) ; then true ; else exit 1 ; fi ; \
        done; fi;


has anybody run into this problem already?

-- 
Aamer Akhter / aakhter_at_gmail.com