Results 1 to 6 of 6

Thread: make: *** [all] Error 2

  1. #1
    Join Date
    May 2013
    Beans
    2

    Question make: *** [all] Error 2

    please can you help me!
    After running the follwing commands to compile ( toulbar2) mkdir build ; cd build ; cmake .. ; make package
    but when i write cmake .. an error like " Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)"
    and when i write make package an error like this
    make[2]: *** [CMakeFiles/toulbar2.dir/src/tb2main.cpp.o] Error 1
    make[2]: Leaving directory `/home/dell/Bureau/toulbar2/build'
    make[1]: *** [CMakeFiles/toulbar2.dir/all] Error 2
    make[1]: Leaving directory `/home/dell/Bureau/toulbar2/build'
    make: *** [all] Error 2

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: make: *** [all] Error 2

    It cannot find doxygen, so install doxygen
    Code:
    sudo apt-get install doxygen

  3. #3
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: make: *** [all] Error 2

    i suppose you still have not doxygen installed yet https://launchpad.net/ubuntu/+source/doxygen

  4. #4
    Join Date
    May 2013
    Beans
    2

    CPack

    After running the follwing commands to compile make package ;
    an error

    CPackRPMebug: *** error: No compatible architectures found for build
    ***
    CPackRPMebug: - /home/dell/Bureau/toulbar2/_CPack_Packages/Linux/RPM/rpmbuild.out
    CPackRPMebug: *** error: No compatible architectures found for build
    ***
    CPack Error: Problem copying the package: /home/dell/Bureau/toulbar2/_CPack_Packages/Linux/RPM/toulbar2.0.9.5.0-Release-x86_64.rpm to /home/dell/Bureau/toulbar2/toulbar2.0.9.5.0-Release-x86_64.rpm
    CPack Error: Error when generating package: toulbar2
    make: *** [package] Error 1

    can one help me? thanks

  5. #5
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: make: *** [all] Error 2

    Threads merged and moved to Packaging & Compiling Programs. Please don't open more than one thread for the same or similar questions.

  6. #6
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: make: *** [all] Error 2

    Are you trying to generate an RPM package on Ubuntu? Why? Doesn't the cmake script for the software you're building has an option not to generate it? To find it out, try to run cmake interactively:
    Code:
    ccmake ..
    or
    Code:
    cmake -i ..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •