hiho...
bin stolzer besitzer einer synology diskstation DS211. tolles gerät, wollte nun subnzbd drauf packen und dann ein ipv6 server ansteuern. leider musste ich feststellen, dass ich keine python version (2.5, 2.7, 3.1) gefunden habe welche ipv6 unterstützung hat. sabnzbd läuft, soweit ich das erkennen konnte mit python v2.5, brauch aber für mein einsatzzweck eben ipv6. wie kann ich nun python v2.5 für mein DS211 (ARM cpu) mit ipv6 compilieren !? gibt es eventuell schon passende/fertige varianten dafür ?
greez & thx,
sky...
python mit ipv6
- cofi
- Python-Forum Veteran
- Beiträge: 4432
- Registriert: Sonntag 30. März 2008, 04:16
- Wohnort: RGFybXN0YWR0
Willkommen im Forum!
Wie kommst du darauf, dass deine Python-Versionen kein IP v6 koennen? Ich hoffe du greifst dabei auf `socket.has_ipv6` zurueck.
Ansonsten ist IP v6 Support ein `./configure --enable-ipv6' entfernt.
Wie kommst du darauf, dass deine Python-Versionen kein IP v6 koennen? Ich hoffe du greifst dabei auf `socket.has_ipv6` zurueck.
Ansonsten ist IP v6 Support ein `./configure --enable-ipv6' entfernt.
Michael Markert ❖ PEP 8 Übersetzung ❖ Tutorial Übersetzung (3.x) ⇒ Online-Version (Python 3.3) ❖ Deutscher Python-Insider ❖ Projekte
ja, ich beziehe mich hier auf die aussage von "socket.has_ipv6"... aber wie darf ich nun deine aussage verstehen ?
greez & thx
sky...
habe mit "ipkg" nun python 2.5 installiert, wie kann ich da nun nachträglich ipv6 aktivieren ? wenn ich deine zeile im python 2.5 path versuche, kommt nur das hier:cofi hat geschrieben: Ansonsten ist IP v6 Support ein `./configure --enable-ipv6' entfernt.
vielleicht kannst du mir da noch ein paar infos zukommen lassen ?DiskStation> ./configure --enable-ipv6
-ash: ./configure: not found
greez & thx
sky...
- cofi
- Python-Forum Veteran
- Beiträge: 4432
- Registriert: Sonntag 30. März 2008, 04:16
- Wohnort: RGFybXN0YWR0
Die Zeile ist Teil des Unix Dreisprungs:
`./configure --enable-ipv6 && make && make install' wobei du vor dem letzten Teil nochmal ueberlegen solltest, ob du damit wirklich das System-Python ersetzen willst. Dazu benoetigst du natuerlich den Python Source und musst im passenden Pfad sein.
Ohne neue Kompilierung wird das aber nichts.
Davor solltest du dich aber nochmal umschauen ob es nicht andere Pakete gibt, die den Support schon haben, wenn dir `./configure` noch nichts sagte.
`./configure --enable-ipv6 && make && make install' wobei du vor dem letzten Teil nochmal ueberlegen solltest, ob du damit wirklich das System-Python ersetzen willst. Dazu benoetigst du natuerlich den Python Source und musst im passenden Pfad sein.
Ohne neue Kompilierung wird das aber nichts.
Davor solltest du dich aber nochmal umschauen ob es nicht andere Pakete gibt, die den Support schon haben, wenn dir `./configure` noch nichts sagte.
Michael Markert ❖ PEP 8 Übersetzung ❖ Tutorial Übersetzung (3.x) ⇒ Online-Version (Python 3.3) ❖ Deutscher Python-Insider ❖ Projekte
habe kein problem python neu zu installieren... nur sabnzbd brauch python ansonsten war vorher kein python auf dem system. für mich nur die frage, reicht es einfach den source von python auf mein DS211 zu spielen und dort dann mit besagte komandozeile das ding zu compilieren? reicht es nur diesen ipv6-flag hinzuzufügen oder braucht es da noch mehr !? geschweige denn, wo installiert der mir dann das python hin ?
greez & thx,
sky...
greez & thx,
sky...
nachdem ich nun mir den source auf die ds211 kopiert habe und den gcc installiert hatte konnte ich
greez & thx,
sky...
EDIT:
bin nun soweit, dass er beim starten von sabnzbd diese meldung hier nur noch bringt:
EDIT2:
nach einigem hin und her bin ich nun hier gelandet:
greez & thx,
sky...
EDIT3:
also, nun bin ich hier drauf gestoßen: http://coding.derkeiler.com/Archive/Pyt ... 00532.html
nur wie compiliere ich nun das python neu mit entsprechender config ?
und./configure --enable-ipv6
ausführen, beim versuch das ding nun zu installieren, hatte ich diesen output hier:make
was nu ?DiskStation> make install
Creating directory /usr/local/bin
Creating directory /usr/local/lib
./install-sh -c python /usr/local/bin/python2.5
if test -f libpython2.5.so; then \
if test ".so" = .dll; then \
./install-sh -c -m 555 libpython2.5.so /usr/local/bin; \
else \
./install-sh -c -m 555 libpython2.5.so /usr/local/lib/libpython2.5.a; \
if test libpython2.5.so != libpython2.5.a; then \
(cd /usr/local/lib; ln -sf libpython2.5.a libpython2.5.so); \
fi \
fi; \
else true; \
fi
mkdir ./Lib/plat-unknown
cp ./Lib/plat-generic/regen ./Lib/plat-unknown/regen
export PATH; PATH="`pwd`:$PATH"; \
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
export EXE; EXE=""; \
cd ./Lib/plat-unknown; ./regen
python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
Traceback (most recent call last):
File "../../Tools/scripts/h2py.py", line 175, in <module>
main()
File "../../Tools/scripts/h2py.py", line 75, in main
fp = open(filename, 'r')
IOError: [Errno 2] No such file or directory: '/usr/include/netinet/in.h'
make: *** [Lib/plat-unknown] Error 1
greez & thx,
sky...
EDIT:
bin nun soweit, dass er beim starten von sabnzbd diese meldung hier nur noch bringt:
DiskStation> ./sabstart.sh
The following modules need to be installed: Cheetah, cherrypy(included, unpack the zip), sqlite(if python 2.4)
EDIT2:
nach einigem hin und her bin ich nun hier gelandet:
jemand ein idee ?DiskStation> ./sabstart.sh
Traceback (most recent call last):
File "/var/packages/sab2/target/sab/SABnzbd.py", line 24, in <module>
import logging.handlers
File "/usr/local/lib/python2.5/logging/handlers.py", line 30, in <module>
import sys, logging, socket, types, os, string, cPickle, struct, time, glob
ImportError: /var/packages/sab2/target/utils/lib/python2.5/lib-dynload/cPickle.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
greez & thx,
sky...
EDIT3:
also, nun bin ich hier drauf gestoßen: http://coding.derkeiler.com/Archive/Pyt ... 00532.html
nur wie compiliere ich nun das python neu mit entsprechender config ?
das ganze ist nun in diese richtung expandiert, dass mein recompile von python wohl kein threading unterstützt ? um es mal so zu sagen, ich habe mir auf meinem synology DS211 "ipkg" installiert, dann damit "sabnzbdplus" drauf gepackt. das damit in abhängigkeit stehende python 2.5 unterstützt aber leider kein IPv6. nun bin ich eben dabei also dabei mir selbst ein neues python zu compilieren was IPv6 unterstützung hat. das ganze habe ich nun auch hinbekommen:
greez & thx,
sky...
danach hatte ich ein lauffähiges python mit ipv6. nur wenn ich mir diesem python nun sabnzbd starten will, bekomme ich diese meldung hier:./configure --enable-ipv6 --enable-unicode=ucs4
make
make install
vielleicht kann mir jemand mal sagen, welche ganzen schalter ich da umlegen muss, um ein voll ausgestattete python mir compilieren kann mit ipv6 unterstützung ?DiskStation> python SABnzbd.py
Traceback (most recent call last):
File "SABnzbd.py", line 44, in <module>
import cherrypy
File "/opt/share/SABnzbd/cherrypy/__init__.py", line 161, in <module>
from cherrypy import _cptools
File "/opt/share/SABnzbd/cherrypy/_cptools.py", line 227, in <module>
from cherrypy.lib import sessions as _sessions, xmlrpc as _xmlrpc
File "/opt/share/SABnzbd/cherrypy/lib/sessions.py", line 22, in <module>
import threading
File "/usr/local/lib/python2.5/threading.py", line 6, in <module>
import thread
ImportError: No module named thread
greez & thx,
sky...
Schaue doch mal in das angemeckerte Verzeichnis ("/usr/local/lib/python2.5/") ob dort die threading.py existiert.
Auf meinem System habe ich die Datei unter "/usr/lib/python2.5/site-packages/" gefunden.
Kann sein das bei dir die Pfadangaben zu den lib Verzeichnissen falsch sind.
Im Python interpreter:
Auf meinem System habe ich die Datei unter "/usr/lib/python2.5/site-packages/" gefunden.
Kann sein das bei dir die Pfadangaben zu den lib Verzeichnissen falsch sind.
Im Python interpreter:
Code: Alles auswählen
>>> import sys
>>> sys.path
['', '/usr/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages']
- cofi
- Python-Forum Veteran
- Beiträge: 4432
- Registriert: Sonntag 30. März 2008, 04:16
- Wohnort: RGFybXN0YWR0
`./configure --help` gibt dir eine Uebersicht, fuer Threading brauchst du `--with-threads`. Was die Standardeinstellungen der gaengigen Pakete sind kann ich dir allerdings nicht sagen.
Michael Markert ❖ PEP 8 Übersetzung ❖ Tutorial Übersetzung (3.x) ⇒ Online-Version (Python 3.3) ❖ Deutscher Python-Insider ❖ Projekte
@JonasR: Die Datei muss existieren denn der Traceback sagt ja aus, das *in dieser* Datei das ``import thread`` fehl schlägt.
Das `thread`-Modul scheint es nicht zu geben, wobei eine fehlende Datei dafür kein Kriterium ist, denn das Modul ist in Python 2.6 zumindest ein "eingebautes" Modul. Das heisst wenn das Python mit Thread-Unterstützung kompiliert wurde, dann ist das Modul im Interpreter integriert und wird nicht aus einer externen Datei geladen.
Wenn das Modul nicht existiert, wurde vielleicht eine entsprechende Option beim ``configure``-Skript nicht angegeben oder die Headerdateien für die Threading-Bibliothek (auf Linux zum Beispiel die `libpthread`) waren nicht installiert.
Das `thread`-Modul scheint es nicht zu geben, wobei eine fehlende Datei dafür kein Kriterium ist, denn das Modul ist in Python 2.6 zumindest ein "eingebautes" Modul. Das heisst wenn das Python mit Thread-Unterstützung kompiliert wurde, dann ist das Modul im Interpreter integriert und wird nicht aus einer externen Datei geladen.
Wenn das Modul nicht existiert, wurde vielleicht eine entsprechende Option beim ``configure``-Skript nicht angegeben oder die Headerdateien für die Threading-Bibliothek (auf Linux zum Beispiel die `libpthread`) waren nicht installiert.
Ich glaube du hast meinen Post falsch gedeutet oder ich habe mich falsch ausgedrücktBlackJack hat geschrieben:@JonasR: Die Datei muss existieren denn der Traceback sagt ja aus, das *in dieser* Datei das ``import thread`` fehl schlägt.

@JonasR: Ja und das muss wie gesagt existieren. Wäre komisch wenn der Interpreter in einem Nicht-Existierenden Modul sagen könnte was in dessen 6. Zeile eine Ausnahme auslöst, oder!? Die `threading.py` (oder *.pyc) versucht `thread` zu importieren. Das ginge nicht wenn sie nicht existieren würde.
schonmal danke für eure posts, bin nun wieder dazu gekommen an der baustelle weiter zu basteln, habe nun mal folgende zeile versucht:
sky...
leider ohne erfolg, vielleicht kann aber jemand was mit dem output hier anfangen ? dort ist öffters mal was von "thread" die rede..../configure --enable-ipv6 --enable-unicode=ucs4 --with-threads
greez & thx,checking MACHDEP... unknown
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for --with-cxx-main=<compiler>... no
checking for g++... g++
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(MAINCC)
checking for --enable-shared... no
checking for --enable-profiling...
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar
checking for svnversion... not-found
checking for a BSD-compatible install... ./install-sh -c
checking for --with-pydebug... no
checking whether gcc accepts -fno-strict-aliasing... yes
checking whether gcc accepts -OPT:Olimit=0... no
checking whether gcc accepts -Olimit 1500... no
checking whether pthreads are available without options... no
checking whether gcc accepts -Kpthread... no
checking whether gcc accepts -Kthread... no
checking whether gcc accepts -pthread... no
checking whether g++ also accepts flags for thread support... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking for term.h... no
checking for linux/netlink.h... yes
checking for clock_t in time.h... yes
checking for makedev... yes
checking Solaris LFS bug... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for void *... yes
checking size of void *... 4
checking for short... yes
checking size of short... 2
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for fpos_t... yes
checking size of fpos_t... 16
checking for size_t... (cached) yes
checking size of size_t... 4
checking for long long support... yes
checking for long long... yes
checking size of long long... 8
checking for uintptr_t... yes
checking for uintptr_t... (cached) yes
checking size of uintptr_t... 4
checking size of off_t... 8
checking whether to enable large file support... yes
checking size of time_t... 4
checking for pthread_t... yes
checking size of pthread_t... 4
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking SO... .so
checking LDSHARED... $(CC) -shared
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Xlinker -export-dynamic
checking CFLAGSFORSHARED...
checking SHLIBS... $(LIBS)
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for library containing sem_init... no
checking for textdomain in -lintl... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
checking for --with-system-ffi...
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking for _POSIX_THREADS in unistd.h... yes
checking cthreads.h usability... no
checking cthreads.h presence... no
checking for cthreads.h... no
checking mach/cthreads.h usability... no
checking mach/cthreads.h presence... no
checking for mach/cthreads.h... no
checking for --with-pth... no
checking for pthread_create in -lpthread... checking for pthread_detach... no
checking atheos/threads.h usability... no
checking atheos/threads.h presence... no
checking for atheos/threads.h... no
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lc_r... no
checking for __pthread_create_system in -lpthread... no
checking for pthread_create in -lcma... no
checking for usconfig in -lmpc... no
checking for thr_create in -lthread... no
checking if --enable-ipv6 is specified... yes
checking ipv6 stack type... linux-glibc
checking for --with-doc-strings... yes
checking for --with-tsc... no
checking for --with-pymalloc... yes
checking for --with-wctype-functions... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... yes
checking for bind_textdomain_codeset... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for execv... yes
checking for fork... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for gai_strerror... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getloadavg... yes
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getpriority... yes
checking for getpwent... yes
checking for getspnam... yes
checking for getspent... yes
checking for getsid... yes
checking for getwd... yes
checking for kill... yes
checking for killpg... yes
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mremap... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... no
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setuid... yes
checking for setvbuf... yes
checking for snprintf... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... yes
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for uname... yes
checking for unsetenv... yes
checking for utimes... yes
checking for waitpid... yes
checking for wait3... yes
checking for wait4... yes
checking for wcscoll... yes
checking for _getpty... no
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for ctermid_r... no
checking for flock... yes
checking for getpagesize... yes
checking for true... true
checking for inet_aton in -lc... yes
checking for inflateCopy in -lz... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for setgroups... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for forkpty... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for strerror... yes
checking for memmove... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for gettimeofday... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... good
checking for getnameinfo... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for struct stat.st_gen... no
checking for struct stat.st_birthtime... no
checking for struct stat.st_blocks... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking whether char is unsigned... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... no
checking whether va_list is an array... no
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... yes
checking for __fpu_control... yes
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for hypot... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for UCS-4 tcl... no
checking whether wchar_t is signed... no
checking what type to use for unicode... wchar_t
checking whether byte ordering is bigendian... no
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking how to link readline libs... -lreadline
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_pre_input_hook in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking for broken nice()... no
checking for broken poll()... no
checking for struct tm.tm_zone... (cached) yes
checking for working tzset()... yes
checking for tv_nsec in struct stat... yes
checking for tv_nsec2 in struct stat... no
checking whether mvwdelch is an expression... no
checking whether WINDOW has _flags... no
checking for is_term_resized... no
checking for resize_term... no
checking for resizeterm... no
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for %zd printf() format support... yes
checking for socklen_t... yes
checking for build directories... done
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating pyconfig.h
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
sky...
@skydiablo: `pthread.h` scheint gefunden zu werden:
Aber später wird dann überprüft ob ein paar wichtige Funktionen in der Bibliothek verfügbar sind, und da gibt es dann ``no``\s als Antworten:
Da müsste man jetzt weiterforschen warum das so ist. Sind eventuell zwar die Header installiert, aber nicht die Bibliothek selbst?
(Ich bin jetzt davon ausgegangen, dass Du Leonida's Rat gefolgt bist und im übersetzten Python immer noch kein `thread`-Modul vorhanden ist.)
Code: Alles auswählen
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
Code: Alles auswählen
checking for pthread_create in -lpthreads... no
...
checking for pthread_init... no
(Ich bin jetzt davon ausgegangen, dass Du Leonida's Rat gefolgt bist und im übersetzten Python immer noch kein `thread`-Modul vorhanden ist.)
- Sr4l
- User
- Beiträge: 1091
- Registriert: Donnerstag 28. Dezember 2006, 20:02
- Wohnort: Kassel
- Kontaktdaten:
was hast du bei ipkg für eine Paket Datenbank zur Auswahl?
vll ist es ein Synology bug?
vgl.: http://forum.synology.com/enu/viewtopic ... 71&start=0
vll ist es ein Synology bug?
vgl.: http://forum.synology.com/enu/viewtopic ... 71&start=0
danke für den link auf das forum, per zufall bin ich dabei auf diesen post hier gestoßen:
http://forum.synology.com/enu/viewtopic ... 90&t=30132
dort wird das problem auch behandelt mit einem lösungsweg... ich werde dass mal die tage testen und dann hier auchnochmal report geben...
greez & thx,
sky...
http://forum.synology.com/enu/viewtopic ... 90&t=30132
dort wird das problem auch behandelt mit einem lösungsweg... ich werde dass mal die tage testen und dann hier auchnochmal report geben...
greez & thx,
sky...
also ich muss sagen, nun konnte ich python wohl compelieren mit allem nötigen um sabnzb laufen zu lassen, leider kommt nun diese meldung hier:

jemand eine idee für mich !?
greez & thx,
sky...
darauf hin habe ich versucht sqlite zu installieren, leider wird keine installation erkannt ?DiskStation> python SABnzbd.py
Sorry, requires Python module sqlite3 (pysqlite2 in python2.4)
oderipkg install sqlite2
beides frisst er nicht (also wird installiert, aber wird von SABnzb nicht erkannsipkg install sqlite

jemand eine idee für mich !?
greez & thx,
sky...