LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-11-2007, 05:22 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Mixing RPMs and self-compiled application


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)

possible?

thanks for your attention!
 
Old 05-12-2007, 10:49 AM   #2
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
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.
 
Old 05-14-2007, 02:50 AM   #3
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
is it possible to install, for example,

a self-compiled version of apache
and a rpm-installation of php?

what do i need to do to ensure they will link up?
 
Old 05-14-2007, 04:48 AM   #4
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
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).

Yves.
 
Old 06-20-2007, 04:23 AM   #5
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
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....

thanks guys for the guidance so far
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What Application for Compiled HTML bdprem Linux - Software 6 02-07-2007 08:07 AM
Application to find which modules have been compiled into a kernel image irfanhab Linux - General 3 11-24-2006 10:59 AM
What application does FC3 use for handling RPMS? DesyphER Linux - Software 4 02-28-2005 03:54 PM
GUI based application for Installing RPMs for Red Hat Linux 9? AskMe Linux - Software 3 07-29-2004 07:16 AM
Updating a compiled application? gitarted Linux - Newbie 1 09-08-2003 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration