delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/09/14/04:56:04

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 14 Sep 2016 10:53:14 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Re: Copy version.h from tarball to git clone
In-Reply-To: <20160913a@crcomp.net>
Message-ID: <alpine.DEB.2.11.1609141031100.1553@nimbus>
References: <20160908a AT crcomp DOT net> <alpine DOT DEB DOT 2 DOT 11 DOT 1609091301540 DOT 4363 AT nimbus> <20160913a AT crcomp DOT net>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019