[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Installing gEDA from 20050820 Suite CD on Fedora



Stuart Brorson wrote:
I did search the FC4 packages and there is a compatibility package to 
use the old compiler.  Here is the results of gcc --version:

gcc32 --version
gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)
    

  
I am not sure how I can get the installer to use this version instead of 
the 4.X version.  Any ideas?
    

The simplest approach:

1.  Become root.  Find your gcc version 4.x (probably in /usr/bin).
Move it to some innocuous name ("mv /usr/bin/gcc /usr/bin/gcc-4.0.1").  

2.  Create a symlink between gcc and gcc32:  "ln -s /usr/bin/gcc32
/usr/bin/gcc"

3.  Become a normal user again.  Then try re-running the CD installer.

4.  When you're done, remove the gcc symlink and move gcc-4.0.1 back
to gcc (or make a symlink between gcc and gcc-4.0.1).

Hopefully you won't have all kinds of other wierd dependency issues by
using gcc 3.2 on a more modern system.  No garuantees, however. . . . .

I can try creating a version of the CD which determines if your gcc
installation is 4.x, and if so, it can look for a compatability
version of gcc (gcc32) and run it.  How did you find out that gcc32
existed on your FC machine?

Stuart


  
Just run the following yum command and if everything is configured correctly, FC4 goes out and lists all of the packages relating to gcc for you...

yum search gcc

If you what to know if the package is installed use:

yum list installed compat-gcc-32-c++

This will return the following:
Installed Packages
compat-gcc-32-c++.i386                   3.2.3-47.fc4

installed

Note: I installed the c++ package and it automatically installed the c pkg as well.

I loaded the gerbv package from the CD onto my system, ran ./configure and hand edited the Makefiles to change the cc=gcc to cc=gcc32.  The make seemed to work fine and I now have a gerbv window that appears to function.  Here is a stupid question

In pcb I placed a few components and told the program to print/gerber to a file.  I can not get gerbv to open the file.  It allows me to open a project, but so far, it will not open anything.  I tried to open the geda project I created using geda and it says it failed.  How is this suppose to work?  What kind of file is required for the program?

I will give your suggestion above a try and see what happens!

Doug