LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   quik qustion (https://www.linuxquestions.org/questions/mandriva-30/quik-qustion-586651/)

mysticink 09-22-2007 07:06 PM

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:

xode 09-22-2007 07:20 PM

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.

mysticink 09-22-2007 09:14 PM

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

xode 09-23-2007 11:58 AM

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).

mysticink 09-23-2007 03:34 PM

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....

xode 09-23-2007 09:12 PM

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.


All times are GMT -5. The time now is 11:28 AM.