Problem Installation PHP in Yocto

Yocto related software discussions are here

Problem Installation PHP in Yocto

Postby Must_ba » Fri Jan 27, 2017 2:36 am

Hi :
In my project I need to take commands from the webserver , so I compiled apache2 with Yocto , but the datas which is coming from webserver , cant be understandable by system . I need to ınstall php package to the my system.

I used dizzy branch for fsl-community-bsp , my kernel version is 3.10.17-r0
I made lots of research about that and found something but I get errors while executing bitbake core-image-base

I guess i couldnt understand the way of usage of the PACKAGECONFIG , PACKAGECONFIG_append and etc.

my build/conf/local.conf
Code: Select all
MACHINE ??= 'wandboard-quad'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"
CORE_IMAGE_EXTRA_INSTALL_append = " \
    gstreamer \
    gst-meta-video \
    gst-plugins-good-udp \
    gst-plugins-good-rtp \
    gst-plugins-good-rtpmanager \
    gst-plugins-good-video4linux2 \
    gst-fsl-plugin \
    glib-2.0 \
    webmin \
    php-fpm \
    xl2tpd \
    apache2 \
"

PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '8'
PARALLEL_MAKE = '-j 8'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""


and bblayer.conf

Code: Select all
LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"

BBFILES ?= ""
BBLAYERS = " \
  ${BSPDIR}/sources/poky/meta \
  ${BSPDIR}/sources/poky/meta-yocto \
  \
  ${BSPDIR}/sources/meta-openembedded/meta-oe \
  ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
  ${BSPDIR}/sources/meta-openembedded/meta-webserver \
  ${BSPDIR}/sources/meta-openembedded/meta-networking \
  ${BSPDIR}/sources/meta-openembedded/meta-python \
  ${BSPDIR}/sources/meta-openembedded/meta-gnome \
  ${BSPDIR}/sources/meta-openembedded/meta-efl \     
  ${BSPDIR}/sources/meta-openembedded/meta-ruby \       
  ${BSPDIR}/sources/meta-openembedded/toolchain-layer \
  ${BSPDIR}/sources/meta-openembedded/meta-filesystems \ 
  ${BSPDIR}/sources/meta-openembedded/meta-systemd \
  \
  ${BSPDIR}/sources/meta-fsl-arm \
  ${BSPDIR}/sources/meta-fsl-arm-extra \
  ${BSPDIR}/sources/meta-fsl-demos \
"


is like that
It's important part of my project ,so If you help me I would be very appriciated ...

Thanks..
Must_ba
 
Posts: 23
Joined: Thu Jan 19, 2017 11:07 pm

Re: Problem Installation PHP in Yocto

Postby mariareese » Thu Aug 03, 2017 12:09 pm

Similar type of project I am working on .. its helping me out at some points .. :)

___________________
Pharma Software | GST Billing Software
mariareese
 
Posts: 1
Joined: Thu Aug 03, 2017 12:09 pm


Return to Software - Yocto

Who is online

Users browsing this forum: No registered users and 10 guests

cron