PDA

Bekijk de volledige versie : Problems installing self-compiled programs



QMax
26-09-2009, 15:24
Finally I'm able to cross compile for my Asus WL500W/Oleg 1.9.2.7-10.
I successfully compiled hello and esniper, but if I try to install on my router:


Installing hello (2.3-1) to /opt/...
Nothing to be done
Successfully terminated.
Collected errors:
Package hello md5sum mismatch. Either the ipkg or the package index are corrupt. Try 'ipkg update'.

It seems a problem with ipkg package, cause if I run my compiled hello on Asus it works fine.

Any help ?

Thanks

DrChair
26-09-2009, 17:58
what command are you using to install your self compiled ipkg, and what's the filename??

The "official" optware repository also has hello_2.3-1_mipsel.ipk, so if your self compiled version has the same name (version), but a different md5-checksum, you get that error.

So either give your own ipkg another versionnumber (i.e. 2.3-2) or just use the version from the repository (cause it's the same anyways).

(a third option would be, to run "make index" on your crosscompile machine, make the packages directory available via http, and change the /opt/etc/ipkg.conf to point to your own repository.
then run a ipkg update, so it gets a list of your own packages (+ md5-checksums). After this you can install your own packages.)

QMax
26-09-2009, 18:18
Thanks for your reply.

I used 'ipkg install ./hello_2.3-1_mipsel.ipk'

as you can see, same name of the file on repository.

I'll try to change ipkg version in hello.mk file.

Many thanks.

Max