Personal tools
You are here: Home Forum Install & build make install on Mandrake 10.1

make install on Mandrake 10.1

Up to Install & build
  • make install on Mandrake 10.1

    Posted by Todd Martin at April 12. 2007
    Hi Next problem. Can someone please tell me why make install is trying to install files in /opt/salome/lib/salome I configured the make with --prefix=/usr/local although previously I had tried to configure with --prefix=/opt/salome Do I need to clear something on my system? Thanks, Todd. Making install in Basics make[2]: Entering directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/Basics' make[3]: Entering directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/Basics' /bin/sh ../../../salome_adm/unix/config_files/mkinstalldirs /usr/local//lib/salome /bin/sh ../../libtool --mode=install /usr/bin/install -c libSALOMEBasics.la /usr/local//lib/salome/libSALOMEBasics.la /usr/bin/install -c .libs/libSALOMEBasics.so.0.0.0 /usr/local//lib/salome/libSALOMEBasics.so.0.0.0 (cd /usr/local//lib/salome && rm -f libSALOMEBasics.so.0 && ln -s libSALOMEBasics.so.0.0.0 libSALOMEBasics.so.0) (cd /usr/local//lib/salome && rm -f libSALOMEBasics.so && ln -s libSALOMEBasics.so.0.0.0 libSALOMEBasics.so) /usr/bin/install -c .libs/libSALOMEBasics.lai /usr/local//lib/salome/libSALOMEBasics.la libtool: install: warning: remember to run `libtool --finish /opt/salome/lib/salome' /bin/sh ../../../salome_adm/unix/config_files/mkinstalldirs /usr/local//include/salome /usr/bin/install -c -m 644 ../../../src/Basics/BasicsGenericDestructor.hxx /usr/local//include/salome/BasicsGenericDestructor.hxx make[3]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/Basics' make[2]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/Basics' Making install in SALOMELocalTrace make[2]: Entering directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/SALOMELocalTrace' make[3]: Entering directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/SALOMELocalTrace' /bin/sh ../../../salome_adm/unix/config_files/mkinstalldirs /usr/local//lib/salome /bin/sh ../../libtool --mode=install /usr/bin/install -c libSALOMELocalTrace.la /usr/local//lib/salome/libSALOMELocalTrace.la libtool: install: error: cannot install `libSALOMELocalTrace.la' to a directory not ending in /opt/salome/lib/salome make[3]: *** [install-libLTLIBRARIES] Error 1 make[3]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/SALOMELocalTrace' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src/SALOMELocalTrace' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/src' make: *** [install-recursive] Error 1
    • Re: make install on Mandrake 10.1

      Posted by Vadim SANDLER at April 12. 2007
      Hello Todd,

      This is unpleasant bug of KERNEL compilation procedure (actually this is the bug of automake/autoconf). If you change the --prefix option, you need to clear all dependencies files generated in your build directory.
      But the simplest way is just to remove the build directory and start build procedure from the beginning (build_configure, configure, etc...).

      Regards,
      Vadim.
      • Re: make install on Mandrake 10.1

        Posted by Todd Martin at April 13. 2007
        Thanks Vadim.

        I started again and the install went well until I got to the documentation. Now it's complaining about no rule to target 'html'. I assume this has something to do with Doyxgen, but I reinstalled version 1.5.1 and texi2html just in case it mattered. What have I missed?

        Todd.

        make[3]: Entering directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/doc/salome'
        make[4]: Entering directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/doc/salome'
        make[4]: Nothing to be done for `install-exec-am'.
        make[4]: *** No rule to make target `html', needed by `install-data-local'.  Stop.
        make[4]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/doc/salome'
        make[3]: *** [install-am] Error 2
        make[3]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/doc/salome'
        make[2]: *** [install-recursive] Error 1
        make[2]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/doc/salome'
        make[1]: *** [install-recursive] Error 1
        make[1]: Leaving directory `/home/toddm/Documents/salome3.2.2_SRC/KERNEL_SRC_3.2.2/build/doc'
        make: *** [install-recursive] Error 1

        • Re: make install on Mandrake 10.1

          Posted by Vadim SANDLER at April 13. 2007
          Hello Todd,

          Actually I do not know what problem occurs exactly. The steps for html generation are built automatically by automake tool. What version of automake is used on your computer?
          Another reason may be absence of some doc generation tools on your computer like makeindex, texi2dvi, etc. Please, check if these tools are installed (the RPMs are like texinfo-4.7-2mdk, tetex-2.0.2-19mdk, ...).

          Regards,
          Vadim.
          • Re: make install on Mandrake 10.1

            Posted by Todd Martin at April 16. 2007
            Hi Vadim

            I installed tetex-xdvi (all the others were already installed), but it made no difference.

            I'm using
            automake 1.7.9
            autoconf 2.59
            libtool 1.5.6
            gcc 3.4.1

            Is the following a clue? How do I include STL and PyTHON support in doxygen?

            ---------------------------------------------
            Testing html generators
            ---------------------------------------------
            checking for doxygen... /usr/local/bin/doxygen
            doxygen version 1.5.1
            doxygen with support STL - no
            doxygen with support PYTHON - no
            checking for dot... /usr/local/bin/dot
            checking for latex... /usr/bin/latex
            checking for dvips... /usr/bin/dvips
            checking for pdflatex... /usr/bin/pdflatex
            checking for rst2html... no
            checking for rst2html.py... /usr/bin/rst2html.py
            • Re: make install on Mandrake 10.1

              Posted by Vadim SANDLER at April 16. 2007
              Hello Todd,

              Well,for SALOME compilation you need automake of version >= 1.9.

              Regards,
              Vadim.
              • Re: make install on Mandrake 10.1

                Posted by Todd Martin at April 16. 2007
                Hi Vadim

                Where do I find that requirement? The Kernel install.html (excerpt below) says otherwise. Is it out of date?

                Todd.

                3   2. System configuration


                SALOME is compiled and tested on differents platforms with native packages: - Debian sarge - Mandrake 10.1 - ...


                If you have another platform, we suggest the following configuration for building process:

                gcc-3.3.x or 3.4.x
                automake-1.7 or more (only aclocal is used)
                autoconf-2.59
                libtool-1.5.6

                remarks:

                This is the minimum level of automake, autoconf and libtool, if you need to compile all the third party softwares (included OpenCascade 5.2.x).
                • Re: make install on Mandrake 10.1

                  Posted by Todd Martin at April 16. 2007
                  Hi Vadim

                  It worked with automake 1.9. Now to move onto the GEOM module.
                  Thanks.

                  Todd.
                • Re: make install on Mandrake 10.1

                  Posted by Vadim SANDLER at April 16. 2007
                  Hello Todd,

                  This is probably the mistake (obsolete information). For all SALOME modules except KERNEL, automake 1.7 is enough. But KERNEL module itself requires automake 1.9 or newer.

                  Regards,
                  Vadim.
                  • Re: make install on Mandrake 10.1

                    Posted by varun gupta at August 31. 2007
                    hi,anyone can tel me when i was compiling salome on mandrake 10.1 from sources it showing these errors : MEDunvCr.c: In function `MEDunvCr': MEDunvCr.c:92: warning: comparison between pointer and integer libtool: ignoring unknown tag F77 libtool: unrecognized option `-I../../include' Try `libtool --help' for more information. make[2]: *** [equf.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Powered by Ploneboard
Document Actions