If you've been directed to "make uninstall", then you will need to be in the same location as where the executable was built (since this location also has the makefile). Unfortunately, that's not necessarily going to do what you want, since you may have overridden the default options provided in the makefile; unless you have a log from the original make, you may have to remove things bit by bit. One possible help: if you have /var/adm/packages on your system, check to see if there is a file with the name of the package that you wish to uninstall. If so, view that file, and you should find a list of directories and files that the package uses. NOTE: don't automatically remove any directories unless they are used only by the utility you wish to uninstall. For example, on my system, I have an entry for zlib in /var/adm/packages:
zlib-1.1.4-i386-1
When I look at this file, I find:
PACKAGE NAME: zlib-1.1.4-i386-1
COMPRESSED PACKAGE SIZE: 76 K
UNCOMPRESSED PACKAGE SIZE: 220 K
PACKAGE LOCATION: /cdrom/slackware/l/zlib-1.1.4-i386-1.tgz
PACKAGE DESCRIPTION:
zlib: zlib (compression library)
zlib:
zlib: zlib is a general purpose thread safe data compression library. The
zlib: data format used by the zlib library is described by RFCs 1950 to
zlib: 1952 in the files
ftp://ds.internic.net/rfc/rfc1950.txt (zlib format)
zlib: rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
zlib:
zlib:
zlib:
zlib:
zlib:
FILE LIST:
./
install/
install/slack-desc
install/doinst.sh
usr/
usr/doc/
usr/doc/zlib-1.1.4/
usr/doc/zlib-1.1.4/ChangeLog
usr/doc/zlib-1.1.4/FAQ
usr/doc/zlib-1.1.4/INDEX
usr/doc/zlib-1.1.4/README
usr/include/
usr/include/zconf.h
usr/include/zlib.h
usr/lib/
usr/lib/libz.a
usr/lib/libz.so.1.1.4
I wouldn't want to remove /usr or /usr/doc or /usr/include or /usr/lib, but anything specific to zlib would be likely to go
(e.g., /usr/doc/zlib-1.1.4 and all related files, /usr/include/zconf.h, /usr/include/zlib.h, etc.).
Hope this helps.