Error cross compiling mirall

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Error cross compiling mirall

kwillems
Recently I'm getting an error during cross compiling Mirall. See below.
Can anyone help me out?

Regards,
Koen


CPack Error: Problem running NSIS command: "/usr/bin/makensis" "/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/project.nsi"
Please check /home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/NSISOutput.log for errors
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: ownCloud
make: *** [package] Fout 1


And in NSISOutput.log I see:

File: "/usr/i686-w64-mingw32/sys-root/mingw/bin\libcrypto-10.dll" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/project.nsi" on line 345 -- aborting creation process

Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
Is it correct that we need another package for mingw32-libopenssl than we did before?

Regards,
Koen
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
As far as I could find out it libcrypto-10.dll and libssl-10.dll (instead of
libcrypto-8.dll and libssl-8.dll).

Can someone confirm this and provide the solution to use?



--
View this message in context: http://owncloud.10557.n7.nabble.com/Error-cross-compiling-mirall-tp11076p11089.html
Sent from the ownCloud mailing list archive at Nabble.com.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
In reply to this post by kwillems
Is there really no one who can clarify this?
Can't image that i'm the only one experiencing this problem.

It happens with a fresh install in OpenSuse 12.2, so i guess it has something to do with the version of mingw32-libopenssl and so on.

It's a show stopper for cross compiling, so any help will be much appreciated.
cs
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

cs
Hello,You're not alone.  I get the same problem,too.  Did you solve it?
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
In reply to this post by kwillems
I'm still having this problem. Any help will be much appreciated.
But let me first rephrase the problem.

Cross compiling the windows client gives an error, as stated in my opening post.
I'm using a clean/fresh install of openSuSe 12.2.

/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/NSISOutput.log says the following:

File: "/usr/i686-w64-mingw32/sys-root/mingw/bin\libcrypto-10.dll" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/project.nsi" on line 345 -- aborting creation process

In "/usr/i686-w64-mingw32/sys-root/mingw/bin" I see a file called libcrypto-8.dll , but no file called libcrypto-10.dll

This file 'libcrypto-10.dll' is needed in /mirall/cmake/modules/NSIS.template.in on line 345.

The same error occurs with libssl-8.dll versus libssl-10.dll

I've got a snapshot of my system/openSuSe 12.2, taken somewhere at the end of september, and things are fine with that one, so i think (but am not sure) these errors are related with mingw32-libopensll, mingw32-openssl and mingw32-libopenssl-devel.

Well anyway, this is the situation. I can't cross compile since a month.

Perhaps one of the developers can take a look at it.

Thanks in advance.

Koen Willems
cs
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

cs
I have solved this problem.
It is a problem caused by the mingw32-openssl.The version is too low.
1、uninstall the mingw32-openssl,mingw32-libopenssl in Yast.
2、install the version 10 mingw32-libopenssl,mingw32-openssl.
http://rpm.pbone.net/index.php3?stat=3&search=mingw32-libopenssl&srodzaj=3
http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/mingw32-openssl
That's all.
But I have not cross-compiled a successful setup yet,
After setup the cross-compiled file,I run the client I get an error:
the computer missing the Qtsql4.dll.
Anyone can give a help.



------------------ Original ------------------
From:  "kwillems [via ownCloud]";<[hidden email]>;
Date:  Mon, Nov 11, 2013 04:20 AM
To:  "梦幻★骑士"<[hidden email]>;
Subject:  Re: Error cross compiling mirall

I'm still having this problem. Any help will be much appreciated.
But let me first rephrase the problem.

Cross compiling the windows client gives an error, as stated in my opening post.
I'm using a clean/fresh install of openSuSe 12.2.

/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/NSISOutput.log says the following:

File: "/usr/i686-w64-mingw32/sys-root/mingw/bin\libcrypto-10.dll" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/project.nsi" on line 345 -- aborting creation process

In "/usr/i686-w64-mingw32/sys-root/mingw/bin" I see a file called libcrypto-8.dll , but no file called libcrypto-10.dll

This file 'libcrypto-10.dll' is needed in /mirall/cmake/modules/NSIS.template.in on line 345.

The same error occurs with libssl-8.dll versus libssl-10.dll

I've got a snapshot of my system/openSuSe 12.2, taken somewhere at the end of september, and things are fine with that one, so i think (but am not sure) these errors are related with mingw32-libopensll, mingw32-openssl and mingw32-libopenssl-devel.

