[MacPorts] #32859: tcl-tls chooses during configure wrong tcl installation and fails to compile
MacPorts
noreply at macports.org
Thu Jan 12 12:39:49 PST 2012
#32859: tcl-tls chooses during configure wrong tcl installation and fails to
compile
------------------------------+---------------------------------------------
Reporter: neumann@… | Owner: jmpp@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: haspatch | Port: tcl-tls
------------------------------+---------------------------------------------
Changes (by raimue@…):
* owner: macports-tickets@… => jmpp@…
* keywords: hashpatch => haspatch
Old description:
> 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
New description:
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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/32859#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list