[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple compile errors on MacOS X (Lion)



> Did you download http://zxid.org/zxid-1.12.tgz and try?
> 
Yes. That goes through.


> Michael Dondrup <michael.dondrup@xxxxxx> said:
>> Hi again,
>> 
>> I have been able to compile the perlmodule
>> $ make perlmod TARGET=macosx PREFIX=/opt/local/zxid 
>> 
>> However, now make install throws errors like this:
>> cp: zxsizeof: No such file or directory
>> make: *** [install] Error 1
> 
> zxsizeof is not essential. I'll remove it from the cp in install target.
> 
>> perl version from macports:
>> $ which perl
>> /opt/local/bin/perl
>> $ perl -v
>> This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
>> 
> 
> Thansk for the version information, but the zxsizeof issue
> has nothing to do with the perl part of the code.
> 
>> ==================================================================
>> 
>> 
>> =patch of my makefile, against the distribution Makefile=
>> 
>> $ diff -rupN zxid-1.11/Makefile zxid-1.11-osx/Makefile
>> --- zxid-1.11/Makefile	2012-11-19 11:02:54.000000000 +0100
>> +++ zxid-1.11-osx/Makefile	2012-11-21 10:24:35.000000000 +0100
>> @@ -49,12 +49,12 @@ ZXIDVERSION=0x000111
>> ZXIDREL=1.11
>> 
>> ### Where package is installed (use `make PREFIX=/your/path' to change)
>> -PREFIX=/var/zxid/$(ZXIDREL)
>> +PREFIX=/opt/local/zxid
> 
> Rather than patch the Makefile itself, you can put your alterations
> in localconf.mk, which is then included by the main Makefile.
> 

Thank you, will try that.




>> ### Where runtime configuration and temporary data is kept.
>> ### If you change the following, be sure to edit zxidconf.h as
>> ### well. N.B. Trailing / (forward slash) is needed.
>> -ZXID_PATH=/var/zxid/
>> +ZXID_PATH=/opt/local/zxid
>> 
>> ###
>> ### Module selection options (you should enable all, unless building embedded)
>> @@ -78,7 +78,7 @@ ENA_TAS3=1
>> 
>> TOP=$(shell pwd)
>> CURL_ROOT=/usr/local
>> -OPENSSL_ROOT=/usr/local/ssl
>> +#OPENSSL_ROOT=/usr/local/ssl
>> PHP_CONFIG=php-config
>> CSHARP_CONFIG=true
>> PY_CONFIG=true
>> @@ -103,8 +103,8 @@ LCOV=lcov
>> GENHTML=genhtml
>> #SHARED_FLAGS=-shared --export-all-symbols -Wl,-whole-archive -Wl,--allow-multiple-definition
>> # --export-all-symbols does not seem to work on gcc-4.6.1... try -Wl,--export-dynamic instead
>> -SHARED_FLAGS=-shared -Wl,--export-dynamic -Wl,-whole-archive -Wl,--allow-multiple-definition
>> -SHARED_CLOSE=-Wl,-no-whole-archive
>> +SHARED_FLAGS=-shared
>> +SHARED_CLOSE=-Wl
> 
> Interesting alteration. What was the error given with the
> previous flags? I remember having to have to add -Wl,-whole-archive
> to stop the linker from stripping some symbols that it errornously
> thought to be unreachable.
oops, I think that edit was from my first tries, I guess it is ineffective because 
these flags are replaced when macos is defined as target. Ignore this please.


> 
>> CFLAGS =  -g -fpic -fno-strict-aliasing
>> #CFLAGS += -Os    # gcc-3.4.6 miscompiles with -Os on ix86 (2010 --Sampo)
>> CFLAGS += -fmessage-length=0 -DMAYBE_UNUSED='__attribute__ ((unused))'
>> @@ -241,12 +241,15 @@ SHARED_FLAGS=-dylib -all_load -bundle
>> SHARED_CLOSE=
>> ZXIDJNI_SO=zxidjava/libzxidjni.jnilib
>> #SHARED_FLAGS=-dylib -all_load -keep_private_externs 
>> -#OPENSSL_ROOT=/Developer/SDKs/MacOSX10.4u.sdk/usr
>> +# use macports openssl
>> +OPENSSL_ROOT=/opt/local/
>> +# use system openssl
>> +#OPENSSL_ROOT=/usr
>> #CURL_ROOT=/Developer/SDKs/MacOSX10.4u.sdk/usr
>> # Try find / -name ap_config.h; find / -name apr.h
>> -APACHE_INCLUDE = -I/Developer/SDKs/MacOSX10.6.sdk/usr/include/apache2
>> -APR_INCLUDE    = -I/Developer/SDKs/MacOSX10.6.sdk/usr/include/apr-1
>> -APACHE_MODULES = /usr/libexec/apache2
>> +APACHE_INCLUDE = -I/opt/local/apache2/include
>> +APR_INCLUDE    = -I/opt/local/include/apr-1/
>> +APACHE_MODULES = /opt/local/apache2/libexec
> 
> Is /opt/local nowdays Apple's official place for apache2 install?
> If so I can change the Makefile. The Developer/SDKs/MacOSX10.6.sdk/usr
> path was advised to me as official path on Mac some three years ago
> by another Mac developer. Maybe he was wrong?

/opt/local is the MacPorts path, I am not using the official apache.

There are now (Lion with xcode 4)

/usr/include/apache2/
/usr/include/apr-1
/usr/libexec/apache2/

The xcode tools are now installed in
/Applications/Xcode.app

Previously, Xcode stuff would go into 
/Developer, 

e.g. in Leopard and SnowLeopard (10.6)but that is no longer the case, afaik.

Also, the following paths exist
/Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform
/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform
/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform
.... + subdirectories '/usr/include' for the different SDKs, e.g.
/Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/
/Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/

But I believe, the correct version is copied to /usr by the installer now,  which seems to be an improvement.


> 
>> MOD_AUTH_SAML_LIBS=-lapr-1
>> #  -lhttpd2core
>> 
>> 
>> =All output of make and make install below:=
>> (snip)
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxbusprod.o zxbusprod.c
>> zxbusprod.c: In function zxbus_open_bus_url:
>> zxbusprod.c:851: warning: cast from pointer to integer of different size
>> zxbusprod.c: In function zxbus_log_receipt:
>> zxbusprod.c:1098: warning: format %03ld expects type long int, but argument 12 has type int
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxlog.o zxlog.c
>> zxlog.c: In function zxlog_write_line:
>> zxlog.c:121: warning: cast from pointer to integer of different size
>> zxlog.c:150: warning: cast from pointer to integer of different size
>> zxlog.c:220: warning: cast from pointer to integer of different size
>> zxlog.c: In function zxlog_fmt:
>> zxlog.c:301: warning: format %03ld expects type long int, but argument 12 has type int
>> zxlog.c:301: warning: format %03ld expects type long int, but argument 19 has type int
>> zxlog.c: In function zxbus_mint_receipt:
>> zxlog.c:844: warning: format %03ld expects type long int, but argument 12 has type int
>> zxlog.c:877: warning: cast from pointer to integer of different size
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxsig.o zxsig.c
>> zxsig.c: In function zxenc_privkey_dec:
>> zxsig.c:646: warning: cast from pointer to integer of different size
> (snip)
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxidsimp.o zxidsimp.c
>> zxidsimp.c: In function zxid_conf_to_cf_len:
>> zxidsimp.c:75: warning: cast from pointer to integer of different size
>> zxidsimp.c:78: warning: cast from pointer to integer of different size
>> zxidsimp.c: In function zxid_simple_cf_ses:
>> zxidsimp.c:1563: warning: cast from pointer to integer of different size
> (snip)
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxidconf.o zxidconf.c
>> zxidconf.c: In function zxid_extract_private_key:
>> zxidconf.c:136: warning: format %d expects type int, but argument 10 has type long int
>> zxidconf.c:136: warning: format %d expects type int, but argument 10 has type long int
>> zxidconf.c: In function zxid_lazy_load_sign_cert_and_pkey:
>> zxidconf.c:196: warning: cast from pointer to integer of different size
> (snip)
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxidmeta.o zxidmeta.c
>> zxidmeta.c: In function zxid_get_ent_file:
>> zxidmeta.c:302: warning: cast from pointer to integer of different size
>> zxidmeta.c: In function zxid_load_cot_cache_from_file:
>> zxidmeta.c:326: warning: cast from pointer to integer of different size
>> zxidmeta.c:332: warning: cast from pointer to integer of different size
>> zxidmeta.c: In function zxid_get_ent_ss:
>> zxidmeta.c:382: warning: cast from pointer to integer of different size
>> zxidmeta.c:397: warning: cast from pointer to integer of different size
>> zxidmeta.c:405: warning: cast from pointer to integer of different size
>> zxidmeta.c: In function zxid_get_ent_by_sha1_name:
>> zxidmeta.c:447: warning: cast from pointer to integer of different size
>> zxidmeta.c:450: warning: cast from pointer to integer of different size
>> zxidmeta.c: In function zxid_load_cot_cache:
>> zxidmeta.c:512: warning: cast from pointer to integer of different size
>> zxidmeta.c: In function zxid_sp_sso_desc:
>> zxidmeta.c:666: warning: cast from pointer to integer of different size
>> zxidmeta.c:671: warning: cast from pointer to integer of different size
>> zxidmeta.c: In function zxid_idp_sso_desc:
>> zxidmeta.c:718: warning: cast from pointer to integer of different size
>> zxidmeta.c:723: warning: cast from pointer to integer of different size
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxidcurl.o zxidcurl.c
>> zxidcurl.c: In function zxid_http_get:
>> zxidcurl.c:143: warning: cast from pointer to integer of different size
>> zxidcurl.c: In function zxid_http_post_raw:
>> zxidcurl.c:260: warning: cast from pointer to integer of different size
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o pkcs12.o pkcs12.c
>> pkcs12.c: In function x509_and_pkey_to_pkcs12:
>> pkcs12.c:132: warning: assignment from incompatible pointer type
>> pkcs12.c:137: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:146: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:149: warning: assignment from incompatible pointer type
>> pkcs12.c:150: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:164: warning: assignment from incompatible pointer type
>> pkcs12.c:165: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:175: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:177: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:182: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:189: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:190: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c: In function smime_pem_to_pkcs12_generic:
>> pkcs12.c:305: warning: assignment from incompatible pointer type
>> pkcs12.c:317: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:329: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:331: warning: assignment from incompatible pointer type
>> pkcs12.c:332: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:347: warning: assignment from incompatible pointer type
>> pkcs12.c:348: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:353: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:354: warning: passing argument 1 of sk_push from incompatible pointer type
>> pkcs12.c:359: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c: In function pkcs12_to_x509_and_pkey:
>> pkcs12.c:407: warning: passing argument 1 of sk_num from incompatible pointer type
>> pkcs12.c:408: warning: passing argument 1 of sk_value from incompatible pointer type
>> pkcs12.c:421: warning: passing argument 1 of sk_num from incompatible pointer type
>> pkcs12.c:422: warning: passing argument 1 of sk_value from incompatible pointer type
>> pkcs12.c:466: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:469: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:473: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:475: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c: In function smime_pkcs12_to_pem_generic:
>> pkcs12.c:552: warning: passing argument 1 of sk_num from incompatible pointer type
>> pkcs12.c:553: warning: passing argument 1 of sk_value from incompatible pointer type
>> pkcs12.c:566: warning: passing argument 1 of sk_num from incompatible pointer type
>> pkcs12.c:569: warning: passing argument 1 of sk_value from incompatible pointer type
>> pkcs12.c:621: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> pkcs12.c:623: warning: passing argument 1 of sk_pop_free from incompatible pointer type
>> ar -crs libzxid.a c/zx-ns.o c/zx-attrs.o c/zx-elems.o zxlibdec.o zxlibenc.o zxlib.o zxns.o zxpw.o zxutil.o zxbusprod.o zxlog.o zxsig.o zxcrypto.o akbox_fn.o c/license.o c/zx-di12-dec.o c/zx-sa11-dec.o c/zx-sp11-dec.o c/zx-a-dec.o c/zx-is12-dec.o c/zx-sbf-dec.o c/zx-wsse-dec.o c/zx-ac-dec.o c/zx-lu-dec.o c/zx-ds-dec.o c/zx-wsu-dec.o c/zx-b-dec.o c/zx-m20-dec.o c/zx-e-dec.o c/zx-sec-dec.o c/zx-xenc-dec.o c/zx-b12-dec.o c/zx-md-dec.o c/zx-sec12-dec.o c/zx-dec.o c/zx-ff12-dec.o c/zx-di-dec.o c/zx-sa-dec.o c/zx-sp-dec.o c/zx-is-dec.o c/zx-ecp-dec.o c/zx-paos-dec.o c/zx-dap-dec.o c/zx-ps-dec.o c/zx-im-dec.o c/zx-as-dec.o c/zx-subs-dec.o c/zx-dst-dec.o c/zx-cb-dec.o c/zx-cdm-dec.o c/zx-gl-dec.o c/zx-mm7-dec.o c/zx-wst-dec.o c/zx-wsp-dec.o c/zx-wsc-dec.o c/zx-xa-dec.o c/zx-xac-dec.o c/zx-xasa-dec.o c/zx-xasacd1-dec.o c/zx-xasp-dec.o c/zx-xaspcd1-dec.o c/zx-dp-dec.o c/zx-pmm-dec.o c/zx-prov-dec.o c/zx-idp-dec.o c/zx-shps-dec.o c/zx-exca-dec.o c/zx-hrxml-dec.o c/zx-idhrxml-dec.o c/zx
> -!
>> demomed-dec.o c/zx-xsi-dec.o c/zx-xs-dec.o c/zx-xml-dec.o c/zx-tas3-dec.o c/zx-tas3sol-dec.o c/zx-shibmd-dec.o c/zx-idpdisc-dec.o zxidsimp.o zxidpool.o zxidpsso.o zxidsso.o zxidslo.o zxiddec.o zxidspx.o zxididpx.o zxidmni.o zxidpep.o zxidpdp.o zxidmk.o zxida7n.o zxidses.o zxiduser.o zxidcgi.o zxidconf.o zxidecp.o zxidcdc.o zxidloc.o zxidlib.o zxidmeta.o zxidcurl.o zxidepr.o ykcrc.o ykaes.o zxidmkwsf.o zxidwsf.o zxidwsc.o zxidwsp.o zxiddi.o zxidim.o zxidps.o zxidoauth.o certauth.o keygen.o pkcs12.o smime-enc.o smime-qry.o smime-vfy.o smimemime.o smimeutil.o
>> /usr/bin/ranlib: file: libzxid.a(zx-xsi-dec.o) has no symbols
>> /usr/bin/ranlib: file: libzxid.a(zx-xs-dec.o) has no symbols
>> cd Net; perl Makefile.PL && make
>> Warning: -L.. changed to -L/Users/mdondrup/Downloads/zxid-1.11-osx/Net/..
>> Writing Makefile for Net::SAML
>> Writing MYMETA.yml and MYMETA.json
>> cp SAML.pod blib/lib/Net/SAML.pod
>> cp SAML.pm blib/lib/Net/SAML.pm
>> /usr/bin/clang -c  -I.. -I/apps/openssl/std/include -I/apps/include -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -O3   -DVERSION=\"\" -DXS_VERSION=\"\"  "-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE"   SAML_wrap.c
>> SAML_wrap.c:1198:2: warning: expression result unused [-Wunused-value]
>>        hv_delete_ent(hv, obj, 0, 0);
>>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/hv.h:423:6: note: expanded from macro 'hv_delete_ent'
>>    (MUTABLE_SV(hv_common((hv), (key), NULL, 0, 0, (flags) | HV_DELETE, \
>>     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
>> #define MUTABLE_SV(p)   ((SV *)MUTABLE_PTR(p))
>>                         ^
>> SAML_wrap.c:1225:7: warning: expression result unused [-Wunused-value]
>>      hv_store_ent(hv, obj, newSViv(1), 0);
>>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/hv.h:413:6: note: expanded from macro 'hv_store_ent'
>>    ((HE *) hv_common((hv), (keysv), NULL, 0, 0, HV_FETCH_ISSTORE,      \
>>     ^
>> SAML_wrap.c:5524:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg5 = SvPV(ST(3), arg4);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:5636:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg5 = SvPV(ST(3), arg4);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:5748:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg5 = SvPV(ST(3), arg4);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:5918:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg5 = SvPV(ST(3), arg4);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:6120:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg3 = SvPV(ST(1), arg2);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:6205:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg3 = SvPV(ST(1), arg2);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:8202:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg5 = SvPV(ST(3), arg4);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> SAML_wrap.c:8285:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
>>      arg6 = SvPV(ST(4), arg5);
>>             ^~~~~~~~~~~~~~~~~
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1521:22: note: expanded from macro 'SvPV'
>> #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
>>                     ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/sv.h:1527:57: note: expanded from macro 'SvPV_flags'
>>     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
>>                                                        ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/embed.h:3332:55: note: expanded from macro 'sv_2pv_flags'
>> #define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
>>                                                          ^
>> /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/proto.h:3167:73: note: passing argument to parameter 'lp' here
>> PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
>>                                                                            ^
>> 10 warnings generated.
>> Running Mkbootstrap for Net::SAML ()
>> chmod 644 SAML.bs
>> rm -f blib/arch/auto/Net/SAML/SAML.bundle
>> LD_RUN_PATH="/opt/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/clang  -L/opt/local/lib  -bundle -undefined dynamic_lookup -fstack-protector SAML_wrap.o  -o blib/arch/auto/Net/SAML/SAML.bundle 	\
>> 	   -L/Users/mdondrup/Downloads/zxid-1.11-osx/Net/.. -lzxid -lcrypto -lcurl -ldl -lz  	\
>> 	  
>> chmod 755 blib/arch/auto/Net/SAML/SAML.bundle
>> cp SAML.bs blib/arch/auto/Net/SAML/SAML.bs
>> chmod 644 blib/arch/auto/Net/SAML/SAML.bs
>> Manifying blib/man3/Net::SAML.3pm
>> gcc -g -fPIC -fmessage-length=0 -Wno-unused-label -Wno-unknown-pragmas -fno-strict-aliasing -DMAYBE_UNUSED='' -DUSE_CURL -DUSE_OPENSSL -DUSE_PTHREAD -pthread -DMACOSX -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -I. -I/Users/mdondrup/Downloads/zxid-1.11-osx -I/opt/local//include -I/usr/local/include -I/include -I/opt/local/apache2/include -I/opt/local/include/apr-1/   -c -o zxid.o zxid.c
>> gcc  -o zxid zxid.o -L. -lzxid -pthread -lpthread -L/usr/local/lib -L/opt/local//lib -lcurl -lssl -lcrypto -lz
>> gcc -o libzxid.so.0.0 -dylib -all_load -bundle libzxid.a  -pthread -lpthread -L/usr/local/lib -L/opt/local//lib -lcurl -lssl -lcrypto -lz
>> sh ./zxmkdirs.sh /opt/local/zxid
>> /opt/local/zxidses
>> /opt/local/zxiduser
>> /opt/local/zxiduid
>> /opt/local/zxidnid
>> /opt/local/zxidlog
>> /opt/local/zxidlog/rely
>> /opt/local/zxidlog/issue
>> /opt/local/zxidcot
>> /opt/local/zxidinv
>> /opt/local/zxiddimd
>> /opt/local/zxiduid/.all
>> /opt/local/zxiduid/.all/.bs
>> /opt/local/zxidtmp
>> /opt/local/zxidch
>> /opt/local/zxidch/default
>> /opt/local/zxidch/default/.ack
>> /opt/local/zxidch/default/.del
>> You may need to run
>> 
>>    chown -R nobody /opt/local/zxid
>> 
>> to make sure the zxid CGI script can write to the /opt/local/zxid
>> directory (substitute nobody with the user your web server runs as).
>> 
>> cp default-cot/* /opt/local/zxidcot
>> ===== Installing in /opt/local/zxid (to change do make install PREFIX=/your/path)
>> mkdir -p /opt/local/zxid /opt/local/zxid/bin /opt/local/zxid/lib /opt/local/zxid/include/zxid /opt/local/zxid/include/zx /opt/local/zxid/doc
>> cp zxmkdirs.sh zxcall zxpasswd zxcot zxlogview zxbusd zxbustailf zxbuslist zxdecode zxencdectest zxcleanlogs.sh zximport-htpasswd.pl zximport-ldif.pl xml-pretty.pl diffy.pl smime send.pl xacml2ldif.pl mockpdp.pl env.cgi zxid-java.sh zxidatsel.pl zxidnewuser.pl zxidcot.pl zxiddash.pl zxidexplo.pl zxidhlo zxidhlo.pl zxidhlo.php zxidhlo.sh zxidhlo-java.sh zxidhlocgi.php zxidhlowsf zxidhrxmlwsc zxidhrxmlwsp zxididp zxidsimple zxidwsctool zxidwspcgi zxtest.pl zxsizeof /opt/local/zxid/bin
>> cp: zxcall: No such file or directory
>> cp: zxpasswd: No such file or directory
>> cp: zxcot: No such file or directory
>> cp: zxlogview: No such file or directory
>> cp: zxbusd: No such file or directory
>> cp: zxbustailf: No such file or directory
>> cp: zxbuslist: No such file or directory
>> cp: zxdecode: No such file or directory
>> cp: zxencdectest: No such file or directory
>> cp: smime: No such file or directory
>> cp: zxidhlo: No such file or directory
>> cp: zxidhlowsf: No such file or directory
>> cp: zxidhrxmlwsc: No such file or directory
>> cp: zxidhrxmlwsp: No such file or directory
>> cp: zxididp: No such file or directory
>> cp: zxidsimple: No such file or directory
>> cp: zxidwsctool: No such file or directory
>> cp: zxidwspcgi: No such file or directory
>> cp: zxsizeof: No such file or directory
>> make: *** [install] Error 1
> 
> Most of those missing files would have been generated had you run make all.
> 
> Cheers,
> --Sampo