Hello,
Im trying to install GCC compiler to Puppy.
Downloaded the .tar gcc-4.2.0-20070501.tar.gz
Extracted all the files from the .tar to a folder.
Changed directory to that folder, but now when i try to run this:
./configure
GCC tells me this: Error: no accetable cc found in $PATH
Whats should i do?
Thanks for help
Best regards,
Johan
How to install GCC - Compiler
Re: How to install GCC - Compiler
Is there any particular reason why you downloaded gcc-4.2.0-20070501.tar.gz and not simply the full compiler for Puppy, devx_216.sfs, from ftp://ibiblio.org/pub/linux/distributio ... modules-2/ ?
Instructions for installing and using this devx package are here: http://www.puppylinux.com/hard-puppy.htm. Scroll down to the area "C/C++ Compiling."
-aj
Instructions for installing and using this devx package are here: http://www.puppylinux.com/hard-puppy.htm. Scroll down to the area "C/C++ Compiling."
-aj
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
- divisionmd
- Posts: 606
- Joined: Sat 14 Jul 2007, 20:42
Thanks!
Thanks for answer,
No i have downloded the wrong file i think. I want to install "Midnight commander" and to do that i needed a C compliler.
I followed a link from another forum. Not easy finding the right file, many different versions.
But now i have downloaded the file: devx_216.sfs
And i found the installation guide you said, look below is that the right installation how to for installing devx_216.sfs ? or do you have a simpler installation guide to follow?
1. 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 mntpt5. # mount -t squashfs /dev/loop2 mntpt
6. # cp -a --remove-destination mntpt/* /mnt/hda2/
7. # sync8. # umount mntpt
9. # rmdir mntpt10 # cd /11 # umount /mnt/hda2
Note, the '--remove-destination'
Best regards,
Johan
No i have downloded the wrong file i think. I want to install "Midnight commander" and to do that i needed a C compliler.
I followed a link from another forum. Not easy finding the right file, many different versions.
But now i have downloaded the file: devx_216.sfs
And i found the installation guide you said, look below is that the right installation how to for installing devx_216.sfs ? or do you have a simpler installation guide to follow?
1. 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 mntpt5. # mount -t squashfs /dev/loop2 mntpt
6. # cp -a --remove-destination mntpt/* /mnt/hda2/
7. # sync8. # umount mntpt
9. # rmdir mntpt10 # cd /11 # umount /mnt/hda2
Note, the '--remove-destination'
Best regards,
Johan
The steps you outlined were for users with full hard drive installations of Puppy (type two installation).
If you have a frugal (type one) installation, using devx_216 is a bit easier.
Carefully follow the appropriate steps and you'll be fine!
-aj
If you have a frugal (type one) installation, using devx_216 is a bit easier.
Carefully follow the appropriate steps and you'll be fine!
-aj
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]