Hi there,
I'm new to Embedded Linux,
I'm trying to instal LAMP (PHP 5.6) can anyone help me out here?
Thanks
Manish
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi there,
I'm new to Embedded Linux,
I'm trying to instal LAMP (PHP 5.6) can anyone help me out here?
Thanks
Manish
Hi Titus,
Thanks for you reply,
can I install Nginx and PHP >= 5.5.9 (fast-cgi) on OMAP-L138 LCDK Linux SDK?
I've setup NFS on ubuntu 16 LTS, so I need install this in /opt/ti/mcsdk_1_01_00_02/targetNFS/ instead of root /var
Thanks
Manish
Hi Titus,
./configure --prefix=/opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/ -host=arm-arago-linux-gnueabi CC=arm-arago-linux-gnueabi-gcc RANLIB=arm-arago-linux-gnueabi-ranlib STRIP=arm-arago-linux-gnueabi-strip --without-zlib --without-bzip2 --without-pcre
I'm getting following error:
manish@ubuntu:~/build_pcre/pcre-8.21$ sudo make install
make[1]: Entering directory '/home/manish/build_pcre/pcre-8.21'
test -z "/opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib" || /bin/mkdir -p "/opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c libpcre.la libpcreposix.la libpcrecpp.la '/opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libpcre.so.0.0.1 /opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib/libpcre.so.0.0.1
libtool: install: (cd /opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib && { ln -s -f libpcre.so.0.0.1 libpcre.so.0 || { rm -f libpcre.so.0 && ln -s libpcre.so.0.0.1 libpcre.so.0; }; })
libtool: install: (cd /opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib && { ln -s -f libpcre.so.0.0.1 libpcre.so || { rm -f libpcre.so && ln -s libpcre.so.0.0.1 libpcre.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcre.lai /opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib/libpcre.la
libtool: install: warning: relinking `libpcreposix.la'
libtool: install: (cd /home/manish/build_pcre/pcre-8.21; /bin/bash /home/manish/build_pcre/pcre-8.21/libtool --tag CC --mode=relink arm-arago-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/ti/mcsdk_1_01_00_02/linux-devkit/sysroots/armv5te-3.3-oe-linux-gnueabi -version-info 0:0:0 --sysroot=/opt/ti/mcsdk_1_01_00_02/linux-devkit/sysroots/armv5te-3.3-oe-linux-gnueabi -o libpcreposix.la -rpath /opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib pcreposix.lo libpcre.la )
libtool: relink: arm-arago-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/pcreposix.o -Wl,-rpath -Wl,/opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib -L/opt/ti/mcsdk_1_01_00_02/targetNFS/usr/local/lib -lpcre -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/ti/mcsdk_1_01_00_02/linux-devkit/sysroots/armv5te-3.3-oe-linux-gnueabi --sysroot=/opt/ti/mcsdk_1_01_00_02/linux-devkit/sysroots/armv5te-3.3-oe-linux-gnueabi -Wl,-soname -Wl,libpcreposix.so.0 -o .libs/libpcreposix.so.0.0.0
/home/manish/build_pcre/pcre-8.21/libtool: line 8964: arm-arago-linux-gnueabi-gcc: command not found
libtool: install: error: relink `libpcreposix.la' with the above command before installing it
Makefile:712: recipe for target 'install-libLTLIBRARIES' failed
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory '/home/manish/build_pcre/pcre-8.21'
Makefile:1465: recipe for target 'install-am' failed
make: *** [install-am] Error 2
but make works fine... at least I think it works fine with no errors.
Thanks
Manish
I tried samarthparikh.blogspot.co.uk/.../cross-compile-lighttpd-php-for-arm.html PHP & XML2 works on target box (OMAP L138 LCDK) but not lighttpd
Can you also help me find a cross compile for PHP 5.6?