pkgsrc-Users archive

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

TLS on older macosx versions?



Hi,

on macosx 10.12 ("Sierra"), building print/libcups fails with

[...]
libtool: compile:  clang -fPIC -Os -g -I.. -D_CUPS_SOURCE 
-I/var/obj/pkgsrc/print/libcups/work/.buildlink/include 
-I/var/obj/pkgsrc/print/libcups/work/.buildlink/include/ncurses -O2 
-D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused 
-Wno-unused-result -Wsign-conversion -c thread.c -o thread.o >/dev/null 
2>&1
Compiling transcode.c...
In file included from tls.c:41:
./tls-darwin.c:1290:7: error: use of undeclared identifier 
'kTLSProtocol13'
      kTLSProtocol13
      ^
1 error generated.
gnumake[1]: *** [tls.o] Error 1

Does macosx not use the pkgsrc openssl?

Cheerio,
Hauke


(Overriding that, I get a 

[...]
libtool: link: clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o 
.libs/libcups.2.dylib  .libs/array.o .libs/auth.o .libs/debug.o 
.libs/dest.o .libs/dest-job.o .libs/dest-localization.o 
.libs/dest-options.o .libs/dir.o .libs/encode.o .libs/file.o 
.libs/getputfile.o .libs/globals.o .libs/hash.o .libs/http.o 
.libs/http-addr.o .libs/http-addrlist.o .libs/http-support.o 
.libs/ipp.o .libs/ipp-file.o .libs/ipp-vars.o .libs/ipp-support.o 
.libs/langprintf.o .libs/language.o .libs/md5.o .libs/md5passwd.o 
.libs/notify.o .libs/options.o .libs/pwg-media.o .libs/raster-error.o 
.libs/raster-stream.o .libs/raster-stubs.o .libs/request.o 
.libs/snprintf.o .libs/string.o .libs/tempfile.o .libs/thread.o 
.libs/tls.o .libs/transcode.o .libs/usersys.o .libs/util.o 
.libs/adminutil.o .libs/backchannel.o .libs/backend.o 
.libs/getdevices.o .libs/getifaddrs.o .libs/ppd.o .libs/ppd-attr.o 
.libs/ppd-cache.o .libs/ppd-conflicts.o .libs/ppd-custom.o 
.libs/ppd-emit.o .libs/ppd-localize.o .libs/ppd-mark.o .libs/ppd-page.o 
.libs/ppd-util.o .libs/raster-interpret.o .libs/raster-interstub.o 
.libs/sidechannel.o .libs/snmp.o   -L../cups 
-L/var/obj/pkgsrc/print/libcups/work/.buildlink/lib -lc -lpthread 
-lresolv -framework SystemConfiguration -framework CoreFoundation 
-framework Security 
/var/obj/pkgsrc/print/libcups/work/.buildlink/lib/libiconv.dylib 
/var/obj/pkgsrc/print/libcups/work/.buildlink/lib/libz.dylib  
-Wl,-no_warn_inits -Os -g -Os -g   -framework SystemConfiguration 
-framework CoreFoundation -framework Security -install_name  
/opt/local/lib/libcups.2.dylib -compatibility_version 3 
-current_version 3.14 -Wl,-single_module
ld: unknown option: -no_warn_inits
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
gnumake[1]: *** [libcups.la] Error 1
gnumake: *** [all] Error 1
*** Error code 2

-- ah well).

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index