Re: CMake help: "install TARGETS given no LIBRARY DESTINATION for shared library target"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  $ cmake [path] [flags]
So inyour case
  $ cmake . [flags]
I suppose

This is caused by a CMake update in rawhide.

--

Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat

--

On Thu, Jan 17, 2019 at 12:31 PM Ankur Sinha <sanjay.ankur@xxxxxxxxx> wrote:
>
> Hello,
>
> Could I have some help with CMake please?
>
> I have a WIP spec here[1] that won't build. It always fails with:
>
> >  + cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=release -DLIB_SUFFIX=64 .
> >  -- The C compiler identification is GNU 8.2.1
> >  -- The CXX compiler identification is GNU 8.2.1
> >  -- Check for working C compiler: /usr/bin/cc
> >  -- Check for working C compiler: /usr/bin/cc -- works
> >  -- Detecting C compiler ABI info
> >  -- Detecting C compiler ABI info - done
> >  -- Detecting C compile features
> >  -- Detecting C compile features - done
> >  -- Check for working CXX compiler: /usr/bin/c++
> >  -- Check for working CXX compiler: /usr/bin/c++ -- works
> >  -- Detecting CXX compiler ABI info
> >  -- Detecting CXX compiler ABI info - done
> >  -- Detecting CXX compile features
> >  -- Detecting CXX compile features - done
> >  -- Looking for pthread.h
> >  -- Looking for pthread.h - found
> >  -- Looking for pthread_create
> >  -- Looking for pthread_create - not found
> >  -- Check if compiler accepts -pthread
> >  -- Check if compiler accepts -pthread - yes
> >  -- Found Threads: TRUE
> >  -- Could NOT find Unwind (missing: Unwind_LIBRARIES)
> >  BUILDSTDERR: CMake Error at arbor/CMakeLists.txt:107 (install):
> >  BUILDSTDERR:   install TARGETS given no LIBRARY DESTINATION for shared library target
> >  BUILDSTDERR:   "arbor".
>
> (The patch in the spec fixes the Unwind_Libraries bit, but the error
> persists with or without that).
>
> When I build locally on my F29 machine, with the same tweaks as in the
> spec, it builds fine. Could someone please have a look and point out
> what I'm doing wrong?
>
> [1] https://github.com/sanjayankur31/rpm-specs/blob/arbor/arbor.spec#L107
>
> --
> Thanks,
> Regards,
>
> Ankur Sinha "FranciscoD"
> https://fedoraproject.org/wiki/User:Ankursinha
>
> Time zone: Europe/London
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux