Need Help with Linux "Make"

.Chris

Clueless
OP
Member
Joined
Feb 20, 2009
Messages
2,195
Trophies
1
Location
United States
XP
809
Country
United States
Where did you unpack the source?

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

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$
 

chyyran

somehow a weeb now.
Developer
Joined
Dec 10, 2009
Messages
2,845
Trophies
1
Location
here
Website
ronnchyran.com
XP
1,076
Country
Canada
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$

Easy fix
Code:
sudo apt-get intsall pkg-config

then run
Code:
make
again, as you did, in the xf86-networktablet folder.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power