[Y-devel] yiterm build problems

Richard Hills richard at playford.net
Thu Feb 19 17:48:47 GMT 2004


   When compiling yiterm I get the following:

terminal.cc:142: error: `VTK_HOME' undeclared (first use this function)

        Followed by lots of other "'VTK_*' undeclared" errors. It compiles if
you simply comment out all the "case" statements where this appears; my
version of libiterm-dev (0.5-2 in debian) only mentions up to VTK_RIGHT
in the header files.

        Also, once Y has compiled I have problems running the server. It
doesn't appear to create the socket in /tmp/.Y, getting stuck at:

    ...
        else if (pid != 0)
        {
          /* wait for child to finish initialising... */
          int returns[2];
          if (read (pipedes[0], returns, sizeof (int) * 2) > 0)
            {
              if (returns[1] > 0)
                {
                  char buffer[returns[1]+1];
    ...

        on the "if (read" line. Does this mean for certain the "child" process
never finishes, or is there another possibility? I don't know a lot
about unix sockets, but does anyone have any ideas what line of
debugging I could try and fix this? Thanks,

Richard




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved