On 8/4/19 9:21 PM, Ken Moffat via blfs-dev wrote:
I think that we had something related to either fixing, or not
building, the subversion python2 bindings in 1.12.0, but on the face
of it they can be built in 1.12.2.  I hit this a day ago, at that
point I wondered if my version of swig was old (it isn't) and went
ahead without the perl bindings.

I see that the book mentions -j1 at several places, so I gave it
another try today, but it still fails (reformatted when I pasted it)
:

/usr/bin/swig -I/scratch/working/subversion-1.12.2/subversion
-I/scratch/working/subversion-1.12.2/subversion/include
-I/scratch/working/subversion-1.12.2/subversion/bindings/swig
-I/scratch/working/subversion-1.12.2/subversion/bindings/swig/include
-I/scratch/working/subversion-1.12.2/subversion/bindings/swig/proxy
-I/scratch/working/subversion-1.12.2/subversion/bindings/swig/proxy
-I/usr/include/apr-1  -I/usr/include/apr-1 -I/usr/include  -python
-classic -o subversion/bindings/swig/python/svn_client.c
./subversion/bindings/swig/svn_client.i
Deprecated command line option: -classic. This option is no longer
supported.
make: *** [build-outputs.mk:292:
subversion/bindings/swig/python/svn_client.c] Error 1

I am, of course, happy to not build these bindings - but the book
appears to be broken.  Or, again, maybe it's just me.

See http://wiki.linuxfromscratch.org/blfs/changeset/21844

It looks like Doug fixed that in version 1.12.0.

<para>
   Next, apply some fixes to adapt subversion to <xref linkend="swig"/>:
</para>
        
<screen><userinput>sed -i '/define.*MEMORY/a#define SWIG_POINTER_NO_NULL 0x4' \
   subversion/bindings/swig/proxy/swigrun.swg &amp;&amp;
sed -i 's/classic/nofastunpack/' build.conf</userinput></screen>
        
<para>

I commented them out at version 12.2.2. The 2nd sed may still be required. Please let me know if that fixes things for you.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to