Auto Clicking?

Discussion in 'Linux' started by matty.moo, Dec 13, 2008.

  1. matty.moo

    matty.moo

    Joined:
    Dec 13, 2008
    Messages:
    2
    Likes Received:
    0
    Hi all,

    apologies if this is a daft question, but I'm after downloading an 'auto clicker' for my AA1, and I've got pretty much no clue as to how to go about it. I've managed to enable the desktop menu, and I've found the add/remove software' link, but I've downloaded a program called 'xautoclick' from sourceforge.net and I'm not sure how to go about installing it. Apparently it needs compiling!

    Any help is much appreciated as I'm pretty new to the Linux scene, and want to replace windows forevermore.

    Matty.
     
    matty.moo, Dec 13, 2008
    #1
  2. matty.moo

    daldred

    Joined:
    Aug 25, 2008
    Messages:
    887
    Likes Received:
    0
    Compiling on Linux isn't as scary as it can sound - especially for something which looks relatively small like this! All you really need to get started is a set of the compilation tools; in a terminal do

    Code:
    sudo yum install make gcc-c++ 
    and the necessary bits & pieces will install themselves. That's just the manual way of doing what the Add/Remove software utility is doing - but if you know what you actually need, using the command line you're usually finished by the time the GUI tool would be ready for you to start!

    Then just follow the instructions at the bottom of the on the Autoclick webpage. It does refer to needing some libraries for the GUI options to install - if you get stuck with that aspect then ask again; it may just find what it needs on the AAO system, or you may need to install the libraries first. We'll see!
     
    daldred, Dec 13, 2008
    #2
  3. matty.moo

    matty.moo

    Joined:
    Dec 13, 2008
    Messages:
    2
    Likes Received:
    0
    Thanks David,

    After installing the c++ compiler and extracting the xauoclick archive, i ran the command './configure', and this is what i've ended up with:

    Code:
    [user@localhost xautoclick-0.20-src]$ ./configure
    Checking for c compiler ... gcc
    Checking for c++ compiler ... g++
    Checking for GNU Make ... yes, using make
    Checking for extra headers ... no
    Checking for extra libraries ... no
    Checking for gcc support of -MM option ... yes
    Checking for g++ support of -MM option ... yes
    Checking for inttypes.h ... yes
    Checking for unistd.h ... yes
    Checking for malloc.h ... yes
    Checking for X11 header presence ... not found (check if the dev(el) packages are installed
    Checking for X11 ... no
    Checking for XTest extension ... no
    No X11 found. Not building anything that depends on it
    
    Debug symbols disabled.
    All compiler warnings disabled.
    
    Cleaning up source tree ... done
    
    Generating config.mak ... done.
    
    aAutoClick    : no
    cAutoClick    : no
    gAutoClick    : no
    gAutoClick2   : no
    qtAutoClick   : no
    
    Installation to /usr/local
    
    None of the xautoclick applications can be build. You need to install the
    development packages of X11, GTK+ and/or QT. Check the documentation of
    your distribution for details.
    
    user@localhost xautoclick-0.20-src]$ 
    I guess this means I need the X11 development packages?

    Matty.
     
    matty.moo, Dec 13, 2008
    #3
  4. matty.moo

    daldred

    Joined:
    Aug 25, 2008
    Messages:
    887
    Likes Received:
    0
    Looks like it!

    The package you need is probably called libX11-devel or something very similar to that.
     
    daldred, Dec 14, 2008
    #4
  5. matty.moo

    checksix

    Joined:
    Nov 16, 2008
    Messages:
    21
    Likes Received:
    0
    For compiling X11 programs you'll need:

    Code:
    sudo yum install libX11-devel.i386
     
    checksix, Dec 14, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.