[maemo-developers] how to install libIDL-2.0 into scratchbox

From: hong zhang henryzhang62 at yahoo.com
Date: Tue Sep 18 09:28:54 EEST 2007
Thanks for quick response.
I donwloaded libidl tar ball and built.
After one patch for link error of xptcstubs_arm.cpp,
another error pops up, "qemu: uncaught target signal
11 (Segmentation fault) - exiting". See following
error.

any idea?

make[4]: Entering directory
`/tmp/mozilla/security/nss/cmd/shlibsign'
cd mangle; /scratchbox/tools/bin/make -j1 export
make[5]: Entering directory
`/tmp/mozilla/security/nss/cmd/shlibsign/mangle'
make[5]: Nothing to be done for `export'.
make[5]: Leaving directory
`/tmp/mozilla/security/nss/cmd/shlibsign/mangle'
../../../coreconf/nsinstall/Linux2.6_arm_glibc_PTH_OPT.OBJ/nsinstall
-R -m 775 Linux2.6_arm_glibc_PTH_OPT.OBJ/shlibsign
/tmp/mozilla/dist/bin
cd mangle; /scratchbox/tools/bin/make -j1 libs
make[5]: Entering directory
`/tmp/mozilla/security/nss/cmd/shlibsign/mangle'
gcc -o Linux2.6_arm_glibc_PTH_OPT.OBJ/mangle -O2 -fPIC
-DLINUX1_2 -D_XOPEN_SOURCE -DLINUX2_1  -ansi -Wall
-pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE
-DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\"
-DSHLIB_PREFIX=\"lib\" -UDEBUG -DNDEBUG -D_REENTRANT
-DNSS_ENABLE_ECC -I/tmp/mozilla/dist/include/nspr
-I/tmp/mozilla/dist/include 
-I../../../../../dist/public/nss
-I../../../../../dist/private/nss
-I../../../../../dist/include
-I/tmp/mozilla/dist/include/dbm 
Linux2.6_arm_glibc_PTH_OPT.OBJ/mangle.o 
/tmp/mozilla/dist/lib/libsmime.a
/tmp/mozilla/dist/lib/libssl.a
/tmp/mozilla/dist/lib/libnss.a
/tmp/mozilla/dist/lib/libssl.a
/tmp/mozilla/dist/lib/libsectool.a
/tmp/mozilla/dist/lib/libpkcs12.a
/tmp/mozilla/dist/lib/libpkcs7.a
/tmp/mozilla/dist/lib/libcerthi.a
/tmp/mozilla/dist/lib/libpk11wrap.a
/tmp/mozilla/dist/lib/libcryptohi.a
/tmp/mozilla/dist/lib/libcerthi.a
/tmp/mozilla/dist/lib/libnsspki.a
/tmp/mozilla/dist/lib/libpk11wrap.a
/tmp/mozilla/dist/lib/libsoftokn.a
/tmp/mozilla/dist/lib/libcertdb.a
/tmp/mozilla/dist/lib/libnsspki.a
/tmp/mozilla/dist/lib/libnssdev.a
/tmp/mozilla/dist/lib/libnssb.a
/tmp/mozilla/dist/lib/libfreebl.a
/tmp/mozilla/dist/lib/libsecutil.a
/tmp/mozilla/dist/lib/libdbm.a 
-Wl,-rpath,'$ORIGIN/../lib' -L/tmp/mozilla/dist/lib
-lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
../../../../coreconf/nsinstall/Linux2.6_arm_glibc_PTH_OPT.OBJ/nsinstall
-R -m 775 Linux2.6_arm_glibc_PTH_OPT.OBJ/mangle
/tmp/mozilla/dist/bin
make[5]: Leaving directory
`/tmp/mozilla/security/nss/cmd/shlibsign/mangle'
cd Linux2.6_arm_glibc_PTH_OPT.OBJ ; sh
/tmp/mozilla/security/nss/cmd/shlibsign/./sign.sh
/tmp/mozilla/dist \
/tmp/mozilla/security/nss/cmd/shlibsign/Linux2.6_arm_glibc_PTH_OPT.OBJ
Linux \
/tmp/mozilla/dist/lib
/tmp/mozilla/dist/lib/libsoftokn3.so
/tmp/mozilla/security/nss/cmd/shlibsign/Linux2.6_arm_glibc_PTH_OPT.OBJ/shlibsign
-v -i /tmp/mozilla/dist/lib/libsoftokn3.so
qemu: uncaught target signal 11 (Segmentation fault) -
exiting
make[4]: *** [/tmp/mozilla/dist/lib/libsoftokn3.chk]
Error 245
make[4]: Leaving directory
`/tmp/mozilla/security/nss/cmd/shlibsign'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/tmp/mozilla/security/manager'

--- Miko Nieminen <miko.nieminen at gmail.com> wrote:

> On 17/09/2007, hong zhang <henryzhang62 at yahoo.com>
> wrote:
> >
> > List,
> >
> > I have installed maemo 3.1 with scratchbox using
> > installer scripts successfully. It asks libIDL-2.0
> > when firefox is compiled inside scratchbox using
> > SDK_ARMEL . There is no libIDL hearders and
> library in
> > maemo3.1.
> >
> > Does anyone know how to install libIDL package for
> > maemo3.1 or I have to upgrade to maemo3.2 to have
> it?
> 
> 
> You can build those. You can find sources under
> browser project:
>
https://garage.maemo.org/svn/browser/mozilla/trunk/libidl/
> 
> If I remember correctly you can build packages with
> these commands:
> svn co
>
https://garage.maemo.org/svn/browser/mozilla/trunk/libidl/
> cd libidl
> dpkg-buildpackage -rfakeroot -uc -us
> 
> It migh be that you need to fix scratchbox to meet
> all build dependencies
> (to have flex):
>
http://bugzilla.scratchbox.org/bugzilla/show_bug.cgi?id=310
> 
> Thanks very much!
> >
> > ---henry
> >
> >
> >
> >      
>
____________________________________________________________________________________
> > Tonight's top picks. What will you watch tonight?
> Preview the hottest
> > shows on Yahoo! TV.
> > http://tv.yahoo.com/
> >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> >
>
https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
> 
> 
> 
> -- 
> Miko Nieminen
> miko.nieminen at iki.fi
> miko.nieminen at gmail.com
> miko.nieminen at nomovok.com
> 



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 

More information about the maemo-developers mailing list