LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   saving a compiled folder for future installation as zip? (https://www.linuxquestions.org/questions/linux-newbie-8/saving-a-compiled-folder-for-future-installation-as-zip-201933/)

webazoid 07-06-2004 07:29 PM

saving a compiled folder for future installation as zip?
 
Hi,

I'm fairly new to linux and i just hate the compilation process, particular w/ glib/gtk and the long waits for programs to compile if there aren't pre-compiled packages. should i decide to format my computer and reinstall those files, would i be able to just burn the compiled folders to a cd, copy it to the new installation, and type: "make install" rather than have to start from scratch (./configure, make, make install)? thansk.

Tinkster 07-06-2004 07:57 PM

Knowing your distro would have helped making
a suggestion more specific to your needs ...

That said, give http://checkinstall.izto.org/ a closer
look. It can create packages for slackware, debian
and rpm-based distro's from your source compile.


Cheers,
Tink

kevinalm 07-06-2004 08:01 PM

It's theoretically possible, but you're asking for trouble. You would have to be sure to untar to the exact same directory in which it originally resided. All the packages it depends upon would have to be in place. It would be very easy to break things say by upgrading a library. ./configure usually does a lot of version checking and often arranges for condition compiling, ie what dependent stuff is found and where and what version. But to answer your question, yes you could, with qualifications.

Regards,
Kevin Alm


All times are GMT -5. The time now is 05:35 PM.