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

Re: gEDA-user: Newbie -- installation issues



Yeah, if you go into the place where you built the GTK stuff and say
"make uninstall", then this should uninstall the new stuff.

Some points:

*  GEDA wants to compile with the usual gtk headers, i.e. gtk.h.  Make
sure that vanilla Sarge has them in there once you delete the stuff
you put in.  YOu can do "locate gtk.h" to find where the header files
are.  They are probbably somewhere like "/usr/include" or
"/usr/local/include".    Then browse over to the directory where they
live and verify that they are there.

*  GEDA also needs GTK 2.4 or greater.  Yes, the docs say 2.2, but the
latest version of PCB demands 2.4, and I haven't rev'ed the doc.  You
can say "pkg-config --modversion gtk+-2.0" and it will tell you your
version of GTK.

*  If you *do* need to replace your version of GTK because it is too
old, you need to be careful -- as you can see.  The right way to do it
is to rebuild the entire set of GTK stuff necessary, as described
here:

http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Make sure you put the new stuff into the same place as the old stuff.
You can tell "configure" where to put the binaries using the
"--prefix=/usr/local" flag (where you replace /usr/local with the
location where your binaries).  Usually Debian puts stuff in the
/usr/local hierarchy, but you should check before building.

After building GTK, you probably need to leave and then restart it.
*Then* try installing gEDA from the CD ROM. 

You may want to Google around to see if anybody has any other advice
about building and installing GTK on their Linux box.  It's actually
not difficult, but if you don't know what you are doing, then you can
get into trouble.

HTH,

Stuart


> 
> OK, I think I see what you are saying.  And to delete the current 
> installation...just go into the directory where all the sources were 
> created and do "make uninstall" as root?  Or is there another way I 
> don't know about?  Thanks.
> 
> -Ron
> 
> Stuart Brorson wrote:
> 
> >OK, then it looks like you installed the GTK libs over and on top of
> >the libs which Sarge already had.   Is this true?  If this is the
> >case, then gEDA compiled expecting to see one library, but finds a
> >different library at run time.
> >
> >Do this:
> >
> >[sdb@Fermat lib]$ cd /usr/lib
> >[sdb@Fermat lib]$ ls -lrt | grep libgtk
> >
> >This will print out the versions of gtk you have in this directory.
> >
> >[sdb@Fermat lib]$ cd /usr/local/lib
> >[sdb@Fermat lib]$ ls -lrt | grep libgtk
> >
> >This will print out the versions of gtk you have in this directory.
> >
> >If you have two slightly different versions of libgtk -- one of which
> >you installed last night -- then delete the new one.  Also delete the
> >gEDA stuff you installed.  Then try again installing gEDA again.
> >
> >THe basic idea is that you want one, unambiguous version of GTK to
> >both compile/link against, as well as to run against.
> >
> >Stuart
> >
> >
> >
> >
> >  
> >
> >>I installed off of the CD.  When I first tried installing I was told 
> >>that I needed some other programs installed (such as GTK+2.2.x) so I 
> >>spent a lot of time making sure those programs were installed.  Hope 
> >>this helps!
> >>
> >>Stuart Brorson wrote:
> >>
> >>    
> >>
> >>>First off, how did you install gEDA?  Via apt-get, the CD ROM
> >>>installer, source tarballs, or what?  It's impossible to know what is
> >>>wrong without this type of info.
> >>>
> >>>It is possible that you installed binaries which expect to see a
> >>>particular version of the shared libs, and your lib version is
> >>>different.  If this is the case, you are better off grabbing the
> >>>install CD and using it to build gEDA from source.  (It basically does
> >>>it for you.) The of building from source is that the configure step
> >>>takes care of all the library issues for you.
> >>>
> >>>Another possibility is that you have an older
> >>>installation of gEDA on your machine.  You need to go in and wipe away
> >>>all traces of the older gEDA stuff, including any trace of libgeda,
> >>>and any old gEDA programs, including older gspiceui executables.
> >>>
> >>>Stuart
> >>>
> >>>
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>Hi -
> >>>>
> >>>>I tried installing gEDA on my machine (Debian Sarge) last night and when 
> >>>>I tried using it this morning I had several problems before I could even 
> >>>>do anything:
> >>>>
> >>>>I tried opening gspiceui and got the following error message:
> >>>>
> >>>>   Fatal Error: Mismatch between the program and library build versions
> >>>>   detected.  The library used 2.6 (no debug,Unicode,compiler with C++
> >>>>   ABI 1002,wx containers,compatible with 2.4), and your program used
> >>>>   2.6 (no debug,Unicode,compiler with C++ ABI 102,wx
> >>>>   containers,compatible with 2.4).
> >>>>   Aborted
> >>>>
> >>>>
> >>>>The only difference I see is ABI 1002 vs. ABI 102, but I have no idea 
> >>>>what that means and what I need to do to fix it. 
> >>>>
> >>>>Any suggestions?  I have many more where this came from but figure let's 
> >>>>attack this one at a time.  Please bear in mind that I am "halfway good" 
> >>>>at Linux - meaning that I know just enough to cause a lot of problems.  
> >>>>I may not know how to do what is suggested to me.  Thanks!
> >>>>
> >>>>-Ron Crummett
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>> 
> >>>
> >>>      
> >>>
> >>    
> >>
> >
> >  
> >
> 
>