LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hello:

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
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

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>/ :
http://www.linuxquestions.org/questi...1-a-766486/#13


Please read ...
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html
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.)


-
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:32 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