maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Help Needed] Porting applaucherd from MeeGo to Fremantle to speed up app start time and diminish the amount of RAM taken (https://talk.maemo.org/showthread.php?t=83562)

marmistrz 2012-04-27 16:44

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Ok, now I've got definitely a problem.
I'm porting xcb-proto.
It's a modified debian/rules:
Code:

#!/usr/bin/make -f

export PATH := /usr/bin:$(PATH)
export SBOX_REDIRECT_IGNORE = /usr/bin/python

PATH:=/usr/bin/dh7:/usr/bin:$(PATH)
export PATH
SBOX_REDIRECT_IGNORE=/usr/bin/perl
export SBOX_REDIRECT_IGNORE

override_dh_auto_configure:
        autoreconf -v -f -i
        dh_auto_configure

%:
        dh $@

override_dh_gencontrol:
        dh_gencontrol
        maemo-optify

config.log is:
Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by XCB Proto configure 1.6, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --build=arm-linux-gnueabi --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/xcb-proto --disable-maintainer-mode --disable-dependency-tracking

## --------- ##
## Platform. ##
## --------- ##

hostname = marcin
uname -m = arm
uname -r = 2.6.32-5-amd64
uname -s = Linux
uname -v = #1 SMP Thu Mar 22 17:26:33 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X    = unknown

/bin/arch              = arm
/usr/bin/arch -k      = arm
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine          = unknown
/usr/bin/oslevel      = unknown
/bin/universe          = unknown

PATH: /usr/bin/dh7
PATH: /usr/bin
PATH: /usr/bin
PATH: /host_usr/bin
PATH: /scratchbox/devkits/apt-https/bin
PATH: /scratchbox/devkits/git/bin
PATH: /scratchbox/devkits/svn/bin
PATH: /scratchbox/devkits/doctools/bin
PATH: /scratchbox/devkits/debian-etch/bin
PATH: /scratchbox/devkits/perl/bin
PATH: /scratchbox/devkits/qemu/bin
PATH: /scratchbox/tools/bin
PATH: /targets/links/arch_tools/bin
PATH: /scratchbox/compilers/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /sbin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1703: checking for a BSD-compatible install
configure:1759: result: /usr/bin/install -c
configure:1770: checking whether build environment is sane
configure:1813: result: yes
configure:1870: checking for gawk
configure:1886: found /usr/bin/gawk
configure:1897: result: gawk
configure:1908: checking whether make sets $(MAKE)
configure:1929: result: yes
configure:2112: checking for xmllint
configure:2130: found /usr/bin/xmllint
configure:2143: result: /usr/bin/xmllint
configure:2198: checking for a Python interpreter with version >= 2.5
configure:2213: python -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:2216: $? = 1
configure:2213: python2 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2: command not found
configure:2216: $? = 127
configure:2213: python2.4 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.4: command not found
configure:2216: $? = 127
configure:2213: python2.3 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
configure:2216: $? = 1
configure:2213: python2.2 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.2: command not found
configure:2216: $? = 127
configure:2213: python2.1 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.1: command not found
configure:2216: $? = 127
configure:2213: python2.0 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python2.0: command not found
configure:2216: $? = 127
configure:2213: python1.6 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python1.6: command not found
configure:2216: $? = 127
configure:2213: python1.5 -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)
./configure: line 2214: python1.5: command not found
configure:2216: $? = 127
configure:2223: result: none
configure:2275: error: no suitable Python interpreter found

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=arm-linux-gnueabi
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_XMLLINT=/usr/bin/xmllint
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_pathless_PYTHON=none

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run aclocal-1.8'
AMTAR='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run tar'
AUTOCONF='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run automake-1.8'
AWK='gawk'
CYGPATH_W='echo'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
HAVE_XMLLINT_FALSE='#'
HAVE_XMLLINT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/marcin/libxi6/xcb-proto-1.6-2/missing --run makeinfo'
PACKAGE='xcb-proto'
PACKAGE_BUGREPORT='xcb@lists.freedesktop.org'
PACKAGE_NAME='XCB Proto'
PACKAGE_STRING='XCB Proto 1.6'
PACKAGE_TARNAME='xcb-proto'
PACKAGE_VERSION='1.6'
PATH_SEPARATOR=':'
PYTHON=':'
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.6'
XMLLINT='/usr/bin/xmllint'
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build_alias='arm-linux-gnueabi'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='/home/marcin/libxi6/xcb-proto-1.6-2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${prefix}/lib/xcb-proto'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
xcbincludedir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "XCB Proto"
#define PACKAGE_TARNAME "xcb-proto"
#define PACKAGE_VERSION "1.6"
#define PACKAGE_STRING "XCB Proto 1.6"
#define PACKAGE_BUGREPORT "xcb@lists.freedesktop.org"
#define PACKAGE "xcb-proto"
#define VERSION "1.6"

configure: exit 1

How can I fix it? I've never programmed in python, and don't have an idea what to do with it.

ravent-n900 2012-04-27 17:10

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
didnt find python or not recognize python version

marmistrz 2012-04-27 17:43

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Something like that. I'll post the whole log if it'd help when i'm back on my computer. But it won't be very much more info that here.

marmistrz 2012-04-27 18:39

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
1 Attachment(s)
It's the whole log.

edit: the same happens when using package automake & autoconf instead of automake1.10-autoconf264 & autoconf2.64

ravent-n900 2012-04-27 18:48

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
can you post your python version ?

marmistrz 2012-04-27 19:00

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by ravent-n900 (Post 1198336)
can you post your python version ?

Sure,
python2.5 is certainly present, theres no python1.5 for sure.
I'll provide more details as soon as I get on the scratchbox (writing this on n900) - it should be 2moro afternoon cet.

ravent-n900 2012-04-27 19:02

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

Originally Posted by marmistrz (Post 1198341)
Sure,
python2.5 is certainly present, theres no python1.5 for sure.
I'll provide more details as soon as I get on the scratchbox (writing this on n900) - it should be 2moro afternoon cet.

mine 2.5.4

marmistrz 2012-04-28 08:26

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
mine is 2.5.4 too.

ravent-n900 2012-04-28 09:12

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
Quote:

mine 2.5.4
scratchbox has 2.5.4 or n900?

MartinK 2012-04-28 10:32

Re: [Help Needed] Porting applaucherd from MeeGo to Fremantle to run MeeGo apps on N900.
 
My N900 with CSSU has Python 2.5.4. As IIRC CSSU didn't update Python, also vanilla PR 1.3 should have the same version.


All times are GMT. The time now is 11:32.

vBulletin® Version 3.8.8