You are still not understanding... where you compile sources has nothing to do with where they get installed. And where a pre-made package is located also has nothing to do with where it gets installed to.
A pre-made package already contains the directory structure of where it will install to when you run installpkg. This is nearly always with prefix=/usr, which means that the binaries will install to /usr/bin, shared files will be installed to /usr/share, man-pages to /usr/man... etc. When you compile sources they will usually install to /usr/local (bin, share, man etc) unless you pass another prefix option to configure. Sources don't get installed anywhere until you give the 'make install' command. If you are installing software this way you should really use the default --prefix=/usr/local since this will keep them separated from *packaged* software which is usually in /usr. Installing from source will not make the software show up in pkgtool. Keeping them separate in /usr/local makes it easier to see what you have installed that way. And the only way to uninstall such software is by running 'make uninstall' in the original sources, which means you shouldn't delete or move them. This really not a very good way to keep track of software.
When you use installpkg to install a pre-made package, the package can be located anywhere -even on a read-only CD. installpkg uncompresses the package to the right place and creates an entry in the package database, so you can easily remove or upgrade the package using pkgtool(installpkg, upgradepkg or removepkg.
If you want or need to install something that must be compiled first, you really ought to use something like my 'src2pkg' program which will create a proper slackware-compatible installable package for you from the compiled sources. Making a proper package is not really easy. The location where you unpack and compile the sources is not the same as where it will be installed. You can, in theory, unpack and compile sources anywhere on your system, but there are really only a few places where you *should* do it. The first place is in your $HOME directory -especially if your are manually compiling and installing using 'make install'. If you are compiling sources and then creating installable package from that, you probably should do that while logged in as 'root' and unpack/compile them in a separate directory under /usr/src or in /tmp, or on some partition where you have space -especially if you are going to do several packages.
You really ought to try using src2pkg as it will 'just do it' in the right way ad without clogging up your $HOME or trashing your system ('make install' can cause a lot of havoc if you don'Ät know what you are doing.
If you want to try it, just download the src2pkg package to your $HOME directory or anywhere else, then cd into the directory where it is located and run:
'installpkg src2pkg*.tgz'.
The to use it, just cd into the directory where the source tarball you want to compile is located and run: 'src2pkg name-of-tarball'. By default src2pkg will unpack and compile the sources uner /tmp and create the final installable package there as well. To install the package, just cd into /tmp,find the finished package and install t to your system using 'installpkg name-of-package.tgz'. Or you can have src2pkg install it for you by using the '-I' option (src2pkg -I name-of-tarball'.
You can get the latest installable package of src2pkg here:
http://distro.ibiblio.org/pub/linux/...kg-1.6.tar.bz2
You can search the forum here for 'src2pkg' to find out more about the program and what many other slackers think of it.