cmake does not work

Devanshu Jain devanshu.jain919 at gmail.com
Thu Jul 10 16:27:06 UTC 2014


I started from scratch but make command is again giving the same error.


On Thu, Jul 10, 2014 at 9:45 PM, Shantanu Tushar Jha <shantanu at kde.org>
wrote:

> Something tells me its still using Qt5 (and thats why it regards 4.8.6 as
> "old"), can you try removing your build dir and start from scratch?
>
> About Qt, do *not* use the one downloaded from the website, the one that
> you install using apt-get/synaptic is the way to go.
>
>
> On Thu, Jul 10, 2014 at 9:27 PM, Devanshu Jain <devanshu.jain919 at gmail.com
> > wrote:
>
>> Hi Shantanu,
>> Sorry for misreading.
>> But I downloaded Qt using synaptic. And I guess it is still causing
>> troubles.
>> When doing *make install*, another error is produced (
>> http://paste.kde.org/prtoragcp).
>> It says:
>> This file was generated using the moc from 4.8.6. It cannot be used with
>> the include files from this version of Qt. (The moc has changed too much.)
>> So I guess I will download it again from the official site.
>>
>>
>> On Thu, Jul 10, 2014 at 9:15 PM, Shantanu Tushar Jha <shaan7in at gmail.com>
>> wrote:
>>
>>> Cool, though I had asked "how" have you installed Qt ;) Because I've
>>> never encountered this error.
>>>
>>> Anyway, you can even add the fPIC flag like this -
>>>
>>> cmake .. -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix`  -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4  -DKDE4_BUILD_TESTS=OFF
>>>
>>>
>>>
>>> On Thu, Jul 10, 2014 at 8:33 PM, Devanshu Jain <
>>> devanshu.jain919 at gmail.com> wrote:
>>>
>>>> Hi Shantanu,
>>>> I am using Ubuntu 14.04 and yes I have Qt installed.
>>>>
>>>>
>>>> On Thu, Jul 10, 2014 at 8:26 PM, Shantanu Tushar Jha <shantanu at kde.org>
>>>> wrote:
>>>>
>>>>> Hi Devanshu,
>>>>>
>>>>> What distro are you using? Also, how have you installed Qt?
>>>>>
>>>>>
>>>>> On Thu, Jul 10, 2014 at 4:48 PM, Devanshu Jain <
>>>>> devanshu.jain919 at gmail.com> wrote:
>>>>>
>>>>>> Hi Harish,
>>>>>> Thanks for pastebin suggestion. I would keep it in mind next time.
>>>>>> As for the typos: No I didn't make any typos. I double checked
>>>>>> everything.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 10, 2014 at 4:37 PM, R.Harish Navnit <
>>>>>> harishnavnit at gmail.com> wrote:
>>>>>>
>>>>>>> On Thu, Jul 10, 2014 at 12:35 PM, Devanshu Jain <
>>>>>>> devanshu.jain919 at gmail.com> wrote:
>>>>>>>
>>>>>>>> Please find the enclosed cmake output log file
>>>>>>>>
>>>>>>>
>>>>>>>  Hi Devanshu,
>>>>>>>
>>>>>>> I would suggest using pastebin <http://paste.kde.org> instead of
>>>>>>> attaching the output logs in your mails. I think that's a lot easier and
>>>>>>> attachments in mails sent to ML's is not a good practice either.
>>>>>>>
>>>>>>> I don't think there's any hard and fast rule as such, but usually
>>>>>>> clones of projects that you wish to build and run are placed in the home
>>>>>>> dir, no ? (you may ignore this) and I hope you didn't make a typo while
>>>>>>> running the command that Sinny mentioned.
>>>>>>>
>>>>>>> Regards.
>>>>>>> R.Harish Navnit
>>>>>>> The Enigma <http://harishnavnit.wordpress.com>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Plasma-devel mailing list
>>>>>>> Plasma-devel at kde.org
>>>>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Plasma-devel mailing list
>>>>>> Plasma-devel at kde.org
>>>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Shantanu Tushar    (UTC +0530)
>>>>> http://www.shantanutushar.com
>>>>>
>>>>> _______________________________________________
>>>>> Plasma-devel mailing list
>>>>> Plasma-devel at kde.org
>>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Plasma-devel mailing list
>>>> Plasma-devel at kde.org
>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Shantanu Tushar    (UTC +0530)
>>> http://www.shantanutushar.com
>>>
>>> _______________________________________________
>>> Plasma-devel mailing list
>>> Plasma-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>
>>>
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>
>
> --
> Shantanu Tushar    (UTC +0530)
> http://www.shantanutushar.com
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140710/3b75844f/attachment-0001.html>


More information about the Plasma-devel mailing list