PHP & MySQL für OE2.0

  • php_5.3.6


    Serverseitig interpretierte Skriptsprache.


    Die am häufigsten verwendete Sprache zum Erstellen von Websites.


    Code
    Depends: libcrypto0.9.8 (>= 0.9.8x), libxml2 (>= 2.7.8), libz1 (>= 1.2.6), libmysqlclient16 (>= 5.1.40), libssl0.9.8 (>= 0.9.8x), libc6 (>= 2.13), libpam (>= 1.1.5)


    Wenn euch eine lib fehlt, Melden!


    gruß pclin

  • Hallo pclin,


    bist Du wohl so nett, und kannst die Libs als mips32el.ipk Files hier anhängen? Ich kann Sie nirgendwo im weiten Netz finden.


    Vielen Dank

    Leider keine Dreambox..... Support nur beschränkt möglich :) Und das wichtigste zum Schluss.... Fragen gehören ins Forum und nicht in mein Postfach :winking_face:

  • Zitat

    Original von Nobody28
    Hallo pclin,


    bist Du wohl so nett, und kannst die Libs als mips32el.ipk Files hier anhängen? Ich kann Sie nirgendwo im weiten Netz finden.


    Vielen Dank


    Du musst mir schon sagen was du genau haben möchtest.


    Also einfach in der console installieren und posten was fehlt.


    gruß pclin

  • Sorry, war gestern nicht mehr ON, deshlab erst jetzt.


    Ich schließe mich da meinem Vorredner an. Die libmysqlclient16 fehlt. Sie Telnet auszug:


    Code
    Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for php-cgi: * libmysqlclient16 (>= 5.1.40) * libpam (>= 1.1.5) * * opkg_install_cmd: Cannot install package php-cgi. * satisfy_dependencies_for: Cannot satisfy the following dependencies for php-cli: * libmysqlclient16 (>= 5.1.40) * libpam (>= 1.1.5) * * opkg_install_cmd: Cannot install package php-cli.


    Danke für Deine Hilfe!
    LG

    Leider keine Dreambox..... Support nur beschränkt möglich :) Und das wichtigste zum Schluss.... Fragen gehören ins Forum und nicht in mein Postfach :winking_face:

  • Ganz lieben Dank.
    Wenn noch was fehlt melde ich mich gerne.
    LG

    Leider keine Dreambox..... Support nur beschränkt möglich :) Und das wichtigste zum Schluss.... Fragen gehören ins Forum und nicht in mein Postfach :winking_face:

  • Irgendwie klappt das nicht.


    Hast Du Dich evtl. bei den Dateien:


    libmysqlclient-r16_5.1.40-r7_mips32el.ipk und
    libmysqlclient16_5.1.40-r7_mips32el-nf.ipk


    vertan? Das sind doch 2 unterschiedliche Dateinamen.


    Und wenn ich meine Fehlermeldung richtig deute, dann fehlt die Datei:_
    libmysqlclient16_5.1.40-r7_mips32el.ipk


    Kannst Du bitte nochmal schauen?
    Vielen Dank

    Leider keine Dreambox..... Support nur beschränkt möglich :) Und das wichtigste zum Schluss.... Fragen gehören ins Forum und nicht in mein Postfach :winking_face:

  • Sorry hast recht!


    Es gibt beide Varianten ihr braucht aber nur die eine.


    Tausche die Datei direkt aus!



    gruß pclin

  • Danke für den schnellen Service.


    LG

    Leider keine Dreambox..... Support nur beschränkt möglich :) Und das wichtigste zum Schluss.... Fragen gehören ins Forum und nicht in mein Postfach :winking_face:

  • Wow @ pclin


    Ich ziehe meinen Hut vor deiner unermüdlichen Arbeit @ pclin !


    Mach bitte so weiter.


    Grandios!

    Löscht den - gutemine - Feed auf Eurer Box.
    Das ist SCHADSOFTWARE und kann Euer Image zerstören!


    Grüsse Pocky :)
    -------------------

  • Eine Version von php mit anderen EXTRA_OECONF Einstellungen.


    zusätzliche Einträge

    Code
    --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}/.. \


    Code
    Depends: libcrypto0.9.8 (>= 0.9.8x), libxml2 (>= 2.7.8), libz1 (>= 1.2.6), db (>= 5.1.19), libmysqlclient16 (>= 5.1.40), libcurl4 (>= 7.24.0), gd (>= 2.0.35+2.0.36rc1), libssl0.9.8 (>= 0.9.8x), libc6 (>= 2.13), libbz2-0 (>= 1.0.6), libpam (>= 1.1.5)


    gruß pclin

  • seems that gd module needs something more:


    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for gd:
    * libpng12-0 (>= 1.2.49) *

  • gd package installed succesfuly, but the error about it missing is still in cherokee admin interface when trying to install from market , so i figured i must installed the new php packages provided by you.
    seems php new packages don't work for me. i have uninstalled the old php and tryied to
    install the new but this is what i get:


    Installing php-cgi (5.3.6-r0.0) to root...
    Installing php-cli (5.3.6-r0.0) to root...
    Installing php-pear (5.3.6-r0.0) to root...
    Installing php (5.3.6-r0.0) to root...
    Collected errors:
    * opkg_install_pkg: Package php-cgi md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
    * opkg_install_cmd: Cannot install package php-cgi.
    * opkg_install_pkg: Package php-cli md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
    * opkg_install_cmd: Cannot install package php-cli.
    * opkg_install_pkg: Package php-pear md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
    * opkg_install_cmd: Cannot install package php-pear.
    * opkg_install_pkg: Package php md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
    * opkg_install_cmd: Cannot install package php.


    of course i have tryed opkg update, but it still doesn't work.

  • opkg knows the old(normal) md5sum.


    The new md5sum is different (mismatch).


    1. The easy way is to unpack and copy the files in your Image.


    2. Edit /var/lib/opkg mips32el, change the md5sum


    2. You can use a new Image


    3. I make php with a different Version (5.5.6-r0.0-gd)


    gruß pclin

    2 Mal editiert, zuletzt von pclin ()

  • After deleting all php paket entry in /var/lib/opkg/official-mips32el(-nf).
    You can install the new php.


    gruß pclin

  • thanks alot man,i have replaced the md5 checsums with the new ones. yet now i stumble on another error...this seems to be endless LOL =))


    when i try to install phpmyadmin it says :The 'mcrypt' module is not supported by your PHP interpreter


    seems like everytime it's still missing something.thanks alot for the tutorials you sent me, i will give them a try tomorrow in order to build php with mcrypt too :). wouldn't be such a big isue if i only knew how to create mysql databases in comand line rather than using phpmyadmin interface.

  • I try to build mcrypt, it needs mhash


    mhash lib was build but


    Code
    Making all in src
    make[1]: Betrete Verzeichnis '/home/um/Dream/opendreambox/build/cross/mhash-0.9.9.9/src'
    ../mipsel-oe-linux-libtool --tag=CC   --mode=link mipsel-oe-linux-gcc -mel -mabi=32 -msoft-float -march=mips32 --sysroot=/home/um/Dream/opendreambox/tmp/sysroots/dm800  -g -O2   -o driver driver.o ../lib/libmhash.la 
    mipsel-oe-linux-libtool: link: mipsel-oe-linux-gcc -mel -mabi=32 -msoft-float -march=mips32 --sysroot=/home/um/Dream/opendreambox/tmp/sysroots/dm800 -g -O2 -o .libs/driver driver.o  ../lib/.libs/libmhash.so
    ../lib/.libs/libmhash.so: undefined reference to `rpl_malloc'
    collect2: ld returned 1 exit status
    make[1]: *** [driver] Fehler 1
    make[1]: Verlasse Verzeichnis '/home/um/Dream/opendreambox/build/cross/mhash-0.9.9.9/src'
    make: *** [all-recursive] Fehler 1


    i tried with
    oe_autoreconf
    oe_runconf
    oe_runmake



    gruß pclin

    3 Mal editiert, zuletzt von pclin ()

  • i haven't even got so far :frowning_face:
    i was following your tutorial on building openembedded and can't install all packages needed. even tryied a script found on on openembedded.org:


    !/bin/sh


    APPS=$HOME/projects/Applications
    add ()
    {
    apt-get install $1
    }


    unlink /bin/sh
    ln -s /bin/bash /bin/sh


    # sudo sysctl -w vm.mmap_min_addr=128


    add python-dev
    add diffstat
    add cvs
    add mercurial
    add openjade
    add docbook
    add sgmltools-lite
    add docbook-utils
    add texinfo
    add texi2html
    add gawk
    add chrpath
    add subversion
    add python-ply
    add python-progressbar


    # add libc6-dev
    add libsdl1.2-dev
    add help2man
    # add reader


    mkdir -p $APPS


    function add_psyco
    {
    cd $APPS
    wget http://wyvern.cs.uni-duesseldo…yco/psyco-snapshot.tar.gz
    tar -zxvf psyco-snapshot.tar.gz
    cd psyco-dist
    python setup.py install
    }


    add_psyco


    function add_bitbake
    {
    cd $APPS
    wget http://download.berlios.de/bitbake/bitbake-1.12.0.tar.gz
    tar -zxvf bitbake-1.12.0.tar.gz
    ln -s bitbake-1.12.0 bitbake
    }
    add_bitbake


    function add_pcre
    {
    cd $APPS
    wget ftp://ftp.csx.cam.ac.uk/pub/so…ng/pcre/pcre-8.30.tar.bz2
    tar -jxvf pcre-8.30.tar.bz2
    cd pcre-8.30
    ./configure --enable-utf8
    make
    make install
    }
    add_pcre



    yet it fails at the psyco-snapshot, the link seems to be broken :(. getting OE with bitbake is no easy cake :grinning_squinting_face: