rpm --eval "%cmake" (macro for rpmbuild):

   CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches  -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables}" ; export CFLAGS ;
   CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches  -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables}" ; export CXXFLAGS ;
   FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches  -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables -I/usr/lib/gfortran/modules}" ; export 
FFLAGS ;
   FCFLAGS="${FCFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches  -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables -I/usr/lib/gfortran/modules}" ; export 
FCFLAGS ;
   LDFLAGS="${LDFLAGS:--Wl,-z,relro }" ; export LDFLAGS ;
   /usr/bin/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/lib \
         -DSYSCONF_INSTALL_DIR:PATH=/etc \
         -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
%if "lib" == "lib64"
         -DLIB_SUFFIX=64 \
%endif
         -DBUILD_SHARED_LIBS:BOOL=ON


22.10.2014 15:04, Luís Pereira:
> On Tue, Oct 21, 2014 at 11:58 PM, Eugene Pivnev <ti.eug...@gmail.com> wrote:
>> Now I'm trying to build at Fedora 21 host.
>> Seems liblxqt-mount is wrong.
>> Look at this:
>>
>> /root/rpmbuild/BUILD/lxqt-0.8.0/lxqt-panel-0.8.0/plugin-mount/lxqtmountplugin.cpp:31:27:
>> fatal error: LXQtMount/Mount: No such file or directory
>>    #include <LXQtMount/Mount>
>>
>> And this:
>>
>> [root@host005 ~]# cat /usr/lib/pkgconfig/lxqtmount-qt5.pc
>> # file generated by LXQt cmake build
>> prefix=/usr
>> libdir=${prefix}/lib
>> includedir=${prefix}/include
>>
>> And this (/usr/share/cmake/lxqtmount-qt5/lxqtmount-qt5-config.cmake):
>>
>> set(LXQTMOUNT_INCLUDE_DIR   /usr//usr/include/lxqtmount-qt5)
>>
>> wtf?
> To debug it we need detailed verbose logs. Otherwise we can't do
> anything other than guessing.
> What is the value of CMAKE_INSTALL_PREFIX ?
>


------------------------------------------------------------------------------
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to