Hi Alexander,
Since I could not find the latest binary package , I tried to build the
midbrowser from the source code but I did not succeed. What I did were
the followings.
1) I downloaded the source tar ball from
http://moblin.org/repos/releases/mobile-browser/mobile-browser-0.3.0b5a-6.tar.gz
2) installed xulrunner-1.9-dev
3) symlink /usr/lib/pkgconfig/mozill-nspr-1.9.pc to mozilla-nspr.pc
4) ./configure --enabe-application=browser --disable-crashreporter
5) make
I got compile error below. Will you let me know how you building the
browser? Or are there any binary package available?
Akira
--
c++ -o nsTHashtable.o -c -fvisibility=hidden -DOSTYPE=\Linux2.6\
-DOSARCH=Linux -DTARGET_XPCOM_ABI=\x86-gcc3\ -I./../build -I. -I.
-I../../dist/include/string -I../../dist/include
-I../../dist/include/xpcom -I/usr/include/xulrunner-1.9a8/stable
-I../../dist/sdk/include-fPIC -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long
-pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50
-DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsTHashtable.pp nsTHashtable.cpp
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsAString)':
nsTHashtable.cpp:58: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsACString)':
nsTHashtable.cpp:81: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const char*)':
nsTHashtable.cpp:94: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const PRUnichar*)':
nsTHashtable.cpp:107: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In static member function 'static PRUint32
nsIDHashKey::HashKey(const nsID*)':
nsTHashtable.cpp:128: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
make[4]: *** [nsTHashtable.o] Error 1
c++ -o nsTHashtable.o -c -fvisibility=hidden -DOSTYPE=\Linux2.6\
-DOSARCH=Linux -DTARGET_XPCOM_ABI=\x86-gcc3\ -I./../build -I. -I.
-I../../dist/include/string -I../../dist/include
-I../../dist/include/xpcom -I/usr/include/xulrunner-1.9a8/stable
-I../../dist/sdk/include-fPIC -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long
-pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50
-DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsTHashtable.pp nsTHashtable.cpp
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsAString)':
nsTHashtable.cpp:58: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const nsACString)':
nsTHashtable.cpp:81: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const char*)':
nsTHashtable.cpp:94: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In function 'PRUint32 HashString(const PRUnichar*)':
nsTHashtable.cpp:107: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
nsTHashtable.cpp: In static member function 'static PRUint32
nsIDHashKey::HashKey(const nsID*)':
nsTHashtable.cpp:128: error: 'PR_ROTATE_LEFT32' was not declared in this
scope
make[4]: *** [nsTHashtable.o] Error 1
Alexander Sack wrote:
On Thu, May 15, 2008 at 06:46:11PM +0900, Akira Nonaka wrote:
Hi,
So I have installed the Japanese language pack into the midbrowser and
launched it with the parameter --UILocale=ja, it works fine!
However, even if I set the locale, it seems the midbrowser ignore them.
Does anyone have a clue?
Below is my locale setting on the CRB.
Please test the latest version in mobile/ppa/hardy ... that should set
midbrowser to consider your LANG environment for selecting the
UI locale.
- Alexander
--
Akira Nonaka
Miracle Linux,Tokyo
--
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile