Hi, everybody I've a puzzle on yelp, I haven't not known which gecko should be used by yelp when there are two or more different versions of gecko existed in system.
I've moblin installed in "Machine A" and "Machine B" , there have two gecko : Machine A: ---------------------------- [r...@localhost ~]# rpm -qa|grep xulrunner xulrunner-1.9.1-1.1.moblin2.i586 xulrunner-headless-0.0~20090630-1.1.moblin2.i586 [r...@localhost ~]# rpm -qa|grep yelp yelp-2.26.0-2.1.moblin2.i586 [r...@localhost ~]# cat /etc/gre.d/gre.conf [1.9.1] GRE_PATH=/usr/lib/xulrunner-1.9.1 xulrunner=true abi=x86-gcc3[r...@localhost ~]# ====================================== But when I run yelp there was a "Could not initialize gecko!" error. When strace it , have the following log : ------------------------------------------------------------------------------ 1341 munmap(0xb6750000, 4096) = 0 1342 open("/usr/lib/xulrunner-1.9.2a1pre-headless/libxpcom.so", O_RDONLY) = 12 1343 read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0$ \0\0004\0\0\0\344"..., 512) = 512 1344 fstat64(12, {st_mode=S_IFREG|0755, st_size=17948, ...}) = 0 1345 mmap2(NULL, 20720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) = 0xb515e000 1346 mmap2(0xb5162000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x3) = 0xb5162000 1347 close(12) = 0 1348 mprotect(0xb5162000, 4096, PROT_READ) = 0 1349 write(2, "Could not initialize gecko!\n"..., 28Could not initialize gecko! 1350 ) = 28 =============================================================================== Machine B ( Moblin system ): ------------------------------------------------ [r...@localhost ~]# rpm -qa|grep xulrunner xulrunner-headless-devel-0.0~20090630-1.1.moblin2.i586 xulrunner-1.9.1-1.1.moblin2.i586 xulrunner-headless-0.0~20090630-1.1.moblin2.i586 [r...@localhost ~]# rpm -qa|grep yelp yelp-2.26.0-2.1.moblin2.i586 [r...@localhost ~]# cat /etc/gre.d/gre.conf [1.9.1] GRE_PATH=/usr/lib/xulrunner-1.9.1 xulrunner=true abi=x86-gcc3[r...@localhost ~]# ================================= It looks like Machine A, but run yelp is ok. starce info : -------------------------------------------------------- 1363 munmap(0xb66f1000, 4096) = 0 1364 open("/usr/lib/xulrunner-1.9.1/libxpcom.so", O_RDONLY) = 12 1365 read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20 \0\0004\0\0\0\344"..., 512) = 512 1366 fstat64(12, {st_mode=S_IFREG|0755, st_size=17948, ...}) = 0 1367 mmap2(NULL, 20720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) = 0xb8018000 1368 mmap2(0xb801c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x3) = 0xb801c000 1369 close(12) = 0 1370 mprotect(0xb801c000, 4096, PROT_READ) = 0 1371 brk(0x90fb000) = 0x90fb000 ========================================================= Maybe you've found that : In Machine A , have a info : ------------------------------------------------------------------------------ 1342 open("/usr/lib/xulrunner-1.9.2a1pre-headless/libxpcom.so", O_RDONLY) = 12 ============================================================================== In Machine B, have a info : ---------------------------------------------------------------- 1364 open("/usr/lib/xulrunner-1.9.1/libxpcom.so", O_RDONLY) = 12 ================================================================ I'm puzzle why "Machine A" look for "/usr/lib/xulrunner-1.9.2a1pre-headless/libxpcom.so" , but the "Machine B" look for "/usr/lib/xulrunner-1.9.1/libxpcom.so" . Did anyone can give me a advice ? Any help I would like to thank . Thanks -- Jian Lee MSN : lijian....@gmail.com _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists