You are not logged in.

#1 2008-08-27 23:12:23

VuDu
Member
Registered: 2007-05-11
Posts: 95

GTKlxsplit's makefile wiped my /usr/local/bin/

Alright, right now I'm feeling stupid and raped. mad but hey! At least I have a funny story to tell cool

One trusts, that someone that can make a gtk front-end for a terminal application can also make a simple makefile.
It doesn't seem to be the case.

I have some .001 .002... files and since with cat we need to find, then sort, then cat it, I decided to try lxsplit and it's simple gtk gui smile
Well, no configure file... that's ok since the application seems to be really simple.
make is only one line and returns ok. The binary file on the current folder seems to work, so let's make install it! No error, only one line, that's ok for me... let's try running it.

gtk<tab>... nothing. gtklx<tab>... still nothing. hmm

Let's see where make install put it:

# make install
cp -f gtklxsplit /usr/local/bin
#

Ok maybe /usr/local/bin isn't in $PATH... wait a minute, /usr/local/bin?!!!! yikes
Ok, just great, now I have a bin file on /usr/local instead of a bin folder!

Ok, make uninstall then edit Makefile: /usr/local/bin to /usr/bin/
Now make and make install.
gtklx<tab>... gtklxsplit! nice smile program runs fine... join... select file... "join" -> Segmentation fault! cool

Ok, useless... make uninstall.

some seconds later... wtf: yao<tab>... nothing!

ls /usr/bin
ls: cannot access /usr/bin: No such file or directory

Ok, just won the lottery! big_smile
I just have to find a way to commemorate! I still have firefox, pidgin, xterm and pcmanfm running until I close them smile It's gonna be a hell of a party!

Last edited by VuDu (2008-08-27 23:25:23)

Offline

Board footer

Powered by FluxBB