LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   is it possible to compile source somewhere else & 'make install' at other place (https://www.linuxquestions.org/questions/linux-newbie-8/is-it-possible-to-compile-source-somewhere-else-and-make-install-at-other-place-940766/)

sumeet inani 04-19-2012 08:45 PM

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 ?

towheedm 04-19-2012 11:06 PM

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.

syg00 04-19-2012 11:30 PM

A keylogger on a work machine ?.
I was in the process of making a suggestion till I re-read that.

sumeet inani 04-20-2012 01:41 AM

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 .

pan64 04-20-2012 02:58 AM

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.


All times are GMT -5. The time now is 10:33 AM.