LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-19-2012, 08:45 PM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
is it possible to compile source somewhere else & 'make install' at other place


I successfully did './configure , make , make install' on extracted logkeys gzipped tarball at my home in my debian.
At my office I have red hat enterprise linux without subscription so no access to repository .
g++ ain't installed in it .
Can I copy the logkeys folder after issuing 'make' (at my home on debian) then do 'make install' on RHEL.
Is it that compilation is connected to assembly language of CPU which differs unless both processors are identical ?
My architecture(arch) at home is i686 . If that matches RHEL at office then will copying work ?

What do you suggest ?
 
Old 04-19-2012, 11:06 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
In a nutshell no. Basically the libraries in Debian and RHEL may have been built using different versions of gcc and/or glibc, amoung other. Also, the library paths may be different. What Debian may place in /lib RedHat may place in /lib/libexec.

Quote:
g++ ain't installed in it
This must be installed in the machine you're building on.

Quote:
What do you suggest ?
Subscribe to RHEL so you can install the necessary packages for building on it.
 
Old 04-19-2012, 11:30 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
A keylogger on a work machine ?.
I was in the process of making a suggestion till I re-read that.
 
Old 04-20-2012, 01:41 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
syg00 ,
Nothing malicious . Just I need a record of everything I type whether in terminal or any GUI. Nobody else is permitted to use my RHEL .
 
Old 04-20-2012, 02:58 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,837

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
maybe theoretically possible to install the dev environment on debian (similar to the RHEL) and run ./configure, make, make package and finally you will be able to install it on your RH.
 
  


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
Best way to install(compile from source)& resolve depndncies bhupinderjitbawa Linux - Software 2 04-11-2011 08:18 AM
Why PKGBUILD and not ./configure && make && make install? slkrover Arch 2 08-09-2010 03:04 AM
Compile Tk from source: make error diego_cn Linux - Software 5 04-11-2006 06:46 AM
Unable to compile (make, make install):need linux-headers smiley_lauf Linux - Newbie 3 01-31-2006 12:05 AM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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