Liferay: How to configure Liferay Portal

Liferay properties is powerful instrument that allows us to configure Portal behaviour without coding of hooks-, ext- and theme-plugin. By new requirement we proof at first for possibility to solve this requirement with change of Liferay configuration. The default properties configuration can be found at Liferay source code: https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties or in https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties or in liferay-bundles\tomcat-7\webapps\ROOT\WEB-INF\lib\portal-impl.jar … Read more

Android valgrind build fails

For building and installing Valgrind for Android use the bash script below, which I prefer to call build_valgrind.sh To run with RUN_HELLO_JNI_THROUGH_VALGRIND=true you need two additional scripts (bootstrap_valgrind.sh, start_valgrind.sh) in the directory you run the script below from. Running the script with the RUN_HELLO_JNI_THROUGH_VALGRIND=true flag will build the hello-jni application from the samples directory inside … Read more

Why always ./configure; make; make install; as 3 separate steps?

Because each step does different things Prepare(setup) environment for building ./configure This script has lots of options that you should change. Like –prefix or –with-dir=/foo. That means every system has a different configuration. Also ./configure checks for missing libraries that should be installed. Anything wrong here causes not to build your application. That’s why distros … Read more

What’s the difference of “./configure” option “–build”, “–host” and “–target”?

As noted in this blog post and alluded to in the GCC Configure Terms, –target only applies when you are compiling toolchains. When you are doing normal cross-compilation of a library or binary you use –build=the architecture of the build machine –host=the architecture that you want the file to run on However, when you are … Read more