Personal tools
You are here: Home cmgui Wiki zinc from source
Views

zinc from source

last edited 6 years ago by stevens

cmgui make -f cmgui.make cmgui-gtk TARGET=static_lib OPT=true

perl interpreter make OPT=1 INCLUDE_PERL=1

  • To build ZINC you need a Mozilla source tree. I am going to use Mozilla-1.7.3 and make a gtk2 build.
    • To build you setup a mozconfig file. I have attached the one I used.

      mozilla-1.7.3-i686-linux-gtk2.mozconfig

    • To make issue this instruction in the root of the mozilla source:
             setenv MOZCONFIG /product/cmiss/mozilla/mozilla-1.7.3/mozilla-1.7.3-i686-linux-gtk2.mozconfig
             make -f client.mk build
             make -f client.mk install
      
  • Put the path to the installed pkg files into your PKG_CONFIG_PATH:
           setenv PKG_CONFIG_PATH /product/cmiss/mozilla/i686-linux/mozilla-1.7.3-gtk2/lib/pkgconfig/
    
  • Build zinc:
           aclocal
           automake
           autoconf
           ./configure
           make
    
  • To make an installable xpi:
           make packages
    
        To use that just go "File->Open" from a mozilla and point it at the file built into the install directory.
    
  • If you install it will put it into your mozilla build that you built against:
           make install
    

Contributing to this site

Please add to the wiki any relevant information that you think might be useful to other users of this website. For example, you might like to contribute your experiences, questions and answers.

You are encouraged to contribute to this site regardless of your level of experience. Contributions are welcomed from new and regular visitors.

If you ask a question and receive an answer from a developer you should record it in the wiki. This information is extremely useful and can help other users overcome the same problem.

See how to add and edit pages for more information.