Mail Archives: geda-user/2016/09/14/04:56:04
Thank you for your feedback!
On Wed, 13 Sep 2016, Don Kuenz wrote:
> After xorn/po/LINGUAS was emptied (the only two strings in it were
> en AT quot and en AT boldquot) "make" hangs on the last line "m4 -P > data.h".
>
> ------------------------------------------------------------------------
>
> libtool: link: (cd ".libs" && rm -f "libxornstorage.so.0" && cp -pR "libxornstorage.so.0.0.0" "libxornstorage.so.0")
> libtool: link: (cd ".libs" && rm -f "libxornstorage.so" && cp -pR "libxornstorage.so.0.0.0" "libxornstorage.so")
> libtool: link: ar cru .libs/libxornstorage.a attributes.o convenience.o manipulate.o object.o obstate.o revision.o selection.o
> libtool: link: ranlib .libs/libxornstorage.a
> libtool: link: ( cd ".libs" && rm -f "libxornstorage.la" && cp -pR "../libxornstorage.la" "libxornstorage.la" )
> Making all in src/cpython
> m4 -P > data.h
>
> ------------------------------------------------------------------------
data.h is generated by the following Makefile.am rule:
data.h: include_h.m4 $(m4sources)
$(AM_V_M4)m4 -P $^ > $@
Apparently $^ isn't portable to FreeBSD. Could you please replace $^ with
the build requirements, include_h.m4 $(m4sources), and see if it works?
> ------------------------------------------------------------------------
>
> $ cd geda/geda-gaf/xorn/src/cpython
> $ touch data.h
> $ make clean
> $ make
> make all-am
> depbase=`echo data_arc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_
> H -I. -I../.. -I/usr/include/python2.7 -I../../include -I/usr/local/include -Wall -W -Wno-unused-parameter -fno-strict-aliasing -
> g -O2 -MT data_arc.lo -MD -MP -MF $depbase.Tpo -c -o data_arc.lo data_arc.c && mv -f $depbase.Tpo $depbase.Plo
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/python2.7 -I../../include -I/usr/local/include -Wall -W -Wno-unuse
> d-parameter -fno-strict-aliasing -g -O2 -MT data_arc.lo -MD -MP -MF .deps/data_arc.Tpo -c data_arc.c -fPIC -DPIC -o .libs/data_arc.
> o
> data_arc.c:20:26: fatal error: structmember.h: No such file or directory
> #include <structmember.h>
> ^
> compilation terminated.
> *** Error code 1
>
> Stop.
>
> ------------------------------------------------------------------------
structmember.h should be in /usr/include/python2.7 which is correctly
listed as an include directory. Either you didn't install the Python 2.7
development headers (which should have been detected during
configuration), or structmember.h hasn't been installed as expected.
Could you please verify if structmember.h is absent from this directory,
and if so, look up to which location it has been installed on your system?
> $ ls -1 xorn/po
Sorry, I meant to say, the file contents (I'm looking for subtle
differences in the generated files). Probably the best way would be to
re-add en AT quot and en AT boldquot to po/LINGUAS, trigger the bug, create a
tarball from the po/ directory and send it to me in private.
- Raw text -