Compilation

From: Dr.R.F.Wolpert <wolpert_at_uark.edu>
Date: Mon, 27 Nov 2000 17:39:53 -0600

I have just downloaded STk-4.0.1, compilation and installation went
well but for the error messages I receive (appended at the end of this
note). The "Hello World" button test works fine. However, although
the console and editor work fine, and programs run in the console when
evaluated from the editor, I cannot load or open any files from the
console or into the editor (no problem when using stk or snow under
emacs), indeed nearly anything I try outside the workspace windows
gives me faults, for example:

Load:
   *** Background error:
   apply: bad procedure: #[autoload 20000046088]
   **** Tk error ("") (command bound to event)

Also, I cannot load the tutorial at all: segmentation faults galore...

I have tried to examine the FAQ, but the answer was:
   The requested URL /furrer/STk/FAQ.html was not found on this server.
   Apache/1.3.9 Server at ltiwww.epfl.ch Port 80

Here my configuration:
uname -a
          Linux kikkan 2.2.16 #1 Thu Jun 22 12:17:18 EDT 2000 alpha unknown

i.e. out of a box Linux Red Hat 6.2 on an Alpha

The tcl version seems to be tclX8.0.4

Tcl/Tk scripts work fine (I am not a Tcl/Tk programmer, so everything
is simple. Exmh, requiring tcl/tk also works fine.)

To be REALLY annoying: everything (STk-4.0.1) works perfectly well on
my RedHat 6.1 Intel 586 laptop... I work mainly on the alpha, though,
and like it really better!

Any suggestions would be welcome.

Rembrandt

---------------------------------------------

Here the compilation warnings:


  gcc -c -O2 -DSTk_CODE -DLINUX -DUSE_STKLOS -DLINUX_ELF -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenu.c
  ./tkUnixMenu.c: In function `GetMenuIndicatorGeometry':
  ./tkUnixMenu.c:332: warning: cast to pointer from integer of different size
  ./tkUnixMenu.c:335: warning: cast to pointer from integer of different size
  ./tkUnixMenu.c:341: warning: cast to pointer from integer of different size
  ./tkUnixMenu.c:344: warning: cast to pointer from integer of different size
  ./tkUnixMenu.c: In function `DrawMenuEntryIndicator':
  ./tkUnixMenu.c:547: warning: cast from pointer to integer of different size
  ./tkUnixMenu.c:575: warning: cast from pointer to integer of different size
  ./tkUnixMenu.c:577: warning: cast from pointer to integer of different size
  gcc -c -O2 -DSTk_CODE -DLINUX -DUSE_STKLOS -DLINUX_ELF -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenubu.c



  VE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c -o jpeg.o jpeg.c
  jpeg.c:70: warning: initialization from incompatible pointer type
  jpeg.c:72: warning: initialization from incompatible pointer type
  ld -shared -o jpeg.so jpeg.o
  if test -f a.out ;then mv a.out jpeg.so; fi
  chmod 0755 stk-genmake
  rm locale.o
  make[1]: Leaving directory `/home/local/STk/STk-3.99.4/Extensions'
  Make started at Mon Nov 27 16:00:10 CST 2000
  Make completed at Mon Nov 27 16:04:30 CST 2000

(Ending looks fine.)


Trying to make the demos:

  /bin/sh -c "(cd Demos; ../Src/test-stk -f S-scape README.html)"

  *** Error at line 82 of file ../STklos/Tk/Composite/Lentry.stklos:
  Segmentation violation: Returning to toplevel

  (exit 1)
  X connection to :0.0 broken (explicit kill or server shutdown).
  make: *** [demos] Error 1
Received on Tue Nov 28 2000 - 00:38:59 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST