[Tellico-users] I spoke to soon. Error building pre release on Fedora 10.

View: New views
4 Messages — Rating Filter:   Alert me  

[Tellico-users] I spoke to soon. Error building pre release on Fedora 10.

by Matthew Soffen (tellico) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I hadn't realzied there is an issue.

When attempting to build tellico on a Fedora 10 machine, I recieved the
following error.


tellico-2.0pre1/src/fetch/amazonrequest.cpp:35:20: error: QtCrypto: No
such file or directory
tellico-2.0pre1/src/fetch/amazonrequest.cpp: In constructor
'Tellico::Fetch::AmazonRequest::AmazonRequest(const KUrl&, const
QByteArray&)':
tellico-2.0pre1/src/fetch/amazonrequest.cpp:52: error: invalid use of
incomplete type 'struct QCA::Initializer'
tellico-2.0pre1/src/fetch/amazonrequest.h:33: error: forward declaration
of 'struct QCA::Initializer'
tellico-2.0pre1/src/fetch/amazonrequest.cpp: In member function 'KUrl
Tellico::Fetch::AmazonRequest::signedRequest(const QMap<QString,
QString>&) const':
tellico-2.0pre1/src/fetch/amazonrequest.cpp:59: error: 'isSupported' is
not a member of 'QCA'
tellico-2.0pre1/src/fetch/amazonrequest.cpp:65: error: incomplete type
'QDateTime' used in nested name specifier
tellico-2.0pre1/src/fetch/amazonrequest.cpp:86: error:
'MessageAuthenticationCode' is not a member of 'QCA'
tellico-2.0pre1/src/fetch/amazonrequest.cpp:86: error: expected `;' before
'hmac'
tellico-2.0pre1/src/fetch/amazonrequest.cpp:87: error: 'hmac' was not
declared in this scope
make[2]: *** [src/fetch/CMakeFiles/fetch.dir/amazonrequest.o] Error 1

All the dependencies were found during the cmake process so I'm a bit
confused.   I'm a c programmer and can follow most c++ but I'm not a c++
programmer so I'm lost in how to solve this issue.

Any ideas ?


-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/

_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users

Re: [Tellico-users] I spoke to soon. Error building pre release on Fedora 10.

by robbystephenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 19 August 2009, Matthew Soffen (tellico) wrote:
> When attempting to build tellico on a Fedora 10 machine, I recieved the
> following error.
>
>
> tellico-2.0pre1/src/fetch/amazonrequest.cpp:35:20: error: QtCrypto: No
> such file or directory

...

> All the dependencies were found during the cmake process so I'm a bit
> confused.   I'm a c programmer and can follow most c++ but I'm not a c++
> programmer so I'm lost in how to solve this issue.

Looks like an issue with the QCA2 library. What version do you have
installed? There should be a QtCrypto file as part of the devel package.

Somehow, cmake was finding the package but not adding the correct path
somewhere, maybe? I'll try to check that.

Robby
_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users

Re: [Tellico-users] I spoke to soon. Error building pre release on Fedora 10.

by Matthew Soffen (tellico) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On Wednesday 19 August 2009, Matthew Soffen (tellico) wrote:
>> When attempting to build tellico on a Fedora 10 machine, I recieved the
>> following error.
[snip]

>>
>>
>> tellico-2.0pre1/src/fetch/amazonrequest.cpp:35:20: error: QtCrypto: No
>> such file or directory
>
> ...
>
>> All the dependencies were found during the cmake process so I'm a bit
>> confused.   I'm a c programmer and can follow most c++ but I'm not a c++
>> programmer so I'm lost in how to solve this issue.
>
> Looks like an issue with the QCA2 library. What version do you have
> installed? There should be a QtCrypto file as part of the devel package.
>
> Somehow, cmake was finding the package but not adding the correct path
> somewhere, maybe? I'll try to check that.

Actually the issue is even simpler than that.

IT found the package qca-devel (not qca2-devel).

Once I removed qca-devel and installed qca2-devel ,  I found I had to
delete the build directory then re-run "cmake ." to get it to find the
path.

Now that I did this, I have successfully built the application.  Now to
test it.

Perhaps during the build you need to explicitly check for the QtCrypto
function ?

Matt



-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/

_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users

Re: [Tellico-users] I spoke to soon. Error building pre release on Fedora 10.

by robbystephenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 20 August 2009, Matthew Soffen (tellico) wrote:

> IT found the package qca-devel (not qca2-devel).
>
> Once I removed qca-devel and installed qca2-devel ,  I found I had to
> delete the build directory then re-run "cmake ." to get it to find the
> path.
>
> Now that I did this, I have successfully built the application.  Now to
> test it.
>
> Perhaps during the build you need to explicitly check for the QtCrypto
> function ?

CMake is still rather new to me. I use a macro in the FindQCA2.cmake file
installed from kdelibs, so I'm not sure why that failed to check for the
correct library. It should specifically check for version 2.0 or
greater...I'll try to investigate that more.

Robby
_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users