Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I have a box on CentOS 4.4, and everything is fine but my user requires httpd 2.0.54 exactly due to the strict limitation of Java's Policy Agent.
Anyway, so I setup to self-compile:
httpd 2.0.54
php 5.2.2
mysql 5.0.41
openssl 9.x (because i tested a few version)
on a test server.
I first compiled httpd with ssl but i kept getting error. silly me, i just went ahead and compile/install openssl 9.8, 9.7a and 9.7g (one at a time) but same problem persist. End up I realise there was a copy of openssl 9.7a in centos 4.4 already.
Q1: Is it possible for me to self-compile a copy of openssl and yet leave the rpm version in there?
That is because if i try to remove it (via yum), it will remove all the dependencies, which includes alot of software... no no.
But even though I compile and install to /usr/local/ssl, and during compilation of httpd i've pointed sslprefix to that particular directory, it still gives the same error... hence I was wondering, can rpms (openssl)and self-compilation (httpd) work hand in hand?
Everytime i type 'openssl' it always runs the rpm one.
Moving on, I try to install php with gd option, and naturally, i needed libpng - which seems to be already in the system. Again, another case of rpm (libpng) and php (self-compile)
Might be a good idea to learn how to write spec files and build RPMs. If you do this you can then use the package manager to install the packages, then use "exclude=" in /etc/yum.conf to prevent yum from updating the things you've installed yourself.
Would make administering the server a lot easier, and would satisfy the dependences.
You can also download the SRPMs for the versions that CentOS provides and perhaps modify them to fit your needs rather than writing spec files from scratch.
You may be interested in my page where I explain this exact issue: http://yves.gablin.club.fr/gablin.ph...ftware_install
If you have the knowledge, however, I would advise you to study the scripts instead of using them as is because, althouth they shouldn't do harm, I'm not sure they still do what they're supposed to do (Linux changes so fast).
hi there, i read your page and boy is it informative. seems like there are tools that help manage self-compiled softwares, but it does seem that managing it can ultimately be painful.
Pardon me though, but I don't seem to read about allow compiled software and packaged software to work together (php and httpd for example). I may have miss it or my understanding is not enough to realise its there....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.