Click to See Complete Forum and Search --> : Blackbox aterm


psyklops
02-03-2002, 10:35 PM
I ./configure, make, make install the aterm with no problem. However when I add it to the menu it and then try to load it, it fails to appear.
I
$which aterm
and it said that there was no aterm in my path. I unpacked it in the Blackbox dir so there shouldn't be a prob.

[begin] (PsyKlopsBox)
[exec] (xterm) {xterm -ls}
[exec] (rxvt) {rxvt}
[exec] (aterm) {aterm -ls}

[exec] (StarOffice) {soffice}
[exec] (XEmacs) {xemacs}
[exec] (Acroread) {acroread}

This is part of the menu file. Does anyone see a reason why the aterm wont work?

bdl
02-03-2002, 10:50 PM
What user are you logged in as? Is 'aterm' maybe installed in /usr/local/bin and is /usr/local/bin missing from your PATH?? Maybe your 'make install' failed and you didn't notice the errors?

psyklops
02-03-2002, 11:04 PM
NO errors were detected when I installed. /usr/share/Blackbox/aterm/ is where its located.

$PATH /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/home/psyklops/bin

Should I add an aterm command somplace?

[ 03 February 2002: Message edited by: psyklops ]

psyklops
02-03-2002, 11:12 PM
which xterm
/usr/X11R6/bin/xterm

for some reason the aterm command wasnt added to the /usr/X11R6/bin dir. WTF?

bdl
02-03-2002, 11:14 PM
I see what you did. You shouldnt put it under /usr/share/Blackbox, that's really only meant for the systemwide config files and such that Blackbox uses. When you compile some new app, you should use something like



$ ./configure --prefix=/usr/local



..which will put the new binary under /usr/local/bin and all it's own support files under /usr/local/lib, /usr/local/share, etc. What I would do in this position is go back into the aterm source directory (where you untarred and compiled the code) and do a 'make uninstall' or 'make deinstall' depending on which is used. Failing that, just go into /usr/share/Blackbox and delete the aterm files ONLY. It really won't hurt to leave them there if you want, just my opinion. Then go back into the aterm source directory, do a 'make clean' and then ./configure --prefix=/usr/local ; make && make install. Then just make sure /usr/local/bin is in your PATH (which I see it is).

I always install my own locally compiled software under /usr/local - it helps keep things you've compiled seperate from the system install binaries, makes things easier. I also go one step further and make sure I have a /usr/local/src directory, and keep the source in there in case I need to recompile a t a later date.

[ 03 February 2002: Message edited by: bdl ]

psyklops
02-03-2002, 11:42 PM
Hi thanks bdl

It seems that whenever I use the make deinstall and make uninstall I get the error: make *** no rule to make uninstall.

Do you know of a command which will remove a dir even if there are other dirs adn files inside of it (ex. aterm-0.4.2). The terminal wont allow me even if Im root because "there arre othere files and dirs inside of the aterm dir"... blah!

bdl
02-04-2002, 12:26 AM
Right. Sometimes there is no 'make unistall' or 'make deinstall' - you have to delete the dirs/files by hand. The command to delete (recursively) all files and dirs is rm -rf. USE THIS WITH CAUTION. If you should accidentally do a rm -rf / or rm -rf . you'll delete large amounts of your system before you can stop it. Always check your typing carefully when using that command, especially as root.

# rm -rf aterm-0.4.2

psyklops
02-04-2002, 03:22 AM
Well Ive been banging on it for the past couple of hours and it still wont appear in blackbox. I even do a which aterm and it fails to detect the path even though I unpacked it in /usr/local. The default install path (which was displayed while installing) was in /usr/local/bin/ but nothign is in the dir...
I hve no idea where it installed the command.
I dont really understand linux too well to begin with which doesnt help either.