SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
if you don't use a prefix, most packages default to /usr/local, which should be fine. Most distros install packages in /usr, so --prefix=/usr should be fine too. Don't use --prefix=/usr/local/xxx because then, the binaries will be installed in /usr/local/xxx/bin which is probably not in your $PATH.
I install most packages and sources to their default path. So I let it choose...
However, if I have a pre-compiled binary, or zip or something... like Firefox, or quake, or tux racer or ut2003, etc, I install them to /home/stevo/programs/xxxxx so I can keep them all together!
The Slackware convention has always been --prefix=/usr, however it is your system and can do as you like but you may have to alter some of the config during other installs if they look for everythign to be installed /usr rather than /usr/local. Installing to /usr/include is going to be decided by the app you are installing. /usr/include is part of the /usr hierarchy installing to include is necessary for some items. WHen you install a file from source typically you can get files installed in several different places. /usr/bin /usr/include /usr/lib ......
From what I have seen, the convention is:
/usr for stuff compiled to install on multiple systems (packages you download and stuff)
/usr/local for stuff compiled specifically for that computer
If the prefix you used is "/usr/local/openssl", then you will need to add "/usr/local/openssl/bin" to your path statement and add "/usr/local/openssl/lib" to /etc/ld.so.conf and then run 'ldconfig' (as root) to let the OS find the openssl libs...........
BTW, the official Slackware pkg uses the prefix "/usr" for openssl................
Originally posted by thegeekster ...you will need to add "/usr/local/openssl/bin" to your path statement and add "/usr/local/openssl/lib" to /etc/ld.so.conf and then run 'ldconfig' (as root)...
Ah! So that's how to get it to work, I was mucking around with symlinks and swearing far too much!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.