LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   few problems (useradd, gDesklets) (https://www.linuxquestions.org/questions/slackware-14/few-problems-useradd-gdesklets-169191/)

pureevil4 04-12-2004 12:08 PM

few problems (useradd, gDesklets)
 
Hello,

im trying to install gDesklets and when i "configure" it it gives me this error

checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for perl... /usr/bin/perl
configure: error: XML::Parser perl module is required for intltool


i only know the perl that you install for apache or something

what other perl is there?

also when i type useradd username

it says command not found , same with adduser

:confused: :confused:

plz help, thx :newbie:

aaa 04-12-2004 12:11 PM

Make sure you run 'useradd' as root. And switch to root with 'su -', not just 'su'.

pureevil4 04-12-2004 12:14 PM

o ok, thanks :)

eheh how come some commands work on root and not on others?
like if i type kwrite in non root kwrite opens but in root it doesnt


aaa 04-12-2004 12:24 PM

For compile prob: Install LaTeX/tex (i think it's on the cd)
Some commands are for root only. You don't want anyone to come along and do 'mke2fs [your disk]' (formatting), for example. And you don't want anyone to come along and make a user for themselves.
Make sure you use 'su -' to switch to root. If you use just 'su', the PATH variable will not be set properly and the command will not be found. If the problem is not 'command not found' but 'cannot connect to display', you need to do this:
(as current user)
xhost +local:
su -
export DISPLAY=:0.0
kwrite

You need to run 'xhost' because X is only letting the current user use the gui. 'su' switches to root, the 'export' is for telling the gui programs which gui to use (0.0), and then you run kwrite.

pureevil4 04-12-2004 12:48 PM

thanks, the tex command worked on non root


sorry if my questions are too n00bish



well i searched a lil and fixed the XML problem thing

thanks alot :)

*afferoed*


All times are GMT -5. The time now is 07:38 PM.