Need Help with Linux "Make"

Discussion in 'Computer Programming, Emulation, and Game Modding' started by .Chris, Jan 25, 2013.

  1. .Chris
    OP

    .Chris Clueless

    Member
    2,197
    65
    Feb 20, 2009
    United States
    United States
  2. Ron

    Ron somehow a weeb now.

    Member
    2,840
    388
    Dec 10, 2009
    Canada
    here
    Code:
    cd
    to the directory with the makefile
    Code:
    make
    
    then
    Code:
    sudo make install
    
    Try that?
     
  3. .Chris
    OP

    .Chris Clueless

    Member
    2,197
    65
    Feb 20, 2009
    United States
    United States
    Err, that's the thing, I don't know where the makefile was placed in.>.<
     
  4. Ron

    Ron somehow a weeb now.

    Member
    2,840
    388
    Dec 10, 2009
    Canada
    here
    Where did you unpack the source?

    Just cd around, and use ls. It's a file that's called "makefile"
     
  5. .Chris
    OP

    .Chris Clueless

    Member
    2,197
    65
    Feb 20, 2009
    United States
    United States
    This is what I get:

    Code:
    chris@ubuntu:~$ ls
    Desktop    Games    PlayOnLinux's virtual drives  Ubuntu One
    Documents  Music    Public                        Videos
    Downloads  Pictures  Templates                    xf86-networktablet
    chris@ubuntu:~$ cd xf86-networktablet
    chris@ubuntu:~/xf86-networktablet$ ls
    LICENSE.md  Makefile  networktablet.c  networktablet.h  protocol.h  README.md
    chris@ubuntu:~/xf86-networktablet$
     
    
    And just run "makefile"?

    EDIT: I tried running makefile, this is what it came up with:
    Code:
    chris@ubuntu:/xf86-networktablet$ make
    libtool --mode=compile gcc -c `pkg-config --cflags xorg-server` networktablet.c
    /bin/sh: 1: pkg-config: not found
    libtool: compile: Failed to create `.libs'
    make: *** [networktablet.lo] Error 1
    chris@ubuntu:/xf86-networktablet$ 
    
     
  6. Ron

    Ron somehow a weeb now.

    Member
    2,840
    388
    Dec 10, 2009
    Canada
    here
    Easy fix
    Code:
    sudo apt-get intsall pkg-config
    
    then run
    Code:
    make
    
    again, as you did, in the xf86-networktablet folder.
     
  7. .Chris
    OP

    .Chris Clueless

    Member
    2,197
    65
    Feb 20, 2009
    United States
    United States
    Alrighty, it works now. Thanks again!