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

RE: [Xotcl] build problem on solaris

From: Schofield, Bryan \(GE Transportation\) <"Schofield,>
Date: Tue, 27 Jul 2004 13:18:23 -0400

I had that problem at as well. I didn't care to make xowish or xotclsh, I ended up commenting portions of the make file out to get it to work. Specifically, I commented out "binaries", "install", and part of "libraries" target.

I don't mean to speak for Gustaf, but maybe give this version a try:
  http://media.wu-wien.ac.at/download/xotcl-1.2.1.tar.gz

I don't think it's quite ready for primetime, since Gustaf & Co. are adding a few enhancements. But I think all that remains is documentation. I've been using it & testing out the new features for a about 2 months and consider it stable. That version also has a better build & configuration system and compiles with out complaint fine for me (which is the only reason I'm mentioning it, it was a painful to get the last publicly released version to compile on Solaris). I'm sure the XOTcl guys will correct me if I'm wrong.

I noticed you posted a question on the IncrTcl mailing list earlier today about "unknown" handlers. I think you'll find that XOTcl's unknown handler is fantastic. I've used IncrTcl extensively, but over the last 6 months or so I've began using XOTcl instead. I now prefer XOTcl greatly to IncrTcl. After using it, I feel so constrained with IncrTcl by having to fully define my classes, and thus my object behavior, a head of time. The flexibility of XOTcl is phenomenal.

-- bryan


> -----Original Message-----
> From: xotcl-admin_at_alice.wu-wien.ac.at
> [mailto:xotcl-admin_at_alice.wu-wien.ac.at]On Behalf Of Aamer Akhter
> Sent: Tuesday, July 27, 2004 12:42 PM
> To: xotcl_at_alice.wu-wien.ac.at
> Subject: [Xotcl] build problem on solaris
>
>
> 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
> _______________________________________________
> Xotcl mailing list - Xotcl_at_alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
>