Well anyway, this is the situation. I can't cross compile since a month.

Perhaps one of the developers can take a look at it.

Thanks in advance.

Koen Willems


If you reply to this email, your message will be added to the discussion below:
http://owncloud.10557.n7.nabble.com/Error-cross-compiling-mirall-tp11076p11228.html
To unsubscribe from Error cross compiling mirall, click here.
NAML
cs
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

cs
I have solve the problem the computer missing the Qtsql4.dll.
I use a new source.http://owncloud.org/sync-clients/
But I got a error when csync,
A plug-in cannot load,Please check out the installation.
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
@CS: please take into consideration to subcribe to the mailing list, so everyone can read what you are posting.
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

Klaas Freitag-3
In reply to this post by kwillems
On 10.11.2013 21:20, kwillems wrote:

> I'm still having this problem. Any help will be much appreciated.
> But let me first rephrase the problem.
>
> Cross compiling the windows client gives an error, as stated in my opening
> post.
> I'm using a clean/fresh install of openSuSe 12.2.
>
> /home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/NSISOutput.log
> says the following:
>
> File: "/usr/i686-w64-mingw32/sys-root/mingw/bin\libcrypto-10.dll" -> no
> files found.
> Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
>     /oname=outfile one_file_only)
> Error in script
> "/home/koen/build-owncloud/buildenv/windows/mirall-build/_CPack_Packages/unused/NSIS/project.nsi"
> on line 345 -- aborting creation process
>
> In "/usr/i686-w64-mingw32/sys-root/mingw/bin" I see a file called
> libcrypto-8.dll , but no file called libcrypto-10.dll
>
> This file 'libcrypto-10.dll' is needed in
> /mirall/cmake/modules/NSIS.template.in on line 345.
>
> The same error occurs with libssl-8.dll versus libssl-10.dll
>
> I've got a snapshot of my system/openSuSe 12.2, taken somewhere at the end
> of september, and things are fine with that one, so i think (but am not
> sure) these errors are related with mingw32-libopensll, mingw32-openssl and
> mingw32-libopenssl-devel.
>
> Well anyway, this is the situation. I can't cross compile since a month.

That is because your mingw32 libopenssl package contains a too old
libopenssl.

For the moment you can grab a later version from here:
http://software.opensuse.org/download.html?project=home%3Adanimo%3Abranches%3Awindows%3Amingw%3Awin32&package=mingw32-openssl

Klaas

>

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
Thank you so much Klaas, cross compiling does work again !!!

But ... when running the produced windows client I now get the following error:
'Error creating SSL context()'
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

scott
You should take care the  http://  or https://
Reply | Threaded
Open this post in threaded view
|

Re: Error cross compiling mirall

kwillems
I've solved the problem thanks to this post: http://owncloud.10557.n7.nabble.com/csync-can-t-be-loaded-td11272.html#a11273

So i'm installing mingw32-libneon-openssl and mingw32-libneon-openssl-devel, instead of mingw32-libneon and mingw32-libneon-devel.

Here's a complete list of all thingies i'm installing at the moment in openSUSE 12.2:

sudo zypper install cmake make mingw32-cross-binutils mingw32-cross-cpp mingw32-cross-gcc \
               mingw32-cross-gcc-c++ mingw32-cross-pkg-config mingw32-filesystem \
               mingw32-headers  mingw32-runtime site-config \
               mingw32-libsqlite-devel mingw32-dlfcn-devel mingw32-libssh2-devel \
               kdewin-png2ico mingw32-libqt4 mingw32-libqt4-devel mingw32-libgcrypt \
               mingw32-libgnutls mingw32-libneon-openssl mingw32-libneon-openssl-devel \
               mingw32-libbeecrypt mingw32-libopenssl mingw32-openssl \
               mingw32-libpng-devel mingw32-libsqlite mingw32-qtkeychain \
               mingw32-qtkeychain-devel mingw32-dlfcn mingw32-libintl-devel \
               mingw32-libopenssl-devel mingw32-libproxy-devel \
               mingw32-libxml2-devel mingw32-zlib-devel \
               mingw32-iniparser mingw32-iniparser-devel libiniparser-devel \
               mingw32-libjpeg-devel mingw32-libtiff-devel doxygen \
               mingw32-cross-nsis libneon-devel mingw32-cmocka-devel \
               texlive-latex python-sphinx

Some of them aren't really necessary by the way and, -for example-, just needed for documentation.

Hope this is helpful for someone.

Cheers,
Koen