[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building PyTave on windows - cygwin
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Building PyTave on windows - cygwin |
Date: |
Wed, 15 Jun 2016 07:49:59 +0900 (JST) |
----- Original Message -----
>From: Abhinav Tripathi
>To: Colin Macdonald ; Mike Miller
>Cc: "Octave-maintainer
>Date: 2016/6/15, Wed 03:03
>Subject: Re: Building PyTave on windows - cygwin
>
>
>
>
>On Tue, Jun 14, 2016 at 10:57 PM, Colin Macdonald <address@hidden> wrote:
>
>On 13/06/16 23:18, Abhinav Tripathi wrote:
>>
>>3) PyTave has libboost-python as dependency.
>>>
>> IIRC, Mike had mentioned trying to remove the boost dependency. That would
>> help with this. But it also might be quite an effort, especially if the
>> Octave-within-Python part of PyTave needs to be ported too...
>
>
>Hmmm. We would need some alternative for boost-python... But then probably
>that would need to be built too. Well, currently I got it to work (with some
>renaming and all).
>.
>Finally, './configure --with-octave=/e/octave_dev' works successfully using
>the octave that Tatsuro provided.
>It just gave a warning that 'uselocale' is not supported! I dont know how to
>deal with that but since it was not a requirement so i went ahead anyway.
>.
>Now, when I issue 'make' , I get the following output:
>-------------------------------------------------------------------------------------------------------------
>$ make
>make all-am
>make[1]: Entering directory '/e/My_Repos/pytave'
>/bin/sh ./libtool --tag=CXX --mode=compile g++ -std=gnu++11 -DHAVE_CONFIG_H
>-I. -IE:\octave_dev\include\octave-4.1.0+
>-IE:\octave_dev\include\octave-4.1.0+/octave
>-IC:/msys64/mingw64/include/python2.7
>-IC:/msys64/mingw64/lib/python2.7/site-packages/numpy/core/include -g -O2
>-MT _pytave_la-pytave.lo -MD -MP -MF .deps/_pytave_la-pytave.Tpo -c -o
>_pytave_la-pytave.lo `test -f 'pytave.cc' || echo './'`pytave.cc
>libtool: compile: g++ -std=gnu++11 -DHAVE_CONFIG_H -I.
>-IE:octave_devincludeoctave-4.1.0+ -IE:octave_devincludeoctave-4.1.0+/octave
>-IC:/msys64/mingw64/include/python2.7
>-IC:/msys64/mingw64/lib/python2.7/site-packages/numpy/core/include -g -O2 -MT
>_pytave_la-pytave.lo -MD -MP -MF .deps/_pytave_la-pytave.Tpo -c pytave.cc
>-DDLL_EXPORT -DPIC -o .libs/_pytave_la-pytave.o
>pytave.cc:32:24: fatal error: octave/oct.h: No such file or directory
>compilation terminated.
>make[1]: *** [Makefile:614: _pytave_la-pytave.lo] Error 1
>make[1]: Leaving directory '/e/My_Repos/pytave'
>make: *** [Makefile:476: all] Error 2
>-------------------------------------------------------------------------------------------------------------
>
>
>
>For some reason, libtool is messing with the address passed with a backslash
>('\'). (I've bolden the part in the message which is being changed). It's
>passed correctly via make, but libtool is probably escaping the characters!?.
>Is there a way to change the default path separator for make (or maybe
>libtool)?
>I saw that probably AC_PATH_TOOL is used to build/find the path. But, couldn't
>find how to change it.
>Any suggestions?
>.
>Abhinav
How about set CPPFLAGS and environment variables before configure?
CPPFLAGS='-IE:/octave_dev/include/octave-4.1.0+
-IE:/octave_dev/include/octave-4.1.0+/octave' \
./configure --with-octave=/e/octave_dev
Tatsuro
- Re: Building PyTave on windows - cygwin, (continued)
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/06
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/06
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/06
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/06
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/06
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/14
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/14
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/14
- Re: Building PyTave on windows - cygwin, Colin Macdonald, 2016/06/14
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/14
- Re: Building PyTave on windows - cygwin,
Tatsuro MATSUOKA <=
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/15
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/15
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/15
- Re: Building PyTave on windows - cygwin, Mike Miller, 2016/06/15
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/15
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/16
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/16
- Re: Building PyTave on windows - cygwin, Abhinav Tripathi, 2016/06/16
- Re: Building PyTave on windows - cygwin, Tatsuro MATSUOKA, 2016/06/16
- Re: Building PyTave on windows - cygwin, Mike Miller, 2016/06/16