[Xotcl] build problem on solaris

Aamer Akhter aakhter at gmail.com
Tue Jul 27 18:42:06 CEST 2004


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 
	@if test ! "x$(subdirs)" = "x" ; then \
	for dir in $(subdirs) ; do \
	   if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1 ; fi ; \
	done; fi;


has anybody run into this problem already?

-- 
Aamer Akhter / aakhter at gmail.com



More information about the Xotcl mailing list