On Wed, 2007-12-26 at 01:27 +0000, Kai-Martin Knaak wrote: > On Wed, 26 Dec 2007 00:29:44 +0000, Peter Clifton wrote: > > > I have automake version 1.10, what is yours? > > It was 1.4 > After I switched to 1.9 and did "make clean" a call of "make reconfig" > completed > without error. Thanks for hinting me to "update-alternatives". > > Now, "make all" compiles quite a few files but chokes on gnetlist: > > /------------------------ > [EMAIL PROTECTED]:/usr/local/geda-src/peter-b$ make all > libgeda Installed > gschem Built > ( cd gnetlist; make ) > make[1]: Entering directory `/usr/local/geda-src/peter-b/gnetlist' > make all-recursive > make[2]: Entering directory `/usr/local/geda-src/peter-b/gnetlist' > Making all in src > make[3]: Entering directory `/usr/local/geda-src/peter-b/gnetlist/src' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/geda/include > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 > -Wall -g -O2 -MT g_netlist.o -MD -MP -MF ".deps/g_netlist.Tpo" -c -o > g_netlist.o g_netlist.c; \ > then mv -f ".deps/g_netlist.Tpo" ".deps/g_netlist.Po"; else rm -f > ".deps/g_netlist.Tpo"; exit 1; fi > g_netlist.c: In function ‘g_get_attribute_by_pinseq’: > g_netlist.c:586: warning: assignment from incompatible pointer type > g_netlist.c:612: warning: assignment from incompatible pointer type > g_netlist.c: In function ‘g_get_toplevel_attribute’: > g_netlist.c:739: error: ‘TOPLEVEL’ has no member named ‘pages’ > make[3]: *** [g_netlist.o] Error 1 > make[3]: Leaving directory `/usr/local/geda-src/peter-b/gnetlist/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/geda-src/peter-b/gnetlist' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/geda-src/peter-b/gnetlist' > make: *** [gnetlist/src/gnetlist] Error 2 > \---------------------- > > Any hint?
Sounds like it has found an old version of libgeda on the system's include path. Do you have any old versions still installed? Are PKG_CONFIG_PATH and other environment variables set as described in the comment text you get when running "make" at the toplevel? Ah.. I might have just spotted it. Run "make install", not "make all". You need to "make install" in the libgeda dir first, before "make all" will work. >From the toplevel, it might be something like "make libgeda_install". -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
