List Info

Thread: Scratchbox SDK




Scratchbox SDK
user name
2007-04-11 11:15:02
Hi!

I have a first scratchbox-based SDK packge for GPE Phone
Edition available. You
can use this to build binaries for the VMWare Demo images,
but it should be
pretty easy to reproduce the same for arbitrary cellphone
devices.
It is quite similar to the VMWare images because scratchbox
behaves like a
virtual machine. You can compile, install and test binaries
there like on a real
device. To test GUI applications you can use Xoo running on
your host PC. You
can update the installed libraries in Scratchbox like on a
PC: Install an
updated ipk (if you have) or build and install a new piece
of software in there.

I hope the compiler works on all current distributions. You
can find some
instructions and download links in the Wiki:

http
://www.linuxtogo.org/gowiki/DevelopmentTools

Please report problems and success so that we can improve
this SDK. I would like
to make an official release and add it to the download
section once it is proven
to work reliable.

Some known issues are:
- autogen.sh fails to generate a correct po/Makefile.in for
some parts of our
software. In this case try to use the autogen.sh from
gpe-applauncher.
- libsettings is not yet included. You can build it from
svn, and install it in
the SDK - it might be useful to set the prefix to /usr which
is what all other
libraries use too.
- The /etc directory is quite limited and might want to
contain some more stuff
necessary for launching the GUI applications.

Enjoy!

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49
271-771091-15
and the reality of tomorrow.            Fax: +49
271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boorkernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

_______________________________________________
Gpephone-devel mailing list
Gpephone-devellinuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/lis
tinfo/gpephone-devel

Re: Scratchbox SDK
user name
2007-04-12 10:53:14
hi, Florian,

I tried your scratchbox-based SDK, but I can not make compile on it.

when I tried to compile libim, I got following error message:
 g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -Wall -I../../src -I../../include -I../../src/log -I../../src/xmpp -pthread -I/usr/include/glib- 2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/lips_event -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -isystem/usr//i486-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -DDBUS_API_SUBJECT_TO_CHANGE -DG_LOG_DOMAIN="IM" -g -O2 -MT improxy.lo -MD -MP -MF .deps/improxy.Tpo -c ../../src/improxy.cpp  -fPIC -DPIC -o .libs/improxy.o
In file included from /usr/include/gloox/clientbase.h:19,
     ;           ; from /usr/include/gloox/client.h:17,
  ;           ;    from ../../src/xmpp/im_xmpp_connect.h:19,
 ;           ;     from ../../src/improxy.cpp:19:
/usr/include/gloox/gloox.h:286:18: error: string: No such file or directory
/usr/include/gloox/gloox.h:287:16: error: list: No such file or directory
/usr/include/gloox/gloox.h:288:15: error: map: No such file or directory
In file included from /usr/include/gloox/clientbase.h:21,
     ;           ; from /usr/include/gloox/client.h:17,
  ;           ;    from ../../src/xmpp/im_xmpp_connect.h:19,
   ;           ;   from ../../src/improxy.cpp:19:
......

Then I tried to compile gloox in scratchbox, the similar error comes:
 g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -Wall -I../../src -I../../include -I../../src/log -I../../src/xmpp -pthread -I/usr/include/glib- 2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/lips_event -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -isystem/usr//i486-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -DDBUS_API_SUBJECT_TO_CHANGE -DG_LOG_DOMAIN="IM" -g -O2 -MT improxy.lo -MD -MP -MF .deps/improxy.Tpo -c ../../src/improxy.cpp  -fPIC -DPIC -o .libs/improxy.o
In file included from /usr/include/gloox/clientbase.h:19,
           ;      from /usr/include/gloox/client.h:17,
           ;      from ../../src/xmpp/im_xmpp_connect.h:19,
           ;      from ../../src/improxy.cpp:19:
/usr/include/gloox/gloox.h:286:18: error: string: No such file or directory
/usr/include/gloox/gloox.h:287:16: error: list: No such file or directory
/usr/include/gloox/gloox.h:288:15: error: map: No such file or directory
In file included from /usr/include/gloox/clientbase.h:21,
           ;      from /usr/include/gloox/client.h:17,
           ;      from ../../src/xmpp/im_xmpp_connect.h:19,
           ;      from ../../src/improxy.cpp:19:
/usr/include/gloox/logsink.h:21:19: error: fstream: No such file or directory
......

It looks like the C++ string (and others) head file could not be found. How can we get rid of the problem ?

Regards!

Liangjing

2007/4/11, Florian Boor < florian.boorkernelconcepts.de">florian.boorkernelconcepts.de>;:
Hi!

I have a first scratchbox-based SDK packge for GPE Phone Edition available. You
can use this to build binaries for the VMWare Demo images, but it should be
pretty easy to reproduce the same for arbitrary cellphone devices.
It is quite similar to the VMWare images because scratchbox behaves like a
virtual machine. You can compile, install and test binaries there like on a real
device. To test GUI applications you can use Xoo running on your host PC. You
can update the installed libraries in Scratchbox like on a PC: Install an
updated ipk (if you have) or build and install a new piece of software in there.

I hope the compiler works on all current distributions. You can find some
instructions and download links in the Wiki:

http://www.linuxtogo.org/gowiki/DevelopmentTools

Please report problems and success so that we can improve this SDK. I would like
to make an official release and add it to the download section once it is proven
to work reliable.

Some known issues are:
- autogen.sh fails to generate a correct po/Makefile.in for some parts of our
software. In this case try to use the autogen.sh from gpe-applauncher.
- libsettings is not yet included. You can build it from svn, and install it in
the SDK - it might be useful to set the prefix to /usr which is what all other
libraries use too.
- The /etc directory is quite limited and might want to contain some more stuff
necessary for launching the GUI applications.

Enjoy!

Greetings

Florian

--
The dream of yesterday&nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; Florian Boor
is the hope of today ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;Tel: +49 271-771091-15
and the reality of tomorrow.&nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] ; &nbsp; &nbsp; &nbsp;  florian.boorkernelconcepts.de"> florian.boorkernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

_______________________________________________
Gpephone-devel mailing list
Gpephone-devellinuxtogo.org"> Gpephone-devellinuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpephone-devel



--
RegardsŁĄ

Liangjing
Re: Scratchbox SDK
user name
2007-04-12 18:25:16
Hi,

Liangjing Zhao wrote:

> It looks like the C++ string (and others) head file
could not be found.
> How can we get rid of the problem ?

it looks like we are lacking some C++ development files.
I'll search for them
later today.

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49
271-771091-14
and the reality of tomorrow.            Fax: +49
271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boorkernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

_______________________________________________
Gpephone-devel mailing list
Gpephone-devellinuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/lis
tinfo/gpephone-devel

Re: Scratchbox SDK
user name
2007-04-16 18:06:36
Hi,

Liangjing Zhao wrote:

> I tried your scratchbox-based SDK, but I can not make
compile on it.

http://www.linuxtogo.org/~florian/gpepe/
libstdc++-dev_4.1.1-r13_i486.ipk

Please install this package in Scratchbox. It might be
necessary to use the
-force-install parameter.

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49
271-771091-14
and the reality of tomorrow.            Fax: +49
271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boorkernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

_______________________________________________
Gpephone-devel mailing list
Gpephone-devellinuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/lis
tinfo/gpephone-devel

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )