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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-21-2009, 12:08 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17
Rep:
|
How to compile from live a CD onto an existing installation
I have a minimalinux installation that I'm trying to make into a basic webserver. This distribution doesn't come with an ide or anything so I have to insert a LiveCD with a build environment and compile it onto the hard drive.
I'm looking for somewhere/one that can give me some advise on how to do this. I've googled around, but I can't find anything useful...Thanks
|
|
|
02-21-2009, 01:24 PM
|
#2
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
You are probably better off cross compiling it on another machine and then just copying the binary over to the hard drive.
|
|
|
02-21-2009, 08:15 PM
|
#3
|
LQ Newbie
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by lazlow
You are probably better off cross compiling it on another machine and then just copying the binary over to the hard drive.
|
If I compile it one one computer, how can I ensure that I copy everything that I need to install it on another computer?
|
|
|
02-21-2009, 08:45 PM
|
#4
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by NEELIX_USR
If I compile it one one computer, how can I ensure that I copy everything that I need to install it on another computer?
|
just compile it inside of a directory, you can just do ./configure root=/somedirectory and then copy the directory to the machine
|
|
|
02-21-2009, 09:11 PM
|
#5
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
and this one for the kernel-source the devel sfs you down laod the iso.image. and burn it to cd. now take another cd and burn the two other files on to it.. Now boot puppy and after he is booted pull the disk out. and insert the other now just open the cdrom and click on the to files . now you have a complete live system
Quote:
You will see the defference in the kernel src-2.6.25.15- and the /puppy-4.1.2-k2.6.25.16 this is a typeo on the file it is the correct kerenel trust me this has been a laugh and only the few know this.
|
It actually is any way if you can get and image of puppy linux on hard hardrive and put those two files on somrehow it would work. if you use a usb then have your friend install it on a usbdrive then boot the usbdrive.
Last edited by Drakeo; 02-21-2009 at 09:19 PM.
|
|
|
02-21-2009, 09:17 PM
|
#6
|
LQ Newbie
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by AceofSpades19
just compile it inside of a directory, you can just do ./configure root=/somedirectory and then copy the directory to the machine
|
It's that easy? Just use the --prefix=/some/dir and then copy it to another dir?
What if the source creates a library in another dir?
|
|
|
02-21-2009, 09:25 PM
|
#7
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
you need to go to the puppylinux forums and read up. it is simple.
|
|
|
02-22-2009, 01:53 AM
|
#8
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by NEELIX_USR
It's that easy? Just use the --prefix=/some/dir and then copy it to another dir?
What if the source creates a library in another dir?
|
It won't because it thinks /some/dir is the root directory so it just makes directories in that one
|
|
|
02-22-2009, 09:26 PM
|
#9
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
a minumal system is about 10 mb or less. take an image from your remasterd live cd and dd if=/your image of=/your/harddrive. no compile just an image of that node your trying to build. then yeap your server is bootable and ready to boot.
build the image and move it.
|
|
|
All times are GMT -5. The time now is 01:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|