Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi everyone, having a problem with installing apache from source.
I did a base install of slackware 13 with no X for a test server.
Now when i download and extract apache i run the command "./configure --prefix=/home/httpd --enable-modules=so" i get the output 'Configuring Apache Portable Runtime Utility library...
checking for APR-util... reconfig
configure: error: Cannot use an external APR with the bundled APR-util"
even if i run --with-included-apr at the end of the command i get "checking for C compiler default output file name...
configure: error: in `/usr/local/src/httpd-2.2.11/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr"
I did install apache from the package instead in the end. I suppose i just wanted to jump in the deep end and learn how to install things from source rather going for the easy way out. I might uninstall and try again.
You guys might be shouting/tuting/shaking your heads at your screen thinking why are you doing that, if there's other software you may suggest for me to install from source rather than apache would be grateful for any suggestions.
By the way, the Slackware way is not to install from source, but to compile the code and make a package from it. Also true for most other distributions.
Installing from source is rather easy (configure && make && make install) and more or less the same in any distribution, correctly making a package needs a bit more. On Slackware it is easy using its packaging tools, but making correct packages for Debian or RedHat is more complicated.
If they want to show the correct way in their tutorials they would have to include tutorials for every distribution out there.
@TobiSGD. Suppose I guess when you know how. I downloaded slack dvd iso, logged into as root, partitioned the drives and then ran setup and followed the basic install. I havent loaded anything since yet. I have been advised to install most of d from slackware. I take that this is whats needed to install and compile from source?
Actually, if you are new to Slackware, it is recommended to do a full install, then you have all the dependencies, all that is needed to compile from source and all that is needed to make and install packages.
There are several good guides for making Slackware packages on the net, you should also read the SlackBook.
---------- Post added 14th Feb 2012 at 20:41 ----------
Actually, if you are new to Slackware, it is recommended to do a full install, then you have all the dependencies, all that is needed to compile from source and all that is needed to make and install packages.
There are several good guides for making Slackware packages on the net, you should also read the SlackBook.
So do your recommend I reinstall the OS or shall I try add the dependencies manually?
It's up to you but if I were you I'd go with the full installation. It's quicker and much more straight forward. It lets you focus on eg. configuring apache straight away.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.