octave-maintainers
[Top][All Lists]
Advanced

[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, 29 Jun 2016 12:38:44 +0900 (JST)

----- Original Message -----
>From: Abhinav Tripathi 
>To: Mike Miller ; Tatsuro MATSUOKA  
>Cc: "Octave-maintainers
>Date: 2016/6/29, Wed 01:15
>Subject: Re: Building PyTave on windows - cygwin
> 
>
>I installed 32 bit Python, numpy and used the 32 bit octave. Now, my pytave 
>./configure gives error in python libs.
>There is a weird 'None' being passed to gcc. The config log is:
>------------------------------------------------------------------------------------------
>configure:5357: checking for python
>configure:5375: found /c/Python27/python
>configure:5387: result: /c/Python27/python
>configure:5403: checking for a version of Python >= '2.1.0'
>configure:5429: result: yes
>configure:5460: checking for the distutils Python package
>configure:5464: result: yes
>configure:5478: checking for Python include path
>configure:5494: result: -Ic:\Python27\include
>configure:5501: checking for Python library path
>configure:5578: result: -Lc:\Python27\Lib\config -lpython27
>configure:5585: checking for Python site-packages path
>configure:5591: result: c:\Python27\Lib\site-packages
>configure:5598: checking python extra libraries
>configure:5605: result: 
>configure:5612: checking python extra linking flags
>configure:5619: result: None
>configure:5626: checking consistency of all components of python development 
>environment
>configure:5654: gcc -std=gnu11 -o conftest.exe -g -O2 -I/e/boost_1_61_0 
>-I/e/octave_dev/include/octave-4.1.0+ 
>-I/e/octave_dev/include/octave-4.1.0+/octave -Ic:\Python27\include 
>-L/e/boost_1_61_0/stage/lib -L/e/octave_dev/lib 
>-L/e/octave_dev/lib/octave/4.1.0+ -L/c/Python27/libs  conftest.c  
>-Lc:\Python27\Lib\config -lpython27 None None >&5
>gcc.exe: error: None: No such file or directory
>gcc.exe: error: None: No such file or directory
>configure:5654: $? = 1
>configure: failed program was:
>| /* confdefs.h */
>| #define PACKAGE_NAME "pytave"
>| #define PACKAGE_TARNAME "pytave"
>| #define PACKAGE_VERSION "dev"
>| #define PACKAGE_STRING "pytave dev"
>| #define PACKAGE_BUGREPORT "https://bitbucket.org/mtmiller/pytave/issues";;
>| #define PACKAGE_URL ""
>| #define HAVE_OCTAVE 1
>| #define OCTAVE_INCLUDEDIR "E:\octave_dev\include\octave-4.1.0+"
>| #define OCTAVE_LIBRARYDIR "E:\octave_dev\lib\octave\4.1.0+"
>| #define HAVE_PYTHON "27"
>| /* end confdefs.h.  */
>
>| #include <Python.h>
>| int
>| main ()
>| {
>| Py_Initialize();
>|   ;
>|   return 0;
>| }
>
>configure:5672: result: no
>configure:5676: error: in `/e/My_Repos/pytave':
>configure:5678: error: 
>  Could not link test program to Python. Maybe the main Python library has been
>  installed in some non-standard library path. If so, pass it to configure,
>  via the LIBS environment variable.
>  Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
>  ============================================================================
>   ERROR!
>   You probably have to install the development version of the Python package
>   for your distribution.  The exact name of this package varies among them.
>  ============================================================================
>



Abhinav


The problem seems to be solved with help by Mike.

I will advise you two things.

1. When you have met error during configure, you should also see config.log.
 The config.log file contains more information output information to the screen.

2. Try to read configure script at place where errors happen.

Tatsuro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]