Opened 12 years ago

Closed 12 years ago

#32859 closed defect (fixed)

tcl-tls chooses during configure wrong tcl installation and fails to compile

Reported by: gustafn Owned by: jmpp@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc:
Port: tcl-tls

Description (last modified by raimue (Rainer Müller))

the port tcl-tls chooses during configuration the Apples tcl installation and can't link against MacPorts tcl (see below). This happens at least under Lion.

The portfile needs an additional configure flag (see patch)

info:build /Developer/usr/bin/clang -dynamiclib -pipe -O2 -arch x86_64 -pipe  -Os -Wall -Wno-implicit-int -fno-common -I/opt/local/include  -L/opt/local/lib -arch x86_64 -headerpad_max_install_names -Wl,-search_paths_first  -Wl,-single_module -o libtls1.6.dylib tls.o tlsIO.o tlsBIO.o tlsX509.o fixstrtod.o -L/opt/local/lib -lssl -lcrypto  -L/Library/Frameworks/Tcl.framework -ltclstub8.4 
:info:build ld: warning: ignoring file /Library/Frameworks/Tcl.framework/libtclstub8.4.a, missing required architecture x86_64 in file
:info:build Undefined symbols for architecture x86_64:
:info:build   "_tclStubsPtr", referenced from:
:info:build       _Tls_Error in tls.o
:info:build       _Tls_Free in tls.o
:info:build       _Tls_Clean in tls.o
:info:build       _Tls_Init in tls.o
:info:build       _CiphersObjCmd in tls.o
:info:build       _HandshakeObjCmd in tls.o
:info:build       _ImportObjCmd in tls.o
:info:build       ...
:info:build   "_Tcl_InitStubs", referenced from:
:info:build       _Tls_Init in tls.o

Attachments (1)

tcl-tls-Portfile.patch (553 bytes) - added by gustafn 12 years ago.
Patch for the Portfile

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by gustafn

Attachment: tcl-tls-Portfile.patch added

Patch for the Portfile

comment:1 Changed 12 years ago by gustafn

Cc: neumann@… added

Cc Me!

comment:2 Changed 12 years ago by raimue (Rainer Müller)

Description: modified (diff)
Keywords: haspatch added; hashpatch removed
Owner: changed from macports-tickets@… to jmpp@…

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Also needs a dependency on the tcl port.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Cc: neumann@… removed

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.