Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X (10.8) not supported #121

Closed
rjgonza opened this issue Jan 14, 2013 · 12 comments
Closed

Mac OS X (10.8) not supported #121

rjgonza opened this issue Jan 14, 2013 · 12 comments

Comments

@rjgonza
Copy link

rjgonza commented Jan 14, 2013

Cannot build opensc on 10.8 as it is not yet supported.

@LudovicRousseau
Copy link
Member

Can you give us the command you used to build OpenSC and the result you have?

@rjgonza
Copy link
Author

rjgonza commented Jan 24, 2013

You can close this issue, I was able to bypass the version check on already built package and it installed fine.

@rjgonza rjgonza closed this as completed Jan 24, 2013
@mescheryakov1
Copy link
Contributor

hello guys
@LudovicRousseau @martinpaljak @rjgonza

please check out this part of config.log produced on OS X 10.8.2 with Xcode 4.6

configure:2621: checking for a BSD-compatible install
configure:2689: result: /usr/bin/install -c
configure:2700: checking whether build environment is sane
configure:2755: result: yes
configure:2906: checking for a thread-safe mkdir -p
configure:2945: result: ./install-sh -c -d
configure:2952: checking for gawk
configure:2982: result: no
configure:2952: checking for mawk
configure:2982: result: no
configure:2952: checking for nawk
configure:2982: result: no
configure:2952: checking for awk
configure:2968: found /usr/bin/awk
configure:2979: result: awk
configure:2990: checking whether make sets $(MAKE)
configure:3012: result: yes
configure:3041: checking whether make supports nested variables
configure:3058: result: yes
configure:3166: checking whether make supports nested variables
configure:3183: result: yes
configure:3199: checking build system type
configure:3213: result: x86_64-apple-darwin12.2.0
configure:3233: checking host system type
configure:3246: result: x86_64-apple-darwin12.2.0
configure:3314: checking for gcc
configure:3330: found /usr/bin/gcc
configure:3341: result: gcc
configure:3570: checking for C compiler version
configure:3579: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3590: $? = 0
configure:3579: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11148/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]_$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11148/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:3590: $? = 0
configure:3579: gcc -V >&5
llvm-gcc-4.2: argument to -V' is missing configure:3590: $? = 1 configure:3579: gcc -qversion >&5 i686-apple-darwin11-llvm-gcc-4.2: no input files configure:3590: $? = 1 configure:3610: checking whether the C compiler works configure:3632: gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -mmacosx-version-min=10.6 -g conftest.c >&5 ld: library not found for -lcrt1.10.6.o collect2: ld returned 1 exit status ld: library not found for -lcrt1.10.6.o collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/2x/vht8_c850zl4vhcw1yy8l1_m0000gp/T//cc0EQJpy.out (No such file or directory) configure:3636: $? = 1 configure:3674: result: no configure: failed program was: | /_ confdefs.h _/ | #define PACKAGE_NAME "opensc" | #define PACKAGE_TARNAME "opensc" | #define PACKAGE_VERSION "0.13.0" | #define PACKAGE_STRING "opensc 0.13.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "opensc" | #define VERSION "0.13.0" | /_ end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3679: error: in /Users/mescheryakov/OpenSC':
configure:3681: error: C compiler cannot create executables
See`config.log' for more details

@LudovicRousseau
Copy link
Member

gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk [...]

I guess you do not have the Xcode SDK for 10.6 installed.
Or it is not in /Developer/SDKs/

@mescheryakov1
Copy link
Contributor

it is true
In Mountain Lion you cannot install SDK 10.6

maybe it is possible to switch on 10.7?

@LudovicRousseau
Copy link
Member

I you use the scripts in MacOSX/you can se OSX_RELEASE to the value you want.

See the script MacOSX/build-package

@martinpaljak
Copy link
Member

The OSX_RELEASE hack was removed. At the moment, only supported target is 10.6 (10.7 removed Tokend, only keeping backwards compatibility) and 10.8 deprecates things even more, without providing a new solution.

@martinpaljak
Copy link
Member

But building bare OpenSC (without Tokend) should be possible, despite the OpenSSL deprecation.

@mescheryakov1
Copy link
Contributor

thank you
i have changed SDK path to Mountain Lions 10.7 SDK in build-package.in script and remove tokend
i have got everything compiled except Installer package because of PackageMaker.app deprecation in Xcode 4.6

@mescheryakov1
Copy link
Contributor

@martinpaljak please bring back Mac installation packages on the server.
All links on github wiki and opensc-project.org is broken.

Not Found
The requested URL /files/opensc/OpenSC-0.12.2-10.6.dmg was not found on this server.
Apache Server at www.opensc-project.org Port 443

@martinpaljak
Copy link
Member

I'll resurrect the (older) files if possible and see how newer ones can be popped somewhere, but for the time being there's a single dmg in www.opensc-projec.org/downloads/. Wiki must be updated anyway.

@mescheryakov1
Copy link
Contributor

https://www.opensc-project.org/downloads/macosx/
Forbidden
You don't have permission to access /downloads/macosx/ on this server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants