Successfully transplanted liferea for ARM

Source: Internet
Author: User
The library dependencies for liferea are:
Gtk2, gconf2,
Libxml2, libxslt, sqlite3, gtkhtml2 ########## libgtkhtml-2.11.1 ##########
1.
Comment in Configure. In
Gnome-VFS Configuration
# Pkg_check_modules (gnome_vfs, gnome-vfs-2.0> = 1.9.8,
Have_vfs = true,
# Ac_msg_warn ([*** test apps will be built
Without gnome VFS support.])
# Have_vfs = false) # am_conditional (have_gnome_vfs, test x $ have_vfs = xtrue) 2.
Execute Autoconf to regenerate the configure file 3.
Compile
Export Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
Export
Pkg_config_path =/Zapp/zgtk/lib/pkgconfig
Export
LD_LIBRARY_PATH =/Zapp/zgtk/lib
./Configure -- prefix =/Zapp/liferea
-- Host = arm-None-Linux-gnueabi -- enable-Accessibility = No
Make
Make
Install ########## libxslt-1.1.24 ##########
Libgpg-error-1.7
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
./Configure
-- Prefix =/Zapp/liferea -- Host = arm-none-linux-gnueabilibgcrypt-1.4.4
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
Export
Cflags = "-I/Zapp/liferea/include"
Export libs = "-l/Zapp/liferea/lib
-Lgpg-error"
./Configure -- prefix =/Zapp/liferea
-- Host = arm-none-linux-gnueabilibxslt-1.1.24
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
Export
Third_moudles_path =/work/7/branches/DPF/zshareles/None
Export
Cflags = "-I/Zapp/liferea/include-I $ third_moudles_path/include"
Export
Libs = "-l/Zapp/liferea/lib-L $ third_moudles_path/lib-lgcrypt
-Lgpg-error-liconv"
./Configure -- prefix =/Zapp/liferea
-- Host = arm-None-Linux-gnueabi ########## GConf-2.10.0 ##########
Popt-1.7
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
./Configure
-- Prefix =/Zapp/liferea -- Host = arm-none-linux-gnueabilibIDL-0.8.5
1.
Problem: "cannot run test program while cross
Compiling"
Method:
1.1 Add a cache file
Echo
"Libidl_cv_long_long_format = ll"> arm_idl.cache2. Compile
Export Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
Export
Cflags = "-I/Zapp/liferea/include-I/Zapp/zgtk/include"
Export
Libs = "-l/Zapp/liferea/lib-L/Zapp/zgtk/lib"
./Configure
-- Prefix =/Zapp/liferea -- Host = arm-None-Linux-gnueabi
-- Cache-files = arm_idl.cacheORBit2-2.12.2
1.
Run
Make distclean
Rm-RF
Arm_orbit.cache2.
Problem: "cannot run test program while cross compiling"
Method:
2.1
Note
Release configure #23164: {(Exit 1); Exit 1 ;};
2.2
Add cache file
Echo
"Ac_cv_alignof_corba_boolean = 1
Ac_cv_alignof_corba_char = 1
Ac_cv_alignof_corba_double = 4
Ac_cv_alignof_corba_float = 4
Ac_cv_alignof_corba_long = 4
Ac_cv_alignof_corba_long_double = 4
Ac_cv_alignof_corba_long_long = 4
Ac_cv_alignof_corba_octet = 1
Ac_cv_alignof_corba_pointer = 4
Ac_cv_alignof_corba_short = 2
Ac_cv_alignof_corba_struct = 1
Ac_cv_alignof_corba_wchar = 2"
> Arm_orbit.cache3.
Orbit-idl-2 x86 version must be prepared for cross-Compilation
CP-RF/usr/bin/orbit-idl-2
Src/IDL-compiler/orbit-idl-24.
Compile
Export Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
Export
Cflags = "-I/Zapp/liferea/include-I/Zapp/zgtk/include"
Export
Libs = "-l/Zapp/liferea/lib-L/Zapp/zgtk/lib"
./Configure
-- Prefix =/Zapp/liferea -- Host = arm-None-Linux-gnueabi
-- Cache-file = arm_orbit.cache
NOTE: If compilation fails, open a new window, the previous variable may affect the GConf-2.10.0:
Export
Pkg_config_path =/Zapp/zgtk/lib/pkgconfig:/Zapp/liferea/lib/pkgconfig
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
Export
Cflags = "-I/Zapp/liferea/include-I/Zapp/zgtk/include
-I/Zapp/zgtk/include/glib-2.0-I/Zapp/zgtk/include/glib-2.0/glib"
Export
Libs = "-l/Zapp/liferea/lib-L/Zapp/zgtk/lib-LDL-lgthread-2.0
-Lgobject-2.0-lgmodule-2.0-lglib-2.0-liconv-lgcrypt-lgpg-Error
-LIDL-2-lpopt-lORBit-2-lxml2"
./Configure -- prefix =/Zapp/liferea
-- Host = arm-None-Linux-gnueabi -- enable-gconf-source =/Zapp/liferea ########## libglade-2.6.4 ######## ##
Export
Pkg_config_path =/Zapp/zgtk/lib/pkgconfig:/Zapp/liferea/lib/pkgconfig
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cc = arm-None-Linux-gnueabi-gcc
Export cxx = arm-None-Linux-gnueabi-G ++
./Configure
-- Prefix =/Zapp/liferea -- Host = arm-None-Linux-gnueabi ########## liferea-1.4.28 ##########
1.
Compile
Export
Gconftool =/usr/bin/gconftool-2
Export
Third_moudles_path =/work/7/branches/DPF/zshareles/None
Export
Pkg_config_path = $ third_moudles_path/lib/pkgconfig:/Zapp/zgtk/lib/pkgconfig:/Zapp/liferea/lib/pkgconfig
Export
Path = $ path:/tools/ARM-None-Linux-gnueabi/bin
Export
Cross_compiler = arm-None-Linux-gnueabi-
Export
Cflags = "-I/tools/ARM-None-Linux-gnueabi/sys-root/usr/include
-I $ third_moudles_path/include-I/Zapp/liferea/include
-I/Zapp/zgtk/include/glib-2.0
-I $ third_moudles_path/include/libxml2"
Export
Libs = "-l/tools/ARM-None-Linux-gnueabi/sys-root/usr/lib
-L $ third_moudles_path/lib-L/Zapp/liferea/lib-L/Zapp/zgtk/lib-LDL
-Lgthread-2.0-lgobject-2.0-lgmodule-2.0-lglib-2.0-ldirect-ldirectfb
-Lfusion-LZ-liconv-lgtk-directfb-2.0-lgdk-directfb-2.0-latk-1.0
-Lgdk_pixbuf-2.0-lpangoft2-1.0-lpangocairo-1.0-lfreetype-lfontconfig
-Lpango-1.0-lcairo-lpng12-lpixman-1-lgcrypt-lgpg-error-lIDL-2
-Lpopt-lORBit-2-lgconf-2-lgtkhtml-2-lxslt-lcrypto-lxml2-lsqlite3
-Lglade-2.0"
./Configure -- prefix =/Zapp/liferea
-- Host = arm-None-Linux-gnueabi -- disable-WebKit -- disable-xulrunner
-- Disable-Gecko -- disable-sm -- disable-since -- With-x = No
-- With-gconf-schema-file-Dir =/Zapp/liferea2. modify src/makefile and remove X11
3. Run make & make install
Export
LD_LIBRARY_PATH =/Zapp/zgtk/lib:/Zapp/zbase/lib:/Zapp/liferea/lib
Export
Tslib_tsdevice =/dev/input/event0
Export
Tslib_calibfile =/etc/pointercal
Export tslib_consoledevice =/dev/tty
Export
Tslib_conffile =/Zapp/zgtk/etc/ts. conf

Of course, currently liferea is not running well, so we need to improve the compilation process and modify the code!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.