On Sat, March 1, 2014 8:00 am, Fernando de Oliveira wrote:
> Em 01-03-2014 09:46, Fernando de Oliveira escreveu:
>
>> Em 01-03-2014 01:09, Waitman Gobble escreveu:
>>
>>>
>>> On Sat, March 1, 2014 1:54 am, Fernando de Oliveira wrote:
>>>
>>>> Em 28-02-2014 20:39, Waitman Gobble escreveu:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> I'm receiving this error building cmake-2.8.12.2, I have
>>>>> MesaLib-10.0.3
>>>>> and Qt-5.2.1 installed. The CMAKE_CXX_LIBRARY_ARCHITECTURE ""
>>>>> looks suspect.. not sure at the moment why it is missing the GL
>>>>> lib..
>>
>> Only now I see that cmake optional is  Qt-4.8.5, but you have qt5. Did
>> you get thq qt-gui built, using qt5? This needs more investigation.
>
> Ok. It complains, but the cmake-qui seems to work,
>
>
> $ scanelf -BF "%f: %n" cmake-gui
> cmake-gui: libQt5Widgets.so.5,libdl.so.2,libexpat.so.1,libz.so.1,
> libarchive.so.13,libcurl.so.4,libQt5Gui.so.5,libQt5Core.so.5,
> libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6
>
> $ ldd cmake-gui | grep -i qt
> libQt5Widgets.so.5 => /opt/qt5/lib/libQt5Widgets.so.5 (0xb718c000)
> libQt5Gui.so.5 => /opt/qt5/lib/libQt5Gui.so.5 (0xb6c10000) libQt5Core.so.5
> => /opt/qt5/lib/libQt5Core.so.5 (0xb67d4000)
>
>
> I believe it needs to be included side by side with qt4 as optional.
>
>
> Any dev, please, help me here.
>
>
> --
> []s,
> Fernando
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
>

I finally got cmake to build. The troubling thing for me is that it seems
to be detecting Qt5 regardless of if a) --gt-gui is not in bootsrap
configure OR b) --no-qt-gui is present in bootstrap configure.

I don't need Qt gui in cmake.

My work-around was to delete all references to Qt in the three
CMakeLists.txt files in the source distribution. From what I can tell (I'm
no Cmake expert) it looks like it 'goes ahead' and tries to detect Qt and
performs the build regardless of the bootstrap configuration option.
(Maybe I'm wrong about that, but I continued to receive Qt related errors
in the build until I deleted all references to it)

Thank you,


-- 
Waitman Gobble
San Jose California USA
+1.510-830-7975

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to