[Xotcl] Re: Status of the bugs I reported/could people resend their replies to those bugs

Gustaf Neumann neumann at wu-wien.ac.at
Sat Apr 10 22:52:39 CEST 2004


On Tuesday 06 April 2004 16:06, Jim Lynch wrote:

> >  concerning (a) you are right, determining to build with AOLserver
> >  from the `pwd` is not pretty, also the hardwired path to the
> >  AOLserver include directory. i have changed that
> >  right now. note, that making an aolserver module is only an issue
> >  for AOLserver 3.*, the AOLserver 4* series does not require this
> >  at all. Therefore, i have named the configure switch
> >  --with-aolserver3=AOL_INCLUDE_DIR
> >  where you have to specify the include directory.
>
> Suggestion, howbout the prefix dir instead? That way, any time you add
> dependendency on another kind of thing, you already planned for the
> stem dir. 

 there might be cases, where the prefix of xotcl is not the same
 as the aoldirectory. On my system, i have for tcl and xotcl
 --prefix=/usr and for the aolserver (the default) /usr/local

> Besides, if this switch is to represent the include dir, it
> is misnamed, and should be named something like --with-aolserver-inc=.

well. by using  --with-aolserver3 you tell xotcl, that it should build the
aolserver 3.* type c module, and you tell it at the same time, where
to find the includes. therefor i think --with-aolserver3 is still better.
 
> >  well, can you be more specific, where this happens?
> >  XOTcl uses in configure.in SC_PROC_TCLSH
> >  and uses in all the Makefiles $TCLSH_PROG as far i can see.
> >  What version of xotcl are you working with?
>
> I'm using xotcl-1.2.0; my situation is I'm building using a tcl
> I built specifically for an aolserver4. It's not the system tcl
> and its bin dir is not in my path.

 if you only want to build xotcl, you need no tclsh at all (tclsh is used
 only for doc generation, testing, installing). If you build for aolserver  4
 you need in the minimal version 
          # cd xotcl-1.2.0/unix
          ./configure --enable-threads  \
              --prefix=/usr/local/aolserver \
              --with-tcl=/usr/src/tcl8.4.5/unix
          # make libxotcl1.2.so
          # make install-aol
 
 everything including "make libxotcl1.2.so" should be fine without
 a tclsh. the "make install-aol" uses a tclsh to load xotcl (for a minor
 purpose, to rebuild the pkgIndex files). If you comment out
 the last line of the "libraries:" rule in unix/Makefile,
 you should be fine.
 
 -gustaf
-- 
Univ.Prof. Dr.Gustaf Neumann
Abteilung für Wirtschaftsinformatik
WU-Wien, Augasse 2-6, 1090 Wien



More information about the Xotcl mailing list