Hi Ales and gEDA developers, > Ales Hvezda wrote: > > Let me know when things are working for you.
I have gotten my system functional again. The problem was that autogen wasn't finding certain m4 files (pkg.m4, gettext.m4, and guile.m4) when running the autotools. I don't know why this happened since it used to work. Anyway, I fixed the problem by incorporating these m4 files into the m4 directories of certain source trees (libgeda, gschem, gnetlist, and geda IIRC). I also munged around with a few other build files. For example, I had to explicitly include @GUILE_LDFLAGS@ into a couple of "Makefile.am"s. None of this should cause grief for anybody else. Indeed, it is probably good since it will make gEDA/gaf's CVS more portable. Anyway, I have made all my changes to CVS. Please go ahead and release when ready. BTW: I'll let you decide what to do with Matthias' patches. They look reasonable to me. Stuart > Here's a one-byte change I'd love to have in the toplevel Makefile, > which allows me to move the installdir (aka "prefix") around: > --- > # > # Set this to the location where you want to install gEDA/gaf > # > prefix?=$(HOME)/geda > --- > This way I can simply say > prefix=~/CODE/gEDA/test0-install make all > > > Another small thing: currently gschem build doesn't use $prefix/include > but some system-wide includes (where in my case it finds outdated > geda-installs from my distro). In geda/devel/gschem/src/Makefile.am the > include line should read: > INCLUDES = -I$(prefix)/include -I$(top_srcdir)/intl > -I$(top_srcdir)/include @GSCHEM_CFLAGS@ > > same for linking: > gschem_LDADD = -L$(prefix)/lib @GSCHEM_LDFLAGS@ @LIBINTL@ > > > Then gEDA builds propperly. Patch attached. > > HTH, > > Matthias > > --------------090507000008080300020701 > Content-Type: text/x-patch; > name="geda-build.patch" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="geda-build.patch" > > diff -Nur geda-orig-06-01-2006/devel/Makefile geda-mine/devel/Makefile > --- geda-orig-06-01-2006/devel/Makefile 2005-08-21 04:30:36.000000000 > +0200 > +++ geda-mine/devel/Makefile 2006-01-06 10:56:15.000000000 +0100 > @@ -22,7 +22,7 @@ > # > # Set this to the location where you want to install gEDA/gaf > # > -prefix=$(HOME)/geda > +prefix?=$(HOME)/geda > > # > # You can set any global options you want here to be passed to the > diff -Nur geda-orig-06-01-2006/devel/gschem/src/Makefile.am > geda-mine/devel/gschem/src/Makefile.am > --- geda-orig-06-01-2006/devel/gschem/src/Makefile.am 2006-01-06 > 10:44:25.000000000 +0100 > +++ geda-mine/devel/gschem/src/Makefile.am 2006-01-08 01:28:32.000000000 > +0100 > @@ -39,8 +39,8 @@ > AM_CFLAGS = -Wall > endif > > -INCLUDES = -I$(top_srcdir)/intl -I$(top_srcdir)/include @GSCHEM_CFLAGS@ > -gschem_LDADD = @GSCHEM_LDFLAGS@ @LIBINTL@ > +INCLUDES = -I$(prefix)/include -I$(top_srcdir)/intl -I$(top_srcdir)/include > @GSCHEM_CFLAGS@ > +gschem_LDADD = -L$(prefix)/lib @GSCHEM_LDFLAGS@ @LIBINTL@ > > localedir = @datadir@/locale > DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ > > --------------090507000008080300020701-- >