Do you mean that you have running python? I've tried python on wl500gx with libstdc++ and it gives meOriginally Posted by ikerstgesCode:$ python /opt/bin/python: 1: Syntax error: "(" unexpected
Do you mean that you have running python? I've tried python on wl500gx with libstdc++ and it gives meOriginally Posted by ikerstgesCode:$ python /opt/bin/python: 1: Syntax error: "(" unexpected
oleo: I confirm, I have the same error..
This needs much more knowledge; I have to pass.. Damn!
I have tried many different ways to get python available on my wl500g, so I can have python scripts running.
Information about the error:
$ pythondoes not show in http://www.python.org/doc/ and a search in this forum on "python" only produces 6 hits, (3 of those hits because of me, posting in these threads about python).
/opt/bin/python: 1: Syntax error: "(" unexpected
Unfortunately I got completely stuck on now....
I have python running on wl500g. But this is in alpha stage. It is built on top of libuClibc++. We demoted all python packages until this bug is resolved. Brian Zhou pushed this package a step forward on cross compile. But now I have core dump on some functionality. It looks like libreadline or openssl problem. But interpreting simile package works for now
See for example:
python -v a.py see http://pastebin.ca/43513
For rdiff-backup with -v see http://pastebin.ca/43514
If you are willing to help out WE can make this baby run. Now I added exceptions handling to uClibc++ and many C++ dependent packages started to run automagically (libsigc++, mysql, unrar, groff, ctorrent, ...).
libuClibc++ is readily in CVS. Just packges need to be bumped.
Breakout this week maybe Follow http://cvs.sourceforge.net/viewcvs.p...make/python.mk for changelog.
Last edited by oleo; 28-02-2006 at 18:56.
Update: Without readline and openssl python now works OK.
Except of zlib. It seems like problem with dynamic linking of optional libraries. But this can hopefully be solved.
Hi oleo,
I can't help you with this.. Hey, I would even push this myself, if I only knew how to get the job done! I'm sorry, but until 3 weeks ago, I never typed any command in linux; I'm totally windowz till now..
But right now, I'm learning about 'su root', so there's still hope! AHaahh..
I will most definitely follow your progress to get this up and running (changelog). And meanwhile, I will try to contribute where and when I can on many different other subjects (hey, I even posted a how-to in the tutorials section of this forum already)
Last edited by ikerstges; 28-02-2006 at 22:35.
Starting with new uClibc++ library instead of stdlibc++ many packages from optware are now working. I suggest that you remove libstdc++ shared library and install libuclibc++.
Note that libstdc++ will still get installed, but this is dummy package for transition to libuclibc++.
Hi,
It was fews days, i tried to add libstdc++ on my router,i follow oleg's way but always the same error.
admin@(none) root]$ ipkg.sh update
mkdir: Cannot create directory `//opt/tmp/': Read-only file system
I don't understand why we need create a external partition to add this librairie!!!
Thks for your answer
GG