Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing in WinXP #2

Open
siarud opened this issue Dec 24, 2010 · 1 comment
Open

Trouble installing in WinXP #2

siarud opened this issue Dec 24, 2010 · 1 comment

Comments

@siarud
Copy link

siarud commented Dec 24, 2010

Hai, I could not install in Windows XP. Is this only for UNIX and Linux machines. I ran the following command.

python setup.py install
error:command 'gcc' failed with exit status 1.
Please let me know if there is a work around. Thx.

The Log file

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\PYTHON26\PYDAS>python setup.py install
running install
running build
running build_py
running build_ext
building 'PyDAS.dassl' extension
C:\python26\pythonxy\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IPyDAS -IC:\P
ython26\lib\site-packages\numpy\core\include -IC:\Python26\include -IC:\Python26
\PC -c PyDAS\dassl.c -o build\temp.win32-2.6\Release\pydas\dassl.o
PyDAS\dassl.c: In function '__Pyx_RaiseArgtupleInvalid':
PyDAS\dassl.c:7023: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7023: warning: format '%s' expects type 'char *', but argument 5 h
as type 'Py_ssize_t'
PyDAS\dassl.c:7023: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7023: warning: too many arguments for format
PyDAS\dassl.c: In function '__Pyx_RaiseNeedMoreValuesError':
PyDAS\dassl.c:7696: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7696: warning: format '%s' expects type 'char *', but argument 3 h
as type 'Py_ssize_t'
PyDAS\dassl.c:7696: warning: too many arguments for format
PyDAS\dassl.c: In function '__Pyx_RaiseTooManyValuesError':
PyDAS\dassl.c:7704: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7704: warning: too many arguments for format
PyDAS\dassl.c: At top level:
C:\Python26\lib\site-packages\numpy\core\include/numpy/__multiarray_api.h:1187:
warning: '_import_array' defined but not used
C:\Python26\lib\site-packages\numpy\core\include/numpy/__ufunc_api.h:196: warnin
g: '_import_umath' defined but not used
writing build\temp.win32-2.6\Release\pydas\dassl.def
C:\python26\pythonxy\mingw\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2
.6\Release\pydas\dassl.o build\temp.win32-2.6\Release\pydas\dassl.def -Ldassl -L
C:\Python26\libs -LC:\Python26\PCbuild -lgfortran -lddassl -lpython26 -lmsvcr90
-o build\lib.win32-2.6\PyDAS\dassl.pyd
c:/python26/pythonxy/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/
ld.exe: cannot find -lddassl
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

C:\PYTHON26\PYDAS>

@jwallen
Copy link
Owner

jwallen commented Dec 29, 2010

At the moment, I have only been using PyDAS on Linux, so I haven't yet worked out an installation procedure for Windows. I think it is possible to use, though. I am working on Windows installation now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants