Need Help with Linux "Make"

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

Jan 25, 2013

Need Help with Linux "Make" by .Chris at 2:43 AM (579 Views / 0 Likes) 6 replies

  1. .Chris
    OP

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
  2. Ron

    Member Ron somehow a weeb now.

    Joined:
    Dec 10, 2009
    Messages:
    2,837
    Location:
    here
    Country:
    Canada
    Code:
    cd
    to the directory with the makefile
    Code:
    make
    
    then
    Code:
    sudo make install
    
    Try that?
     
  3. .Chris
    OP

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
    Err, that's the thing, I don't know where the makefile was placed in.>.<
     
  4. Ron

    Member Ron somehow a weeb now.

    Joined:
    Dec 10, 2009
    Messages:
    2,837
    Location:
    here
    Country:
    Canada
    Where did you unpack the source?

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

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    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

    Member Ron somehow a weeb now.

    Joined:
    Dec 10, 2009
    Messages:
    2,837
    Location:
    here
    Country:
    Canada
    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

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
    Alrighty, it works now. Thanks again!
     

Share This Page