Re: OpenSC Windows installer

Manuel Spierenburg <[email protected]>
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
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: [email protected]
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.

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.