in reply to Compiling perl/Tk on cygwin

Tk is a GUI toolkit. You need http://www.cygwin.com/xfree/ to use it.


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Compiling perl/Tk on cygwin
by arc_of_descent (Hermit) on Feb 12, 2003 at 10:13 UTC

    I'm not so sure.
    The README.cygwin in the Tk-800.024 distrubution says, that
    you can compile Tk to use the native Win32 GUI calls.

    I'm so confused!

    --
    arc_of_descent

      Then it wouldn't/shouldn't be looking for X11/* (aka the stuff I pointed out earlier).

      update: maybe you should read a little closer? (rhetorical).

      README.cygwin says

      CONFIGURE/BUILD
      
          Use native Win32 GUI calls:
      
              perl Makefile.PL
      
          Use X11 client libraries (and requires a X server):
      
              Precompiled X11 client libraries can be downloaded from
              ftp://sourceware.cygnus.com/pub/cygwin/xfree/xc-4-binaries/
                  xfree86-4.0-DLLs.tar.bz2
                  xfree86-4.0-devel.tar.bz2
      
              NOTE: Your DISPLAY must be 127.0.0.1:0.0
                    Your PATH must include the DLL directory, /usr/X11R6/bin
      
              perl Makefile.PL x
      
          make
      
      I don't see any mention of ./configure in README.cygwin, which leads me to conclude that you should read README.cygwin again, so please do so.


      MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
      ** The Third rule of perl club is a statement of fact: pod is sexy.


        Well, OK
        That ./configure was a typo which I never meant to make! :p
        I have used perl Makefile.PL and its giving me errors.
        At least now, you should/would agree that Tk on cygwin
        can do without XFree86?
        I have also tried compiling Tk-800.024 for which patches are available and downloaded the tk-800.0.23 binary distro,
        but which unfortunately does not work with perl 5.8.0

        --
        arc_of_descent

Re: Re: Compiling perl/Tk on cygwin
by zby (Vicar) on Mar 07, 2003 at 13:39 UTC
    Tk can use native Windows GUI - so I find your post a bit disinforming.