Results 1 to 3 of 3

Thread: Tk-804.027, Device-SerialPort-1.002 and ubuntu

  1. #1
    Join Date
    Oct 2007
    Beans
    42

    Tk-804.027, Device-SerialPort-1.002 and ubuntu

    Dear pals,
    I was installing Perl/Tk-804.027 just now. I had an error: /usr/include/X11/Xlib.h:52:23: error: sys/types.h: No such file or directory.

    I had been installing Device-SerialPort-1.002.tar.gz, a CPAN module of PERL, onto my ubuntu machine.
    I got an error message that " C compiler cannot create executables".


    Could anyone enlighten me by telling me what has gone wrong and how to get the modules running?
    regards

  2. #2
    Join Date
    Jun 2007
    Beans
    538

    Re: Tk-804.027, Device-SerialPort-1.002 and ubuntu

    Your compiler setup was not complete, or is since corrupted.
    Try to correct it
    Code:
    sudo apt-get install build-essential
    NOTE: also when you post a subject, please keep followup posts within
    the same thread. You might have just posted "bump" in this thread
    rather than start http://ubuntuforums.org/showthread.php?t=571041

    Gerald

  3. #3
    Join Date
    Oct 2007
    Beans
    42

    Re: Tk-804.027, Device-SerialPort-1.002 and ubuntu

    Thank you for your advice.

    Finally I solved the puzzle of installing Tk onto Ubuntu. I tried everything I could think of; download from CPAN, download from Perl/tk
    and......

    Finally I used apt-get TK. These were the magic words one must use.
    Duuchung

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •