PHP & MySQL für OE2.0

  • The normal way is

    Code
    git clone git://git.opendreambox.org/git/opendreambox.git
    cd opendreambox
    make help
    make update
    make image MACHINE=dmXXXX


    before you build an image you can make changes in OE (if you need more)


    example:


    then


    for direct compiling on your Box See my compiler-env (example)


    gruß pclin

  • i tryed, i'm still hitting some errors .i was using xubuntu under virtualbox. like i said, although i am not a complete linux noob, this seems to be a hat too big for me to wear. are you using a virtualmachine envoriment? maybe you can share a prebuilt image with opendreambox. :grinning_squinting_face:


    my gues is that since you are not able to build PHP with mcrypt & mhash , i virtualy have no chance :D. even so, god only knows what cherokee admin will ask for next hehe

  • I use LinuxMint12 on external USB-3.0 Harddisk, with my Business Laptop (Windows7).


    It goes with Virtualmachine too, but I prefer to boot LinuxMint from HD.


    I have tested some Linux Distributions and LinuxMint (32) is for me the Best. I use it since Version 8. (8 - 13 goes)


    It's easy to build an Image and build pakets with bitbake,


    gruß pclin

    Einmal editiert, zuletzt von pclin ()

  • if would only be that easy...i installed linuxmint13 maya and followed every step mentioned by you and i get on make image:


    vali@vali-VirtualBox ~/opendreambox $ make image MACHINE=dm800
    [*] Building image for dm800
    Pseudo is not present but is required, building this first before the main build
    DEBUG: Removed the following variables from the environment: MDMSESSION, MATE_DESKTOP_SESSION_ID, MDM_LANG, MATE_KEYRING_CONTROL, WINDOWPATH, MAKEFLAGS, SSH_AGENT_PID, SHLVL, MANDATORY_PATH, WINDOWID, MATECORBA_SOCKETDIR, MFLAGS, BBFETCH2, USERNAME, MACHINE, MAKEOVERRIDES, XDG_CONFIG_DIRS, DEFAULTS_PATH, OLDPWD, MDM_XSERVER_LOCATION, MAKELEVEL
    DEBUG: Found bblayers.conf (/home/vali/opendreambox/build/dm800/conf/bblayers.conf)
    DEBUG: LOAD /home/vali/opendreambox/build/dm800/conf/bblayers.conf
    DEBUG: CONF /home/vali/opendreambox/build/dm800/conf/bblayers.conf:5: including /home/vali/opendreambox/conf/bblayers-ext.conf
    DEBUG: LOAD /home/vali/opendreambox/conf/bblayers-ext.conf
    DEBUG: CONF /home/vali/opendreambox/build/dm800/conf/bblayers.conf:6: including /home/vali/opendreambox/conf/bblayers-dm800-ext.conf
    DEBUG: LOAD /home/vali/opendreambox/conf/bblayers-dm800-ext.conf
    DEBUG: CONF file '/home/vali/opendreambox/conf/bblayers-dm800-ext.conf' not found
    DEBUG: Adding layer /home/vali/opendreambox/meta-openembedded/meta-xfce
    DEBUG: LOAD /home/vali/opendreambox/meta-openembedded/meta-xfce/conf/layer.conf
    DEBUG: Adding layer /home/vali/opendreambox/meta-openembedded/meta-gnome
    DEBUG: LOAD /home/vali/opendreambox/meta-openembedded/meta-gnome/conf/layer.conf
    DEBUG: Adding layer /home/vali/opendreambox/meta-bsp/dm800
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/dm800/conf/layer.conf
    DEBUG: Adding layer /home/vali/opendreambox/meta-bsp/common
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/layer.conf
    DEBUG: Adding layer /home/vali/opendreambox/meta-opendreambox
    DEBUG: LOAD /home/vali/opendreambox/meta-opendreambox/conf/layer.conf
    DEBUG: Adding layer /home/vali/opendreambox/meta-openembedded/meta-oe
    DEBUG: LOAD /home/vali/opendreambox/meta-openembedded/meta-oe/conf/layer.conf
    DEBUG: Adding layer /home/vali/opendreambox/openembedded-core/meta
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/layer.conf
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/bitbake.conf
    DEBUG: CONF conf/bitbake.conf:652: including conf/abi_version.conf
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/abi_version.conf
    DEBUG: CONF conf/bitbake.conf:653: including conf/site.conf
    DEBUG: CONF file 'conf/site.conf' not found
    DEBUG: CONF conf/bitbake.conf:654: including conf/auto.conf
    DEBUG: CONF file 'conf/auto.conf' not found
    DEBUG: CONF conf/bitbake.conf:655: including conf/local.conf
    DEBUG: LOAD conf/local.conf
    DEBUG: CONF conf/local.conf:4: including /home/vali/opendreambox/conf/opendreambox.conf
    DEBUG: LOAD /home/vali/opendreambox/conf/opendreambox.conf
    DEBUG: CONF conf/local.conf:5: including /home/vali/opendreambox/conf/local-ext.conf
    DEBUG: LOAD /home/vali/opendreambox/conf/local-ext.conf
    DEBUG: CONF file '/home/vali/opendreambox/conf/local-ext.conf' not found
    DEBUG: CONF conf/local.conf:6: including /home/vali/opendreambox/conf/local-dm800-ext.conf
    DEBUG: LOAD /home/vali/opendreambox/conf/local-dm800-ext.conf
    DEBUG: CONF file '/home/vali/opendreambox/conf/local-dm800-ext.conf' not found
    DEBUG: CONF conf/bitbake.conf:656: including conf/build/i686-linux.conf
    DEBUG: CONF file 'conf/build/i686-linux.conf' not found
    DEBUG: CONF conf/bitbake.conf:657: including conf/target/INVALID-oe-linux.conf
    DEBUG: CONF file 'conf/target/INVALID-oe-linux.conf' not found
    DEBUG: CONF conf/bitbake.conf:658: including conf/machine/dm800.conf
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf:8: including conf/machine/include/dreambox-brcmnand.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-brcmnand.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-brcmnand.inc
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf:9: including conf/machine/include/dreambox-nand-64mb.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-nand-64mb.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-nand-64mb.inc
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf:10: including conf/machine/include/dreambox-part-64mb.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-part-64mb.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-part-64mb.inc
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf:11: including conf/machine/include/dreambox-jffs2.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-jffs2.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-jffs2.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-jffs2.inc:1: inheriting classes/image_types_nfi.bbclass
    DEBUG: BB /home/vali/opendreambox/meta-opendreambox/classes/image_types_nfi.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-opendreambox/classes/image_types_nfi.bbclass
    DEBUG: BB /home/vali/opendreambox/meta-opendreambox/classes/image_types_nfi.bbclass:1: inheriting classes/image_types.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/image_types.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/image_types.bbclass
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf:12: including conf/machine/include/dreambox-mips32el-nf.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-mips32el-nf.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-mips32el-nf.inc
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-mips32el-nf.inc:15: including conf/machine/include/dreambox.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox.inc
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-mips32el-nf.inc:16: including conf/machine/include/tune-mips32.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/machine/include/tune-mips32.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/machine/include/tune-mips32.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/machine/include/tune-mips32.inc:3: including conf/machine/include/mips/arch-mips.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/machine/include/mips/arch-mips.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/machine/include/mips/arch-mips.inc
    DEBUG: CONF /home/vali/opendreambox/meta-bsp/dm800/conf/machine/dm800.conf:13: including conf/machine/include/dreambox-legacy-wlan.inc
    DEBUG: BB /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-legacy-wlan.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-bsp/common/conf/machine/include/dreambox-legacy-wlan.inc
    DEBUG: CONF conf/bitbake.conf:659: including conf/machine-sdk/${SDKMACHINE}.conf
    DEBUG: CONF file 'conf/machine-sdk/${SDKMACHINE}.conf' not found
    DEBUG: CONF conf/bitbake.conf:660: including conf/distro/opendreambox.conf
    DEBUG: LOAD /home/vali/opendreambox/meta-opendreambox/conf/distro/opendreambox.conf
    DEBUG: CONF conf/bitbake.conf:661: including conf/distro/defaultsetup.conf
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf:1: including conf/distro/include/default-providers.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/default-providers.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/default-providers.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf:2: including conf/distro/include/default-versions.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/default-versions.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/default-versions.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf:3: including conf/distro/include/default-distrovars.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/default-distrovars.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/default-distrovars.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf:4: including conf/distro/include/world-broken.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/world-broken.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/world-broken.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf:7: including conf/distro/include/tcmode-default.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/tcmode-default.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/tcmode-default.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/tcmode-default.inc:59: including conf/distro/include/as-needed.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/as-needed.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/as-needed.inc
    DEBUG: CONF /home/vali/opendreambox/openembedded-core/meta/conf/distro/defaultsetup.conf:10: including conf/distro/include/tclibc-eglibc.inc
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/tclibc-eglibc.inc: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/distro/include/tclibc-eglibc.inc
    DEBUG: CONF conf/bitbake.conf:662: including conf/documentation.conf
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/documentation.conf
    DEBUG: CONF conf/bitbake.conf:663: including conf/sanity.conf
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/conf/sanity.conf
    DEBUG: BB configuration INHERITs:0: inheriting classes/base.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:3: inheriting classes/patch.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/patch.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/patch.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/patch.bbclass:8: inheriting classes/terminal.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/terminal.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/terminal.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:4: inheriting classes/staging.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/staging.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/staging.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:6: inheriting classes/mirrors.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/mirrors.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/mirrors.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:7: inheriting classes/utils.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/utils.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/utils.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:8: inheriting classes/utility-tasks.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/utility-tasks.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/utility-tasks.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:9: inheriting classes/metadata_scm.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/metadata_scm.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/metadata_scm.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/base.bbclass:10: inheriting classes/logging.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/logging.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/logging.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/buildhistory.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/buildhistory.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/buildhistory.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/buildhistory.bbclass:19: inheriting classes/package.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/package.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/package.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/package.bbclass:41: inheriting classes/packagedata.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/packagedata.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/packagedata.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/package.bbclass:42: inheriting classes/prserv.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/prserv.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/prserv.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/recipe_sanity.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/recipe_sanity.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/recipe_sanity.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/testlab.bbclass
    DEBUG: BB /home/vali/opendreambox/meta-openembedded/meta-oe/classes/testlab.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/meta-openembedded/meta-oe/classes/testlab.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/package_ipk.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/package_ipk.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/package_ipk.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/buildstats.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/buildstats.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/buildstats.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/insane.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/insane.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/insane.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/debian.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/debian.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/debian.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/devshell.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/devshell.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/devshell.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/sstate.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/sstate.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/sstate.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/license.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/license.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/license.bbclass
    DEBUG: BB configuration INHERITs:0: inheriting classes/sanity.bbclass
    DEBUG: BB /home/vali/opendreambox/openembedded-core/meta/classes/sanity.bbclass: handle(data, include)
    DEBUG: LOAD /home/vali/opendreambox/openembedded-core/meta/classes/sanity.bbclass
    DEBUG: Clearing SRCREV cache due to cache policy of: clear
    ERROR: Error parsing configuration files
    Traceback (most recent call last):
    File "/home/vali/opendreambox/bitbake/lib/bb/cooker.py", line 197, in BBCooker.loadConfigurationData():
    self.parseConfigurationFiles(self.configuration.prefile,
    > self.configuration.postfile)
    except SyntaxError:
    File "/home/vali/opendreambox/bitbake/lib/bb/cooker.py", line 870, in BBCooker.parseConfigurationFiles(prefiles=[], postfiles=[]):
    if data.getVar("BB_WORKERCONTEXT", False) is None:
    > bb.fetch.fetcher_init(data)
    bb.codeparser.parser_cache_init(data)
    File "/home/vali/opendreambox/bitbake/lib/bb/fetch2/__init__.py", line 228, in fetcher_init(d=<bb.data_smart.DataSmart object at 0x8ea6c8c>):
    pass
    > revs.clear()
    else:
    File "/home/vali/opendreambox/bitbake/lib/bb/persist_data.py", line 142, in SQLTable.clear():
    def clear(self):
    > self._execute("DELETE FROM %s;" % self.table)

    File "/home/vali/opendreambox/bitbake/lib/bb/persist_data.py", line 66, in SQLTable._execute(*query=('DELETE FROM BB_URI_HEADREVS;',)):
    try:
    > return self.cursor.execute(*query)
    except sqlite3.OperationalError as exc:
    OperationalError: attempt to write a readonly database


    make: *** [image] Error 1

  • A normal build without changes is easy!


    I wrote i build image at last!


    For your php project you don't need to build a Image.


    Sorry, i forgot to say, if you make changes in
    opendreambox/meta-opendreambox/conf/distro/opendreambox/opendreambox.conf


    it will remove by build a normal dreambox image, and no updates are possible.


    Use it only to build with bitbake or cross-compiling.


    In the tutorial you find the way to make OE conform changes so that you can make updates in OE. (but i don't do it, i use different builds, 365GB)


    gruß pclin

    2 Mal editiert, zuletzt von pclin ()

  • Example:
    to build php with gd


    cd vali/opendreambox
    source bitbake.env
    source cross-compile.env dm800
    oe_setenv
    cd build/dm800
    bitbake php (work)
    bitbake gd (fail)


    WARNING: Failed to fetch URL http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz
    search with google for the new URL, search for gd.bb in opendreambox/meta-openembedded, edit gd.bb (new URL http://www.sfr-fresh.com/unix/www/gd-2.0.36RC1.tar.gz)


    bitbake gd (work)
    bitbake -ccleansstate php (remove old build)


    edit php.bb
    --enable-dba \
    --enable-ftp --enable-gd-native-ttf --enable-sqlite-utf8 \
    --with-bz2=${STAGING_LIBDIR}/.. \
    --with-db4=${STAGING_LIBDIR}/.. \
    --with-gd="${STAGING_DIR_TARGET}${prefix}" \
    --with-curl=${STAGING_LIBDIR}/.. \
    bitbake php (work)


    search in opendrembox/tmp/work/mips23el-nf-oe-linux/php for log.do_configure and check it
    you will see only support for gd-native-ttf not for gd (why? gd not complete?)
    edit gd.bb --with-fontconfig \


    bitbake -ccleansstate php
    bitbake -ccleansstate gd


    bitbake gd
    bitbake php


    check php log.do_configure
    or open opendreambox/tmp/deploy/ipk/mips32el-nf/php-cgi (double click)
    open DEBIAN/control and look for Depends:


    now you have php with gd support!


    gruß pclin

    3 Mal editiert, zuletzt von pclin ()

  • ok so i have done it so far. you are mentioning opendreambox/tmp/deploy/ipk/mips32el-nf/
    is this where it is built? what is the difference between mips32el-nf and mips32el?
    as i remember from your posts only php-mips32el is working for me.
    also wanna ask where i go from here to try building with mhash & mcrypt, probabily won't work since you haven't been able to, but just for testing and learning.
    thanks in advance

  • Zitat

    Originally posted by apoklyps3
    what is the difference between mips32el-nf and mips32el?


    The mips32el-nf is a special architecture introduced to reflect the fact that the MIPS core within the SoC of the DM800HD PVR has no FPU. It's relevant to this specific box only, but as you are obviously building for that very box, you have to deal with mips32el-nf. I assume the idea is to build binary executables with inlined FP emulation instead of relying on kernel emulation triggered through the exception path, as the latter performs even worse than FP emulation alone - but I didn't read up on it, so it's just a guess. AFAIR the initial build of GP3.2 for the DM800HD was actually mips32el and it made the box run hot...


    HTH,
    Andre.

  • i have the feeling that what i have built is not for me :(. i can only find mips32el-nf compiled in distro-ipk . i need mips32el.

  • OE2.0


    DM800HD PVR = mips32el-nf


    FPU soft
    Kernel 2.6.18
    udev 124


    DM 8000, DM800se, 500HD und 7020HD = mips32el


    FPU Hard
    Kernel 3.2
    udev 1.82


    example: (dm7020hd - mips32el)

    Code
    git clone git://git.opendreambox.org/git/opendreambox.git
    cd opendreambox
    make help
    echo MACHINE=dm7020hd >> conf/make.conf


    gruß pclin

    6 Mal editiert, zuletzt von pclin ()

  • much apreciated :). also wanna ask where i go from here to try building with mhash & mcrypt, probabily won't work since you haven't been able to acomplish it, but just for testing and learning more.

  • To build mhash we must edit mhash_config.h after oe_runconf


    Code
    /* dmalloc */
    /* #undef USE_DMALLOC */
    
    
    /* Define if using the dmalloc debugging malloc package */
    /* #undef WITH_DMALLOC */
    
    
    /* Define to rpl_malloc if the replacement function should be used. */
    /* #define malloc rpl_malloc


    But now mcrypt failed while cross-compiling...


    gruß pclin

    2 Mal editiert, zuletzt von pclin ()

  • do you have any new progress on this?
    sorry to bother you again, wish i knew more linux like you , but half of what i read is chinese to me LOL. i would contact the mcrypt programer to ask him for directions, but i wouldn't even know what to tell him hehe.

  • Zitat

    Original von apoklyps3
    do you have any new progress on this?
    sorry to bother you again, wish i knew more linux like you , but half of what i read is chinese to me LOL. i would contact the mcrypt programer to ask him for directions, but i wouldn't even know what to tell him hehe.


    We need a cross-compile patch to build mcrypt!


    gruß pclin

  • why would you build php and mysql on your dreambox.


    when you would run this software on an small cpu/mem, you can use the raspberry pi...


    i am using the raspberry pi for perfomance optimisation (web Applications).

  • Hallo,


    muss den Fred nochmal ausgraben.


    Ich würde gerne den php-cli auf meiner DM900 installieren, um damit ein Script ausführen zu können, welches meinen LG TV mit WebOS beim ausschalten der DM ebenfalls in Standby bringt.


    Ein Script dazu habe ich bereits gefunden, welches jedoch auf den php-cli angewiesen ist.


    Die hier angebotene Version läßt sich leider nicht per OPKG install in OE2.5 installieren.

  • Vielen Dank pclin.


    Leider gibt es noch ein paar Abhängigkeitsprobleme:


    Code
    dpkg: dependency problems prevent configuration of php-cgi:  php-cgi depends on libmysqlclient18 (>= 5.5.50); however:   Package libmysqlclient18 is not installed.  php-cgi depends on libmcrypt4 (>= 2.5.8); however:   Package libmcrypt4 is not installed.