[Meego-distribution-tools] mic2 dependencies (2)
Jian-feng Ding
jian-feng.ding at intel.com
Thu Nov 3 10:26:29 UTC 2011
The "python-urlgrabber" package should be required by "pykickstart" package, which
is required by mic2 directly. After installing mic2 in bootstrap chroot env (yes,
mic2 in the pkglist), the python-urlgrabber should be installed too. Please confirm
it again.
But for the openssl issue, it is another story. The latest python-urlgrabber pkg
is not a pure python programs any more, but a wrapper of pycurl/libcurl, which will
use libssl for https links. But the openssl pkg in MeeGo has compatibility problem
with openSUSE11.4, which cause the library cannot work in chroot env inside it.
There's a workaround method, try to force mic2 to run in native mode. You need
to modify the code a little. I know you can find how to do quickly:)
Anyway, the old mic2 will be replaced by a new written tool, named "mic", which
will be much better. As Kevin have told you, you can have a try by using the pkgs
in devel:tools:building project of MeeGo obs.
Thanks
- jf.ding
On Thu, Nov 03, 2011 at 04:44:01PM +0800, Ed Bartosh wrote:
> Hi,
>
> I'm trying to get mic2 working on my OpenSUSE 11.4 system. Surprisingly it
> took much longer than I expected. It looks like I didn't get the idea behind
> it and doing something wrong.
>
> When I run it first time it crashed because python-urlgrabber was not
> installed. After reading this
> http://wiki.meego.com/Image_Creation#python_related_issues I got confused.
> Urlgrabber was never shipped with python and has nothing to do with the way
> how python is built. Correct me if I'm wrong but the reason for this crash
> as I can see it is that mic2 uses Urlgrabber inside bootstrap chroot, but
> package mic2 doesn't depend on python-urlgrabber.
>
> Then I looked at bootstrap.py code and realized that it has hardcoded list
> of packages inside it !!! I added python-urlgrabber to that list and got
> next traceback about pycurl. After adding pycurl next error came:
> 'libcrypto.so.10: cannot open shared object file: No such file or
> directory'. OK, added ssl to the list and it crashed because libidn is not
> there. At that point I realized that I'm going wrong way. Can you explain me
> what's the right one?
>
> PS: I used several versions of the package and they all crashed more or less
> similar way. Now I'm using the latest code from git at
> https://meego.gitorious.org/meego-developer-tools/image-creator
>
> Regards,
> Ed
>
> _______________________________________________
> MeeGo-distribution-tools mailing list
> MeeGo-distribution-tools at lists.meego.com
> http://lists.meego.com/listinfo/meego-distribution-tools
More information about the MeeGo-distribution-tools
mailing list