Menu

Internal error in select()

Help
Josephine
2004-06-12
2013-04-01
  • Josephine

    Josephine - 2004-06-12

    hello

    i am using smartmenu 0.1.1 on suse 9.1. compiling and installing work flawless and i configured /etc/smartmenu; still, when trying to run smartmenu i got this error:
    Config: Skipping user specific config (/home/josephine/.smartmenu/config)
    Smartmenu 0.1.1 - smart and easy way of remote menuing
    Copyright 2002 David Kutalek, released under GPL

    /home/josephine/.smartmenu/menu.xml: No such file or directory
    Failed loading user specific menu, trying system wide menu...
    Internal error in select()!

    so..i created a directory .smartmenu and copyed there /etc/smartmenu and menu.xml from the "config" directory in smartmenu sources. afterwards, i get this error when trying to run smartmenu:

    Smartmenu 0.1.1 - smart and easy way of remote menuing
    Copyright 2002 David Kutalek, released under GPL

    Internal error in select()!

    any sugesstions?

    thanks.

     
    • Bbp

      Bbp - 2005-06-15

      I get the same error with Mandrake LE 2005.
      "configure", "make" and "make install" work well. But, I gat that error when I try to execute "smartmenu"
      ...
      Internal error in select()!
      ...
      I think a package is need, maybe something in relation with XML.

      Thanks for help

      Bbp

       
    • ludovic p

      ludovic p - 2005-07-15

      Try to replace the following line in menu.cc, around line 170 :

      retval = select(maxfd+1, &rfds, 0, 0, &tv);

      with

      retval = select(maxfd+1, &rfds, 0, 0, 0);

      Then make clean && make...

       
    • anrxc

      anrxc - 2005-07-30

      > Try to replace the following line in menu.cc, around line > 170 :  ....
      >

      It works, tnx for the tip.

       

Log in to post a comment.

MongoDB Logo MongoDB