OpenLDAP 2.4.21. doesn't create packages
Hello,
I'm trying to add the openldap 2.4.21 recipe to my bootable image, and it doesn't seem to be creating the packages. It installs only the libs and no binaries (slapd etc..) ... I looked at the recipe and it seems it should be creating some bin package as well as base etc... but I haven't seen any in my packages directories.
Can someone explain to me what is wrong? Is there a problem with the openldap recipe?
Thanks
Bill
Quoted 8 lines · Bill Sargent
Hello,
I'm trying to add the openldap 2.4.21 recipe to my bootable image, and it doesn't seem to be creating the packages. It installs only the libs and no binaries (slapd etc..) ... I looked at the recipe and it seems it should be creating some bin package as well as base etc... but I haven't seen any in my packages directories.
Can someone explain to me what is wrong? Is there a problem with the openldap recipe?
Thanks
Bill
Well I wrote this the other day and as usual, nobody responded. I finally got it to spit out libldap-2.40*.ipk with the slapd etc... however, adding
libldap-2.4-slapd
and
libldap-2.4-bin
to my IMAGE_INSTALL variable doesn't seem to work. Can someone explain to me, the correct way to install a full working openldap server and utilities into an image?
As much documentation as there is for this, apparently we need a list of installable packages as well since the filenames don't exactly always mean that it's a package name thats installable. If there is one, I've missed it I think :)
Thanks,
Bill
Quoted 21 lines · Bill Sargent
Quoted 9 lines · Bill Sargent
Hello,
I'm trying to add the openldap 2.4.21 recipe to my bootable image, and it doesn't seem to be creating the packages. It installs only the libs and no binaries (slapd etc..) ... I looked at the recipe and it seems it should be creating some bin package as well as base etc... but I haven't seen any in my packages directories.
Quoted 5 lines
Can someone explain to me what is wrong? Is there a problem with the openldap recipe?
Thanks
BillWell I wrote this the other day and as usual, nobody responded. I finally got it to spit out libldap-2.40*.ipk with the slapd etc... however, adding
Quoted 7 lines
libldap-2.4-slapd
and
libldap-2.4-binto my
IMAGE_INSTALLvariable doesn't seem to work. Can someone explain to me, the correct way to install a full working openldap server and utilities into an image?
suppose your image is console-image then you can add something like below to your local.conf
IMAGE_INSTALL_append_pn-console-image = " libldap-2.4-slapd libldap-2.4-bin"
Quoted 16 lines
As much documentation as there is for this, apparently we need a list of installable packages as well since the filenames don't exactly always mean that it's a package name thats installable. If there is one, I've missed it I think :)
Thanks,
Bill_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 8 lines · Khem Raj
suppose your image is console-image then you can add something like below to your local.conf
IMAGE_INSTALL_append_pn-console-image = " libldap-2.4-slapd libldap-2.4-bin"
I get this:
ERROR: [/home/bill/oe/openembedded/recipes/images/console-image.bb] RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'libldap-2.4-slapd' but it wasn't found in any PACKAGE or RPROVIDES variables.
NOTE: Runtime target libldap-2.4-slapd is unbuildable, removing ...
Missing or unbuildable dependency chain was: [libldap-2.4-slapd]
ERROR: Required build target 'console-imageä has no buildable providers.
Missing or unbuilding depenency chain was: [console-image, libldap-2.4-slapd]
I see the packages. I see this specific package. I even erased the packages, cleared the staging, and rebuilt them and they're back again, but it still will not incorporate them in to my image.
Is the recipe correct? SHouldnt the Openldap recipe have a PROVIDES variable in it saying that it provides these packages?
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 13 lines · Bill Sargent
Quoted 9 lines · Khem Raj
suppose your image is console-image then you can add something like below to your local.conf
IMAGE_INSTALL_append_pn-console-image = " libldap-2.4-slapd libldap-2.4-bin"
I get this:
Quoted 9 lines
ERROR: [
/home/bill/oe/openembedded/recipes/images/console-image.bb] RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'libldap-2.4-slapd' but it wasn't found in any PACKAGE or RPROVIDES variables.
NOTE: Runtime target libldap-2.4-slapd is unbuildable, removing ... Missing or unbuildable dependency chain was: [libldap-2.4-slapd]
ERROR: Required build target 'console-imageä has no buildable providers. Missing or unbuilding depenency chain was: [console-image, libldap-2.4-slapd]
well I guess you need openldap-slapd instead of libldap-2.4-slapd and same for other packages
-Khem
Quoted 10 lines · Khem Raj
well I guess you need openldap-slapd instead of libldap-2.4-slapd and same for other packages
-Khem
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
No that doesn't work either.
I did however kind of get them installed by using PACKAGE_INSTALL in my custom recipe. I specified libldap-2.4-slapd and -bin as well as all the other libldap 2.4 backends. I don't know what the difference is in INSTALL_IMAGE and PACKAGE_INSTALL ... I had started out by just modifying console-image and then I used
http://docs.openembedded.org/usermanual/usermanual.html#commonuse_new_image
to create my own. What I need is an image with PHP, Apache2, LDAP and MySQL installed. And I had everything going except LDAP. And now even though I have the packages installed, there are no init scripts for it, and there are no configs for any of this stuff. I just don't get it.
Bill