This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

can't open xdc.tools.cdoc.sg

Hello,

 

when I'm reading the "XDC Consumers User Guide" (spruex4.pdf) to better understand, what the XDC tools are, there is a section 1.6.1 "Using the CDOC Reference Help System" with the command "xs xdc.tools.cdoc.sg". When I run this command, I get the following error message:

warning: package xdc.tools.sg.linux_swt depends on the Mozilla browser for some functionality. Your environment doesn't currently point to Mozilla, so some XDC graphical tools may fail. To prevent this, please set up the following in your environment:

- set the MOZILLA_FIVE_HOME environment variable. Its value should be the directory that contains the file run-mozilla.sh, which you can find using the command

         locate run-mozilla.sh

I created the variable MOZILLA_FIVE_HOME that consists the directory of run-mozilla.sh and created another variable LD_LIBRARY_PATH which includes the MOZILLA_FIVE_HOME var and the MOZILLA_FIVE_HOME/plugins directory. But the command again says that my environment doesn't point to mozilla. So I can't use the CDOC viewer. Does anybody has an idea what I do wrong? I'm using Fedora 12 with DVSDK 3.10.00.16, XDC-tools 3.16.01.27, Firefox 3.5 and Eclipse 3.5.1.

 

Thanks for any help!

  • Hello,

    Can you confirm that the environment variables are set correctly by typing ?

    env | grep MOZILLA_FIVE_HOME

    env | grep LD_LIBRARY_PATH

    Regards

    Amit

  • Hello Amit,

     

    I think, they are set correctly. I've added the commands

    export MOZILLA_FIVE_HOME="usr/lib/xulrunner-1.9.1"

    export LD_LIBRARY_PATH="$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins"

    in my .bashrc file. The variables are created correctly after logout and login again. There is another directory which contains the run-mozilla.sh file ("usr/lib/firefox-3.5") but that one has no /plugins directory so I choose the xulrunner directory. I've tried it with the other directory but the error still remains. It seems to be a java / swt problem and that error occurs with all packages, that have a graphical user interface (e.g. xdc.tools.####.sg).

     

    Regards

  • Locate libgtkembedmoz.so and point MOZILLA_FIVE_HOME to the directory that contains it.

    Joe

  • Hello,

     

    unfortunately there is no libgtkembedmoz.so file in my filesystem. it seems that since firefox 3 the file isn't used anymore. if I search for that file with my package manager (yum), it says, that there is no package which contains that file.

     

    Regards.

  • Hello ,

    This is a bug. The cdoc tool is supported on a really old version of Linux - Redhat  Enterprise Linux3.0. The tool needs to be upgraded to support newer distributions of Linux like Fedora 12/13 and Ubuntu 9/10. You can review the status of this bug in the eclipse bugzilla.

    Regards

    Amit