[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
[Apps] opkg A100/A110 - Updated 21st Sep
05-26-2011, 06:09 PM
Post: #136
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(05-18-2011 01:56 AM)vaidyasr Wrote:  
(05-17-2011 07:38 PM)s4nder Wrote:  Can you include php PEAR + Net/NNTP modules/packages? Or some other common php packages? That would be great!

Can you provide the home page for the above to fetch the source code?

The pear source should be here: http://pear.php.net/package/PEAR/download but im not exactly sure what is needed, my linux knowledge is not excellent.. Tongue

I don't know if it can be installed for the current lighttpd (the well known faster webserver installation on port 9999). Installation should be something like:

Code:
ipkg install php-pear
pear install --alldeps Net_NNTP

At least, this is the way it should work on a Synology NAS, and I really hope it can be adjusted to the nmt. Is this info helpful??

Dutch HDX1000 user
Find all posts by this user
Add Thank You Quote this message in a reply
05-27-2011, 02:57 AM
Post: #137
RE: [Apps] I-pkg A100/A110 - Updated 9th May
I'll release it soon, including the php & lighttpd like the one in C200. The one available in CSI is very old.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to vaidyasr for this post
06-03-2011, 10:35 AM
Post: #138
RE: [Apps] I-pkg A100/A110 - Updated 9th May
Hi Vaidyasr,

who did the port of lighttpd in ipkg repository? It crashes. I added an error.log to the config and got the following:

2011-06-03 10:12:10: (log.c.166) server started
2011-06-03 10:12:10: (server.c.961) WARNING: unknown config-key: url.access-deny (ignored)
2011-06-03 10:12:10: (fdevent_linux_sysepoll.c.134) epoll_create failed (Function not implemented), try to set server.event-handler = "poll" or "select"
2011-06-03 10:12:10: (fdevent.c.41) event-handler linux-sysepoll failed, try to set server.event-handler = "poll" or "select"
2011-06-03 10:12:10: (server.c.1112) fdevent_init failed

The warning is not important (wrong config), but the following lines should give you a clue.

I'd like to replace the lighttpd version from the NMT Community Software Installer repository, because it has some serious problems with most of the modules as it does not support regular expressions. The ipkg version seems to support reg. expressions, but it does not work.

Guenter
Find all posts by this user
Add Thank You Quote this message in a reply
06-04-2011, 06:55 AM
Post: #139
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(06-03-2011 10:35 AM)gkreidl Wrote:  Hi Vaidyasr,

who did the port of lighttpd in ipkg repository? It crashes. I added an error.log to the config and got the following:

2011-06-03 10:12:10: (log.c.166) server started
2011-06-03 10:12:10: (server.c.961) WARNING: unknown config-key: url.access-deny (ignored)
2011-06-03 10:12:10: (fdevent_linux_sysepoll.c.134) epoll_create failed (Function not implemented), try to set server.event-handler = "poll" or "select"
2011-06-03 10:12:10: (fdevent.c.41) event-handler linux-sysepoll failed, try to set server.event-handler = "poll" or "select"
2011-06-03 10:12:10: (server.c.1112) fdevent_init failed

The warning is not important (wrong config), but the following lines should give you a clue.

I'd like to replace the lighttpd version from the NMT Community Software Installer repository, because it has some serious problems with most of the modules as it does not support regular expressions. The ipkg version seems to support reg. expressions, but it does not work.

Guenter
I'll look into it. I was planning to announce once the php also compiled for A110.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
06-04-2011, 10:22 AM
Post: #140
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(06-04-2011 06:55 AM)vaidyasr Wrote:  I'll look into it. I was planning to announce once the php also compiled for A110.

Thanks, vaidyasr.

perhapdyou can simply use the PHP that comes with CIS lighttpd. It is running fine.

Guenter
Find all posts by this user
Add Thank You Quote this message in a reply
06-23-2011, 09:49 PM
Post: #141
RE: [Apps] I-pkg A100/A110 - Updated 9th May
@Vaidyasr:

I've seen quite a few versions of Python in the package list for C200. Could you supply at least one of the 2.x versions for the A110 too? I have a few python applications that I would like to run on A110 compatible devices.

Guenter
Find all posts by this user
Add Thank You Quote this message in a reply
06-27-2011, 05:58 PM
Post: #142
RE: [Apps] I-pkg A100/A110 - Updated 9th May
Packages updated with description similar to the one in C200 and python 2.7 added.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
06-27-2011, 08:57 PM (This post was last modified: 06-27-2011 08:59 PM by gkreidl.)
Post: #143
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(06-27-2011 05:58 PM)vaidyasr Wrote:  Packages updated with description similar to the one in C200 and python 2.7 added.

Thanks, vaidyasr

When I try to install python2.7 with
ipkg install python2.7
I get a system crash (tried it different times).

Then I downloaded the package manually, copied it to local and installed from file. This worked, and all dependencies were installed also.

But when I try to start Python, I get the following error message:

IOError: invalid Python installation: unable to open /usr/local/include/python2.7/pyconfig.h (No such file or directory)

The include directory and its content are missing. I also looked into the C200 package: also include missing and it should give the same error.

Guenter

BTW: why is this package 45 MB and that for C200 only 18 MB?
Find all posts by this user
Add Thank You Quote this message in a reply
06-28-2011, 04:37 AM
Post: #144
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(06-27-2011 08:57 PM)gkreidl Wrote:  IOError: invalid Python installation: unable to open /usr/local/include/python2.7/pyconfig.h (No such file or directory)

The include directory and its content are missing. I also looked into the C200 package: also include missing and it should give the same error.
No one reported that in c200, and I do have the python2.7-dev installed, so I was not having the above issue. Anyhow I'll repack the 2.7 with pyconfig.h.

Quote:BTW: why is this package 45 MB and that for C200 only 18 MB?
I have no clue, I have analyzed the package and found the Modules directory is taking more space.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
06-29-2011, 12:21 PM
Post: #145
RE: [Apps] I-pkg A100/A110 - Updated 9th May
Hi vaidyasr

I try to install qt library from ipkg repository on a110 but there are lot of dependency problems like:

Quote:Package libglib2.0 wants to install file /share/Apps/local/lib/libglib-2.0.so.0.2791.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libglib-2.0.so.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libglib-2.0.so
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgmodule-2.0.so.0.2791.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgmodule-2.0.so.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgmodule-2.0.so
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgthread-2.0.so.0.2791.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgthread-2.0.so.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgthread-2.0.so
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgobject-2.0.so.0.2791.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgobject-2.0.so.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgobject-2.0.so
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgio-2.0.so.0.2791.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgio-2.0.so.0
But that file is already provided by package glib
Package libglib2.0 wants to install file /share/Apps/local/lib/libgio-2.0.so
But that file is already provided by package glib

or

Quote:Package libz1 wants to install file /share/Apps/local/lib/libz.so.1.2.3
But that file is already provided by package zlib
Package libz1 wants to install file /share/Apps/local/lib/libz.so
But that file is already provided by package zlib
Package libz1 wants to install file /share/Apps/local/lib/libz.so.1
But that file is already provided by package zlib

or

Quote:Package libintl8 wants to install file /share/Apps/local/lib/libintl.so.8.1.1
But that file is already provided by package gettext
Package libintl8 wants to install file /share/Apps/local/lib/libintl.so.8
But that file is already provided by package gettext
Package libintl8 wants to install file /share/Apps/local/lib/libintl.so
But that file is already provided by package gettext

Aria2c using gettext and zlib but this packages are not listed in aria2c dependencies list.

If two packages, supply the same library we face with big mess.

Regards,
macma
Find all posts by this user
Add Thank You Quote this message in a reply
06-29-2011, 12:52 PM (This post was last modified: 06-29-2011 12:53 PM by vaidyasr.)
Post: #146
RE: [Apps] I-pkg A100/A110 - Updated 9th May
No, you need to give the option -force-overwrite option while installing the packages and the above error is normal.

aria2 dependency has been changed from zlib to libz1 and gettext has been changed to libintl8.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
07-07-2011, 10:51 PM
Post: #147
RE: [Apps] I-pkg A100/A110 - Updated 9th May
Hi everyone.

I'm desperate. I can't manage to see the packages. The list remain empty.
I have uninstall/reinstall/uninstall/reinstall ...
and every time I do "sync packages : yes", it does .... nothing.

What the hell with my HDX 1000.

please, help me !!! Wink

thanks a lot.
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2011, 01:42 AM (This post was last modified: 07-08-2011 01:43 AM by gkreidl.)
Post: #148
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(07-07-2011 10:51 PM)FBI72 Wrote:  Hi everyone.

I'm desperate. I can't manage to see the packages. The list remain empty.
I have uninstall/reinstall/uninstall/reinstall ...
and every time I do "sync packages : yes", it does .... nothing.

What the hell with my HDX 1000.

please, help me !!! Wink

thanks a lot.

Are you working with telnet or from the web interface?

Guenter
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2011, 07:32 AM (This post was last modified: 07-08-2011 07:35 AM by FBI72.)
Post: #149
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(07-08-2011 01:42 AM)gkreidl Wrote:  
(07-07-2011 10:51 PM)FBI72 Wrote:  Hi everyone.

I'm desperate. I can't manage to see the packages. The list remain empty.
I have uninstall/reinstall/uninstall/reinstall ...
and every time I do "sync packages : yes", it does .... nothing.

What the hell with my HDX 1000.

please, help me !!! Wink

thanks a lot.

Are you working with telnet or from the web interface?

Guenter

Hi,

I'm working from the web interface, easier for me.

for example, when installing Download Manager, some packages should be automatically installed. But even there it doesn't work.

FBI
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2011, 09:09 AM
Post: #150
RE: [Apps] I-pkg A100/A110 - Updated 9th May
(07-08-2011 07:32 AM)FBI72 Wrote:  Hi,

I'm working from the web interface, easier for me.

for example, when installing Download Manager, some packages should be automatically installed. But even there it doesn't work.

FBI

I'm using telnet, mostly. The simple web interface works for me, but the ajax package (installed via ipkg) does not install packages.

I have modified the daemon.sh script of ipgk (local). The first part must be changed:

Code:
create_dir()
{
    cd /usr
    if [ -d "local" ]; then
        mv ./local ./local.org
    fi
    ln -s ${LOCAL_DIR} .
    echo "Done<br>"
}

To work with telnet you have to add something to the telnet starscript.sh, in the start_telnetd function:

Code:
echo -n "Starting telnetd: "
    PATH=/share/Apps/AppInit:$PATH

    if [ -d "/share/Apps/local" ]; then
       PATH=$PATH:/usr/local/bin:/usr/local/sbin:/share/Apps/local/bin:/share/Apps/local/sbin
       export PATH
       LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin:/share/Apps/local/lib
       export LD_LIBRARY_PATH
       MANPATH=$MANPATH:/usr/local/share/man:/share/Apps/local/share/man
       export MANPATH
    fi

Guenter
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Did someone compile ath9k_htc module for pch-a110? kay 1 1,107 04-17-2013 02:27 AM
Last Post: dony71
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 263,715 04-10-2013 12:42 PM
Last Post: timwest73
  A110 - Permanent fix for opkg and local binaries path vaidyasr 3 410 03-16-2013 06:40 AM
Last Post: vaidyasr
  mochad or heyu for A110 anybody? dony71 3 429 03-12-2013 05:24 AM
Last Post: dony71
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,061 01-19-2013 04:07 PM
Last Post: winfried_laane
  User apps randomly stopping prem1er 2 789 11-26-2012 05:33 PM
Last Post: Djiest
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,329 11-26-2012 04:57 PM
Last Post: Djiest
Music MPD installation howto (updated 4 May 2009) gwillem 494 285,983 07-20-2012 09:43 PM
Last Post: krimpenrik
  HTTP streaming server on A110 ? dony71 0 1,361 01-26-2012 02:48 AM
Last Post: dony71
  Any apps that can access Amazon Prime - Instant Videos? sagittarius 3 5,059 12-07-2011 09:01 PM
Last Post: Dewdman42

Forum Jump: