NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

lachris's avatar
lachris
Aspirant
Nov 14, 2011

Install python on DUO

Hi,

i read all posts in the forum about that.
Also made all steps described in http://iandykes.blogspot.com/2010/10/install-python-26-on-readynas-nv.html.

But I cannot get it work.

When i perform the step ./configure .....
it stops with a fault :

checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/src/Python-2.6.6':
configure: error: C compiler cannot create executables
See `config.log' for more details.


In that log :

configure:3410: checking whether the C compiler works
configure:3432: gcc conftest.c >&5
/usr/bin/ld:/usr/sparc-linux/lib/libc.so.6: file format not recognized; treating
/usr/bin/ld:/usr/sparc-linux/lib/libc.so.6:1: parse error
collect2: ld returned 1 exit status
configure:3436: $? = 1
configure:3474: result: no
configure: failed program was:
| /* confdefs.h */
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _DARWIN_C_SOURCE 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3479: error: in `/root/src/Python-2.6.6':
configure:3483: error: C compiler cannot create executables
See `config.log' for more details.

Can someone help me???


Thanks
chris

5 Replies

Replies have been turned off for this discussion
  • ok thats a good plan so far.
    what is when i need more packages of pyhton? do i have to make them by myself?
    i need f.e. python-serial, python-rrd......
  • You can always contact the developer of the addon who may be able to add those modules. Or you would have to install them yourself

    Note that a NAS is not intended to be a development environment and addons like the one I linked to are primarily there to enable other applications that make use of the storage the NAS offers such as download applications. For application development you would really be better off using a box where you have full control of the software installations.

    BTW: why would you need python-serial on a box without a serial port?
  • i use a usb-serial converter for logging my heatpump over rs232
    the converter is working so far, but for the logging i need some extensions of python
    but i think the duo is exact the right for that
    the script for logging the pump is not so big, but is using rrd and a deamon for creating some png´s
    i will try to add these modules manually
  • I tried to install some of the ones that are needed. but not all finished.
    when i want to make a ./configure the same fault appears.

    Any Suggestions?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More