Results 1 to 15 of 18

Thread: libstdc++ available for wl500g?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Quote Originally Posted by ikerstges
    I have python setup now, but denyhosts gives some error. I will post about that in a separate post..
    Do you mean that you have running python? I've tried python on wl500gx with libstdc++ and it gives me
    Code:
    $ python
    /opt/bin/python: 1: Syntax error: "(" unexpected

  2. #2
    oleo: I confirm, I have the same error..

  3. #3
    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:
    $ python
    /opt/bin/python: 1: Syntax error: "(" unexpected
    does 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).

    Unfortunately I got completely stuck on now....

  4. #4
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    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.

  5. #5
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    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.

  6. #6
    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.

  7. #7
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    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++.

  8. #8

    libstdc++

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •