[prev in list] [next in list] [prev in thread] [next in thread]
List: opensc-devel
Subject: Re: [Opensc-devel] OpenSC Windows installer
From: Manuel Spierenburg <manuel.spierenburg () irdeto ! com>
Date: 2017-04-12 7:58:45
Message-ID: 1491983925845.55898 () irdeto ! com
[Download RAW message or body]
Hi again,
I found my mistake. The build steps should be as follows:
* unset CC; unset CXX; ./configure --host=x86_64-w64-mingw32 --disable-openssl \
--disable-readline --disable-zlib --prefix=${PWD}/win32/opensc
* make && make install
?I will update the wiki page.
Kind regards,
Manuel
________________________________
From: Manuel Spierenburg
Sent: Tuesday, April 11, 2017 4:31 PM
To: opensc-devel@lists.sourceforge.net
Subject: OpenSC Windows installer
Hi all,
I'm trying to build the Windows installer from a Ubuntu machine.
But the wiki page seems a little bit outdated.
https://github.com/OpenSC/OpenSC/wiki/OpenSC-Windows-installer?
The script ./win32/installer_from_build.sh does not exist anymore in master.
I was able to find it in another branch, but the script itself relies on other \
scripts (build) which do not exist in the branch neither.
https://github.com/OpenSC/OpenSC/blob/opensc-0.15.0/win32/installer_from_build.sh
I tried to follow the steps from the build server:
https://travis-ci.org/OpenSC/OpenSC/jobs/220850737
These are the steps I came up so far.?
* ?install packages:
* sudo apt-get install binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 \
docbook-xsl gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 libpcsclite-dev mingw-w64 wine \
xsltproc gengetopt?
* install inno setup
*
wget http://www.jrsoftware.org/download.php/is.exe
*
wine is.exe
* build
* export HOST=x86_64-w64-mingw32
* export CC=gcc
* ./bootstrap && ./configure --disable-doc
* make && make dist && sudo make install
* build windows installer
* wine "C:/Program Files (x86)/Inno Setup 5/ISCC.exe" win32/OpenSC.iss
But the last step fails due to the missing profile files in the win32 folder.
Error on line 45 in Z:\home\mspieren\Development\kps-sc\OpenSCorig\win32\OpenSC.iss: \
No files found matching \
"Z:\home\mspieren\Development\kps-sc\OpenSCorig\win32\opensc\share\opensc\*.profile"
I can copy the profile files to the folder but then the script fails due to the \
missing dll files.
Obviously I miss something here.
Is somebody building the the windows installer successfully on a linux machine?
Thanks,
Manuel
PS. I will update the wiki page when I got it working.
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: \
0px; }--></style> </head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi again,<br>
</p>
<p><br>
</p>
<p>I found my mistake. The build steps should be as follows:<br>
</p>
<p><br>
</p>
<div> * unset CC; unset CXX; ./configure --host=x86_64-w64-mingw32 \
--disable-openssl --disable-readline --disable-zlib \
--prefix=${PWD}/win32/opensc</div> <div> * make && make \
install</div> <div><br>
​I will update the wiki page.<br>
</div>
<div><br>
</div>
<div>Kind regards,<br>
</div>
<div><br>
</div>
<div>Manuel <br>
</div>
<p><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; \
font-family:Calibri,Arial,Helvetica,sans-serif"> <hr tabindex="-1" \
style="display:inline-block; width:98%"> <div id="divRplyFwdMsg" dir="ltr"><font \
face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Manuel \
Spierenburg<br> <b>Sent:</b> Tuesday, April 11, 2017 4:31 PM<br>
<b>To:</b> opensc-devel@lists.sourceforge.net<br>
<b>Subject:</b> OpenSC Windows installer</font>
<div> </div>
</div>
<div>
<p>Hi all,<br>
</p>
<p><br>
</p>
<p>I'm trying to build the Windows installer from a Ubuntu machine.<br>
</p>
<p>But the wiki page seems a little bit outdated.<br>
</p>
<p><a href="https://github.com/OpenSC/OpenSC/wiki/OpenSC-Windows-installer">https://github.com/OpenSC/OpenSC/wiki/OpenSC-Windows-installer</a>​<br>
</p>
<p><br>
</p>
<p>The script ./win32/installer_from_build.sh does not exist anymore in \
master.<br> </p>
<p>I was able to find it in another branch, but the script itself relies on other \
scripts (build) which do not exist in the branch neither.<br> </p>
<p><a href="https://github.com/OpenSC/OpenSC/blob/opensc-0.15.0/win32/installer_from_b \
uild.sh">https://github.com/OpenSC/OpenSC/blob/opensc-0.15.0/win32/installer_from_build.sh</a><br>
</p>
<p><br>
</p>
<p>I tried to follow the steps from the build server:<br>
</p>
<p><a href="https://travis-ci.org/OpenSC/OpenSC/jobs/220850737">https://travis-ci.org/OpenSC/OpenSC/jobs/220850737</a><br>
</p>
<p><br>
</p>
<p>These are the steps I came up so far.​<br>
</p>
<ul dir="" class="">
<li>​<span style="font-size:12pt">install packages:</span>
<ul>
<li>sudo apt-get install binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 \
docbook-xsl gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 libpcsclite-dev mingw-w64 wine \
xsltproc gengetopt<span style="font-size:12pt">​</span></li></ul> \
</li><li><span style="font-size:12pt">install inno setup</span> <ul>
<li><span style="font-size:12pt"></span>
<div>wget <a href="http://www.jrsoftware.org/download.php/is.exe">http://www.jrsoftware.org/download.php/is.exe</a><br>
</div>
</li><li>
<div>
<div>wine is.exe<br>
</div>
</div>
</li></ul>
</li><li>build <br>
<ul>
<li>export HOST=x86_64-w64-mingw32<br>
</li><li>export CC=gcc<br>
</li><li>./bootstrap && ./configure --disable-doc<br>
</li><li>make && make dist && sudo make install<br>
</li></ul>
</li><li>build windows installer <br>
<ul>
<li>wine "C:/Program Files (x86)/Inno Setup 5/ISCC.exe" \
win32/OpenSC.iss<br> </li></ul>
</li></ul>
<div>But the last step fails due to the missing profile files in the win32 \
folder.<br> </div>
<div><br>
</div>
<div>Error on line 45 in \
Z:\home\mspieren\Development\kps-sc\OpenSCorig\win32\OpenSC.iss: No files found \
matching "Z:\home\mspieren\Development\kps-sc\OpenSCorig\win32\opensc\share\opensc\*.profile"<br>
</div>
<p><br>
</p>
<p>I can copy the profile files to the folder but then the script fails due to the \
missing dll files. <br> </p>
<p><br>
</p>
<p>Obviously I miss something here.<br>
</p>
<p>Is somebody building the the windows installer successfully on a linux \
machine?<br> </p>
<p><br>
</p>
<p>Thanks,<br>
</p>
<p><br>
</p>
<p>Manuel<br>
</p>
<p><br>
</p>
<p>PS. I will update the wiki page when I got it working.<br>
</p>
</div>
</div>
</body>
</html>
[Attachment #4 (--===============0687745189935366937==)]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensc-devel mailing list
Opensc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensc-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic