-   Puppy (
-   -   Can't install GNU C Compiler (

den_. 04-01-2010 11:37 AM

Can't install GNU C Compiler
Hi, I have a problem installing the GNU C Compiler in Puppy 431, have followed the instructions on 'Barrys Developer Site'->developer section ->how to compile applications (for a hard drive installation). I have downloaded the file 'devx_431.sfs' but when I follow the instructions I get the following error: 'cp: target `/mnt/hda2/' is not a directory'.

My setup:
Windows XP (sda1)+ Puppy 4.3.1 dual boot with Grub
Small FAT 32 partition (sda5)
512 MB linux swap partition
ext 3 partition for Puppy 4.3.1 (sda7)

I have noticed that the installation instructions and the error message from the terminal refer to 'hda2'? Grub would see the partition in this way and it is causing me a bit of confusion, or am I (no pun intended) barking up the wrong tree?

Instructions that I am following:

1. Click on the devx_xxx.sfs in a ROX-Filer window to mount it.
2. Open a terminal in the mounted directory.
3. # cp -a --remove-destination ./* /mnt/hda2/
4. # sync
5. Close the terminal.
6. Click on the devx_xxx.sfs file to unmount it

On step 2. I have used 'cd /mnt' to change to the mounted directory.
On step 3. I get the error, I presume nothing else gets done.

Any help or advice is appreciated

thanks in advance


towy71 04-01-2010 01:09 PM

I'm not familiar with Puppy but if you boot into puppy and bring up a terminal and type

fdisk -l
and post the result back here we can help you ;-)

den_. 04-01-2010 01:12 PM

Thanks for answering so quickly.

Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5903 47415816 7 HPFS/NTFS
/dev/sda2 5904 9729 30732345 f W95 Ext'd (LBA)
/dev/sda5 5904 8388 19960731 b W95 FAT32
/dev/sda6 8389 8454 530113+ 82 Linux swap / Solaris
/dev/sda7 8455 9729 10241406 83 Linux


towy71 04-01-2010 01:27 PM

den_. I think I have jumped in rather quickly and not knowing behind from elbow I am pointing you in the wrong direction :o

I am just running puppy for the first time in ages and need a little time to investigate further

den_. 04-01-2010 01:46 PM

No worries my friend, I am really grateful for your help. I have only just got started with Linux and it seems that the bug has really bitten me! I have been messing around with computers since the early 80's, CBM 64 C16 +4 then (Amiga 1200 hated windows then :-)). I did get involved with Windows in a big way for quite some years now. So it seems I have gone full circle and I would like to learn more about Linux. I have a good beginners book on shell scripting and I need the Compiler up and running to explore installing software and perhaps writing programs. Didn't mean to waffle so much, thanks again for your help.


towy71 04-01-2010 02:57 PM

You need to actually install puppy to it's own partition for your original commands to work! Have you thought about using a different version of Linux?
I would recommend you try ubuntu, mandriva or opensuse, much easier to install all the necessary things for programming.

knudfl 04-01-2010 03:14 PM

I guess, this is still valid :
Please see the last chapter, "C/C++ compiling"

Puppy has a very simple system for converting into a complete compiler
environment, in which you can run the usual "configure", "make" and
"make install" on a downloaded source package. At least, it's very
simple in the case of running Puppy from live-CD: see web page
Puppy on a CD.

den_. 04-02-2010 01:45 PM

Thanks towy71, I take it that means a single installation of Puppy 4.3.1 to a hard drive? The only problem is that I need to have a dual boot setup with Windows XP. In step 6 of the installation instructions (6. # cp -a --remove-destination ./* /mnt/hda2/) do you know what/where 'hda2/' points to? Would it be: hda0 (puppy) hda1 (swap file) hda2 (devx_431.sfs files) I assume that all the files in the devx_431 package are being copied to a location on the hard disk, do you know if that is correct?

I have Ubuntu installed on an Intel based machine again dual boot with Windows, very happy with it but this machine is mainly for the family so I would like a small Linux distro installed dual boot with Windows on my AMD based machine because I do a lot of work on it to do with Windows and the Linux distro is there for me to go online without the constant hassle of virus updates etc and to experiment with.

Thanks in advance for any help


den_. 04-02-2010 01:54 PM

Thanks knufdl, I have been following the same instructions, I found them on a link to 'Barry's jumping off page' or something like that when I first fired up Seamonkey. I could do a 'frugal' install of Puppy 431 on to a Flash drive but I prefer to have all OS's installed on to the hard drive. Maybe I am being a bit dogmatic (no pun intended, honest :-))


towy71 04-02-2010 04:56 PM

Have you looked at you can run it within windoze ;-)

den_. 04-03-2010 07:26 AM

I have heard of that one, I could give it a try. Do you know anything about Sliaz? I have downloaded an ISO image for it and I was going to try it out soon.

den_. 04-03-2010 07:36 AM

Thanks towy71, I have just checked out those sites and DSL may be the distro I need and the fact that it can become a Debian distro, well sort of by the sounds of it, will let me mess about with the Compiler as well :-).

Thanks for your help


towy71 04-03-2010 07:42 AM

I presume you mean Slitaz? Do you have a penchant for making life difficult? If you are using ubuntu on one machine why not use it on two perhaps using Lubuntu on your AMD machine, that way you don't have to learn different ways of installing stuff etc ;-)

den_. 04-04-2010 06:27 AM

:-) LOL,It could appear that way, let me explain my situation. I have one machine (Intel) that is used as a general internet, games and work station by my wife and children, I sometimes use it myself if its more convenient. I installed Ubuntu on this machine quite some time ago because I was fed up with the constant virus/security "threat" that comes with Windows machines and I would like to say how well the Ubuntu distro works. I have another machine (AMD) and this is my work station. I have lots of tools and programs to fix PC's plus other things installed on this machine and I need internet access to get mother-board manuals, drivers etc. Although this is quite an old machine, I built it about ten years ago, it is more than adequate for my needs but it has (by todays standards) quite a small hard drive (120 Gig) and doesn't leave much room for another standard sized Linux distro. This is where the smaller sized distro's come in and also why I would prefer to have a dual boot setup and of course there is the speed element when booting/re-booting. The Compiler isn't totally necessary on the final installation to the 120 Gig HD but I was hoping to experiment with it on the 80 Gig HD that Puppy is on at the moment to gain more knowledge on how Linux ticks with regard to installing/uninstalling software outside of the package management environment (there I go again making it difficult again :-)). On a more serious note I may wish to install some software that isn't available on the package managed software install method. I don't really want to mess about with the Intel machine at such a low level in case I screw it up.
I am trying to make life easier these days, after all I have started to make the move from Windows to Linux ;-).


towy71 04-05-2010 03:47 AM

I run an older machine for my wife to use, it an Athlon 850 cpu it has 512 mb ram and a 15gb hard drive. When it isn't doing my wife's bidding I use it to try out different distros, sometimes they work fine sometimes they struggle. Currently it runs Mandriva 2010

All times are GMT -5. The time now is 07:59 PM.