how to compile source and install new program
-
- Posts: 7
- Joined: Sat 30 Aug 2008, 13:32
how to compile source and install new program
hi
i am new to puppy linux. i have experience with fedora and other destros. i like puppy very much. i want to compile wine and monit in puppy but i could not find any glibc or gcc
how can i compile a source and install it ?
please guide me or some link??
thanks
amrish
i am new to puppy linux. i have experience with fedora and other destros. i like puppy very much. i want to compile wine and monit in puppy but i could not find any glibc or gcc
how can i compile a source and install it ?
please guide me or some link??
thanks
amrish
you need to go to puppy's ibiblio.org distro site and download the correct devx file. If you have puppy 4.00, then the file you need is devx_400.sfs, located in the sfs-modules_4 folder (or sommat), but if you have puppy 3.01, then you need devx_301.sfs
Then, are you running off of live media (like cd) or did you do an install? What kind of install?
Then, are you running off of live media (like cd) or did you do an install? What kind of install?
-
- Posts: 7
- Joined: Sat 30 Aug 2008, 13:32
Amrish,
as Polymath mentioned, you need to download the development .sfs file for whichever puppy version you're using. If you're running puppy from a CD, or a frugal hard disk install, the file needs to be copied to /mnt/home, and should be mounted when you next reboot. If you enter gcc in a console & get the response no input files, then you have a working compiler.
If you have a full hard disk install, then refer to the bottom of this page
as Polymath mentioned, you need to download the development .sfs file for whichever puppy version you're using. If you're running puppy from a CD, or a frugal hard disk install, the file needs to be copied to /mnt/home, and should be mounted when you next reboot. If you enter gcc in a console & get the response no input files, then you have a working compiler.
If you have a full hard disk install, then refer to the bottom of this page
-
- Posts: 7
- Joined: Sat 30 Aug 2008, 13:32
Latest devx file:
http://distro.ibiblio.org/pub/linux/dis ... vx_400.sfs
Right click it and "save target as". Put it in /mnt/home (same directory as your save file).
More on compiling from the Wiki:
http://distro.ibiblio.org/pub/linux/dis ... vx_400.sfs
I would be more careful when reading replies to your posts though becasue so far, every post you have made has asked a question that was answered in the post before it. (Ex: Muggins told you how to install the devx module and posted a link for a full HDD install guide and then you asked for a link to a guide on how to install it.)
http://distro.ibiblio.org/pub/linux/dis ... vx_400.sfs
Right click it and "save target as". Put it in /mnt/home (same directory as your save file).
More on compiling from the Wiki:
http://distro.ibiblio.org/pub/linux/dis ... vx_400.sfs
I would be more careful when reading replies to your posts though becasue so far, every post you have made has asked a question that was answered in the post before it. (Ex: Muggins told you how to install the devx module and posted a link for a full HDD install guide and then you asked for a link to a guide on how to install it.)
[img]http://img385.imageshack.us/img385/3843/magussigbc0.jpg[/img]
- countjocular
- Posts: 2
- Joined: Wed 01 Oct 2008, 13:02
- Location: Cambridge,UK
Hello chaps and chapesses,
Like amrishpurohit, I'm a puppy noob who's trying to setup a compile environment so I can install software from source (in my case I want to install Ruby).
I've followed the excellent instructions in this thread, but no cigar so far. Here's what I did specifically:
I have a full HDD install of Puppy 4 (actually Buddapup Dingo)
My save file is in / (heck knows why, but there you are)
I've downloaded devx_400.sfs and saved it in /
I used BootManager to tell Puppy to load devx_400.sfs on boot
I rebooted
I downloaded the sourceball of Ruby, and untarred it to /home/installs/ruby-1.8.7-p72
I cd'd to that directory in a terminal
I ran ./configure
I still get the error:
Anybody able to spot what I'm doing wrong? (Do I need to add / to my path? If so, how does one go about doing so?) I'll happily attach my config.log if it'll help, but it's a bit long so I've refrained from doing so right away.
Like amrishpurohit, I'm a puppy noob who's trying to setup a compile environment so I can install software from source (in my case I want to install Ruby).
I've followed the excellent instructions in this thread, but no cigar so far. Here's what I did specifically:
I have a full HDD install of Puppy 4 (actually Buddapup Dingo)
My save file is in / (heck knows why, but there you are)
I've downloaded devx_400.sfs and saved it in /
I used BootManager to tell Puppy to load devx_400.sfs on boot
I rebooted
I downloaded the sourceball of Ruby, and untarred it to /home/installs/ruby-1.8.7-p72
I cd'd to that directory in a terminal
I ran ./configure
I still get the error:
Code: Select all
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
^^http://www.puppylinux.com/development/compileapps.htm
Check out the section for instructions setting up a compiling environment under full hdd install.
Check out the section for instructions setting up a compiling environment under full hdd install.
- countjocular
- Posts: 2
- Joined: Wed 01 Oct 2008, 13:02
- Location: Cambridge,UK
You, Mr alcy, are a beautiful, wonderful man. Or possibly a beautiful, wonderful woman.
Following the steps in that link got me a shell that responds to
in less time than it takes to tell you about it.
Why on earth I didn't find that page when I first looked for a solution I just don't know, but anyway - you da man. Or da woman.
Following the steps in that link got me a shell that responds to
Code: Select all
ruby -v
Why on earth I didn't find that page when I first looked for a solution I just don't know, but anyway - you da man. Or da woman.
I have a full HDD install of Puppy 4 (actually Buddapup Dingo)
My save file is in / (heck knows why, but there you are)
I've downloaded devx_400.sfs and saved it in /
Just thought I should point out: a full install does not use a save file, a frugal install does. Your save file will be in /mnt/home if it loaded properly. I am not sure why yours would be in /, but based on your other descriptions I would wager a guess that you have a frugal install rather than a full install. Hope that point of clarification helps.
[img]http://img385.imageshack.us/img385/3843/magussigbc0.jpg[/img]
frugal + dvx 4 sfs, but no gcc
I downloaded the dvx 4 sfs file to /mnt/home and rebooted. Then in a console, I typed gcc and got bash: gcc: no such command.
What can I do to check this out?
Thanks
Steve
What can I do to check this out?
Thanks
Steve
Some more information would be helpful.
Do you have a save file? One is needed for SFS files to be loaded. Check the boot manager (under the settings tab in the start menu) and check to make sure that the module is set to be loaded. puppy 400 needs devx_400.sfs, while puppy 401 would need devx_401.sfs. You can simply rename it as well. Other option is to uncheck the box at the bottom of the selection screen that says something like "Ignore above user selection and add only those with 4xx in their name.", where XX is your version number.
Do you have a save file? One is needed for SFS files to be loaded. Check the boot manager (under the settings tab in the start menu) and check to make sure that the module is set to be loaded. puppy 400 needs devx_400.sfs, while puppy 401 would need devx_401.sfs. You can simply rename it as well. Other option is to uncheck the box at the bottom of the selection screen that says something like "Ignore above user selection and add only those with 4xx in their name.", where XX is your version number.
[img]http://img385.imageshack.us/img385/3843/magussigbc0.jpg[/img]
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Re: frugal + dvx 4 sfs, but no gcc
You have to select the devx sfs in the bootmanager before it will be recognized at boot.stevesr0 wrote:I downloaded the dvx 4 sfs file to /mnt/home and rebooted. Then in a console, I typed gcc and got bash: gcc: no such command.
What can I do to check this out?
Thanks
Steve
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Well, the gcc command produced the correct response.
Then, I reattemped my install of adobe flashplayer 9 and it went smoothly without the previous error about the absence of glibc.
Thanks.
(Unfortunately, the installed flashplayer is still not found when I try to use it in firefox, but I have already posted this in another thread).
Steve
Then, I reattemped my install of adobe flashplayer 9 and it went smoothly without the previous error about the absence of glibc.
Thanks.
(Unfortunately, the installed flashplayer is still not found when I try to use it in firefox, but I have already posted this in another thread).
Steve
-
- Posts: 10
- Joined: Wed 08 Oct 2008, 09:08
Full Install and No Save FIle
What do you do If you have a full install? I do full installs to the HDDs of my computers and use GRUB.
I tried the /mnt/home, opened the boot loader and it says it does not recognize any SFSs. I am using puppy 4.1 and downloaded the devx 410.
Thanks!
I tried the /mnt/home, opened the boot loader and it says it does not recognize any SFSs. I am using puppy 4.1 and downloaded the devx 410.
Thanks!
@JPLagard :
http://www.puppylinux.com/development/compileapps.htm
Look at the section titled Type 2 Full HDD install
@daniela132:
In VWware, you can rout flash drives to the virtual machine or create hard drives. Either of these options with a save file on them should allow you to follow these directions.
http://www.puppylinux.com/development/compileapps.htm
Look at the section titled Type 2 Full HDD install
@daniela132:
In VWware, you can rout flash drives to the virtual machine or create hard drives. Either of these options with a save file on them should allow you to follow these directions.
[img]http://img385.imageshack.us/img385/3843/magussigbc0.jpg[/img]
Volsung,
I followed those directions in the link.
Currently i have an open office sfs as well as the devx 410 in the mnt/home directory and nothing happens. Regardless I did try the directions in that link doing everything in the /mnt/home rather than /mnt/hda2 but I didn't work.
Thanks for your help!
JP
I followed those directions in the link.
The problem is that I don't seen an hda2. Upon starting Linux my hard drive is already mounted and its sda1. When i click on the drive icon it shows /mnt/home. If I go up a level to /mnt I don't see any folders referring to drives, only for my USB stick which is sdb1.mount the partition that Puppy is installed to (say /mnt/hda2).
2. Copy devx_2xx.sfs to /mnt/hda2/tmp.
3. # cd /mnt/hda2/tmp
4. # losetup /dev/loop2 devx_2xx.sfs
5. # mkdir mntpt
5. # mount -t squashfs /dev/loop2 mntpt
Currently i have an open office sfs as well as the devx 410 in the mnt/home directory and nothing happens. Regardless I did try the directions in that link doing everything in the /mnt/home rather than /mnt/hda2 but I didn't work.
Thanks for your help!
JP