LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-22-2007, 07:06 PM   #1
mysticink
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Rep: Reputation: 0
quik qustion


i am not shure how to ask, im trying the install my genius table from the terminal as root what do i enter to change the diret so i can install the driver..thanks so much here is what im doing..


Download WizardPen driver: http://eva.fit.vutbr.cz/~xhorak28/wi...r-0.0.4.tar.gz
2. Unpack WizardPen driver:
tar -vxzf wizardpen-driver-0.0.X.tar.gz
3. change to wizardpen-driver-0.0.X directory and run xmkmf command to create driver Makefile
cd wizardpen-driver-0.0.X
xmkmf
4. edit config.h file
5. run make and make install
make
make install
6. append to /etc/X11/XF86Config or /etc/X11/xorg.conf following section:
 
Old 09-22-2007, 07:20 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 626
Blog Entries: 1

Rep: Reputation: 50
I'm guessing that you are asking how to become the root user. From any terminal shell: "su -l root" (without the quotes) and then enter root's password. By the way, you can (and should) do all of the above operation as a regular user (i.e. not root) in a working directory under that regular user's home directory. The only thing that you should do as root is install (i.e. copy) the program after everything else (e.g. the compile) succeeds.
 
Old 09-22-2007, 09:14 PM   #3
mysticink
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Original Poster
Rep: Reputation: 0
this is where i am having a problem..i dont understand how to typ this in the terminal..Im trying here and im tryin not to get on peopls nerves so thank you ...



change to wizardpen-driver-0.X.X directory and run xmkmf command to create driver Makefile
cd wizardpen-driver-0.X.X
xmkmf
 
Old 09-23-2007, 11:58 AM   #4
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 626
Blog Entries: 1

Rep: Reputation: 50
I'm guessing that you are using the KDE graphical interface under mandriva. To get a terminal shell open on the wizardpen-driver-0.X.X directory, open up a file manager window and navigate that file manager window to the wizardpen-driver-0.X.X directory. Then, from the file manager's top menu bar, go to tools, open terminal and a terminal window should appear with the wizardpen-driver-0.X.X directory as its working directory. This is what "they" mean by "change to wizardpen-driver-0.X.X directory and run xmkmf command to create driver Makefile
cd wizardpen-driver-0.X.X"

Then, once that terminal shell is open, type "xmkmf" at the terminal prompt, followed by all of the rest of the commands there. Again, you can and want to do all of this as a regular linux user (i.e. not root).

Last edited by xode; 09-23-2007 at 12:08 PM.
 
Old 09-23-2007, 03:34 PM   #5
mysticink
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Original Poster
Rep: Reputation: 0
this is what i get when i run the command,im doing somthing wrong...


[jody@localhost wizardpen-driver-0.0.4]$ xmkmfMakefile
bash: xmkmfMakefile: command not found
[jody@localhost wizardpen-driver-0.0.4]$ cd wizardpen-driver-0.X.X
bash: cd: wizardpen-driver-0.X.X: No such file or directory
[jody@localhost wizardpen-driver-0.0.4]$ xmkmf



thanks for the help xode....

ye im using kde on mandriva 2007....
 
Old 09-23-2007, 09:12 PM   #6
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 626
Blog Entries: 1

Rep: Reputation: 50
Quote:
[jody@localhost wizardpen-driver-0.0.4]$ xmkmfMakefile
Two things here. First, is wizardpen-driver-0.0.4 really the directory that you want to do your work in (as opposed to wizardpen-driver-0.X.X)? If it is, you are already in the directory that you want to be in and don't need to "cd" anywhere. The last directory of the pathname that is the terminal's current working directory is shown as part of the terminal shell prompt, which is
Code:
[jody@localhost wizardpen-driver-0.0.4]$
in your case. Second, xmkmf is the command and Makefile is an argument (i.e. data) to that command. Commands and arguments all need to be separated from each other by at least one space character, which you didn't do. Consequently, the terminal shell (i.e. bash) thought that you were giving it a command of "xmkmfMakefile," which doesn't exist on your system and therefore responded with
Code:
bash: xmkmfMakefile: command not found.
The correct command in this instance would be
Code:
[jody@localhost wizardpen-driver-0.0.4]$ xmkmf Makefile
Quote:
[jody@localhost wizardpen-driver-0.0.4]$ cd wizardpen-driver-0.X.X
bash: cd: wizardpen-driver-0.X.X: No such file or directory
This might not be necessary given the above.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
quik booting 2.6 kernel and initramfs risu Linux - Kernel 0 09-16-2006 05:00 PM
2 Quik Kernel Build Questions NightSky Slackware 2 01-02-2006 08:28 PM
Quik SSH question rjkfsm Linux - Newbie 7 04-14-2005 11:40 AM
Quik Question? Darkness-Inc Linux - Newbie 2 04-21-2004 10:49 AM
MandrakePPC linux + quik + initrd Jon- Linux - Software 0 10-25-2002 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration