Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-17-2015, 04:10 PM   #1
LQ Newbie
Registered: Aug 2015
Posts: 25

Rep: Reputation: Disabled
Compile from source into a *.rpm


I'm compiling openssl from source -- having no problems doing that on my dev box. However, my production machines don't have some of the prerequisites to compile on each and every one of them. Nor will they; I'm not going to load a bunch of otherwise unnecessary software on production machines just to compile some software.

What I want to do is take the compiled program from my dev box and install it on the production machines. I've looked through the openssl readme and I didn't see anything in there about a switch or argument or something which could be provided to make or make install. It would be really great if what happens in make could create a rpm or something.

Does the forum have any ideas? How can I compile on one machine and then install that program on another machine? I do this in windows all the time... I build in Visual Studio, create a *.exe on the dev box, and then take that *.exe (over the network or on a DVD) to production boxes.

Thanks for any assistance!
Old 09-17-2015, 04:31 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can create rpm packages from SRC RPMS.
Just edit the file openssl.spec to your requirements.

Setting up the rpmbuild environment in your /home/<name>/ :

Please read ...
I.e. some more information is required when you ask a question :
OS name and version, and of course the version of the software (openssl).
( There may be a "Source RPM" for your openssl version.)



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
[SOLVED] Not able to compile the source rpm file smilemukul Linux - Newbie 6 10-23-2010 12:23 PM
Musicbrainz Picard rpm for opensuse 10.3: I'm unable to compile by its source... pepeq Linux - Software 2 11-05-2007 07:48 PM
compile apache source rpm with mod rewrite robertngo Linux - Software 3 07-21-2005 03:44 AM
need compilers, other stuff to dl, compile from source or rpm binaries - Mandrake 9.1 Kristal Mandriva 6 09-02-2003 10:03 PM
Installing using both RPM and compile from source Silly22 Linux - Newbie 1 07-24-2003 04:53 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 PM.

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