Menu

#59 build without cmake??

1.0
closed
nobody
None
2017-10-06
2017-04-19
No

hi - is there any way to build this package with regular makefiles?

I'm having quite a bit of trouble building with cmake (linux 64 bit - centos)

following build instructions, but getting errors such as this:

CMake Error at CMakeLists.txt:22 (set_target_properties):
set_target_properties called with incorrect number of arguments.

CMake Error at CMakeLists.txt:30 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"zint".

CMake Error at CMakeLists.txt:31 (install):
install FILES given no DESTINATION!

thanks in advance for any assistance.

Discussion

  • Robin Stuart

    Robin Stuart - 2017-04-20

    While it should be possible to make Zint without CMake, I'm afraid that I have relied upon it for so long now that I wouldn't know how to go about it. I think the real issue here is why is CMake not working - it certainly shouldn't be a problem for 64bit CentOS. I take it you are using the latest version with updates? I will get a copy of the ISO and see if I can reproduce the problem.

    Robin.

     
    • Harald Oehlmann

      Harald Oehlmann - 2017-04-21

      CentOS tend to have very old software.
      What is your CMake and CentOS version?

      I think, I have build zint on CentOS 6.x which worked o.k.
      I have a CentOS 6.9. here.

      Do you have CentOS 5,6 or 7 ?

      Thank you,
      Harald

      Am 20.04.2017 um 17:59 schrieb Robin Stuart:

      While it should be possible to make Zint without CMake, I'm afraid that
      I have relied upon it for so long now that I wouldn't know how to go
      about it. I think the real issue here is why is CMake not working - it
      certainly shouldn't be a problem for 64bit CentOS. I take it you are
      using the latest version with updates? I will get a copy of the ISO and
      see if I can reproduce the problem.

      Robin.


      [tickets:#59] https://sourceforge.net/p/zint/tickets/59/ build
      without cmake??

      Status: open
      Milestone: 1.0
      Created: Wed Apr 19, 2017 10:48 PM UTC by robert meyer
      Last Updated: Wed Apr 19, 2017 10:48 PM UTC
      Owner: nobody

      hi - is there any way to build this package with regular makefiles?

      I'm having quite a bit of trouble building with cmake (linux 64 bit -
      centos)

      following build instructions, but getting errors such as this:

      CMake Error at CMakeLists.txt:22 (set_target_properties):
      set_target_properties called with incorrect number of arguments.

      CMake Error at CMakeLists.txt:30 (install):
      install TARGETS given no LIBRARY DESTINATION for shared library target
      "zint".

      CMake Error at CMakeLists.txt:31 (install):
      install FILES given no DESTINATION!

      thanks in advance for any assistance.

       
  • Robin Stuart

    Robin Stuart - 2017-04-21

    I'm afraid I wasn't able to reproduce this error. This is what I did:

    Get a fresh DVD ISO of CentOS 7
    Create a new VM and install "KDE Plasma Workspaces" base environment with "KDE Applications" and "Development Tools" add-ons.
    sudo yum install cmake libpng-devel qt5-qtbase qt5-qtbase-devel qt5-qttools-static
    git clone ssh://g3rrk@git.code.sf.net/p/zint/code zint-code
    cd ./zint-code
    cmake
    sudo make install

    The cmake from the repository was version 2.8.12.2. It threw no errors.

    So I can only guess that there is a deeper problem with your OS for which your local LUG may be more qualified to help.

    Robin.

     
  • Robin Stuart

    Robin Stuart - 2017-10-06
    • status: open --> closed
     
  • Robin Stuart

    Robin Stuart - 2017-10-06

    No follow-up response. Assuming problem is now resolved.

     

Log in to post a comment.