Many thanks, Ryan!
I made the change you suggested. Now, I'm getting a different error
(see below). Macports still appears to be looking for the openssl 1.0.x
macport.
[Error log elided for brevity's sake. Full output here:
http://pastebin.com/yWviHPND
)
I tried uninstalling all versions of openssl, and re-installing openssl:
stocks:/Users/crasch/src/openssl/openssl root# port install
---> Computing dependencies for openssl
---> Fetching archive for openssl
---> Attempting to fetch openssl-0.9.8o_0.darwin_8.ppc.tbz2 from
http://packages.macports.org/openssl
---> Attempting to fetch openssl-0.9.8o_0.darwin_8.ppc.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl
---> Attempting to fetch openssl-0.9.8o_0.darwin_8.ppc.tbz2 from
http://lil.fr.packages.macports.org/openssl
---> Fetching openssl
---> Verifying checksum(s) for openssl
---> Extracting openssl
---> Applying patches to openssl
---> Configuring openssl
---> Building openssl
---> Staging openssl into destroot
---> Installing openssl @0.9.8o_0
---> Activating openssl @0.9.8o_0
---> Cleaning openssl
stocks:/Users/crasch/src/postfix root# sudo port installed | grep 'openssl'
openssl @0.9.8o_0 (active)
However, when I attempt to install postfix 2.5.5, it tries to download
the open 1.0.1* library:
stocks:/Users/crasch/src/postfix root# port install +ldap +sasl +tls
---> Computing dependencies for openssl
---> Fetching archive for openssl
---> Attempting to fetch openssl-1.0.1c_0.darwin_8.ppc.tbz2 from
http://packages.macports.org/openssl
---> Attempting to fetch openssl-1.0.1c_0.darwin_8.ppc.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl
---> Attempting to fetch openssl-1.0.1c_0.darwin_8.ppc.tbz2 from
http://lil.fr.packages.macports.org/openssl
[stopped install here}
----
Excerpt from new error message:
_X509_get_subject_name referenced from libldap-2 expected to be defined
in /opt/local/lib/libcrypto.1.0.0.dylib
_X509_verify_cert_error_string referenced from libldap-2 expected to be
defined in /opt/local/lib/libcrypto.1.0.0.dylib
_i2d_X509_NAME referenced from libldap-2 expected to be defined in
/opt/local/lib/libcrypto.1.0.0.dylib
_sk_free referenced from libldap-2 expected to be defined in
/opt/local/lib/libcrypto.1.0.0.dylib
_sk_new_null referenced from libldap-2 expected to be defined in
/opt/local/lib/libcrypto.1.0.0.dylib
_sk_num referenced from libldap-2 expected to be defined in
/opt/local/lib/libcrypto.1.0.0.dylib
_sk_value referenced from libldap-2 expected to be defined in
/opt/local/lib/libcrypto.1.0.0.dylib
collect2: ld returned 1 exit status
make: *** [error] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_Users_crasch_src_postfix/postfix/work/postfix-2.5.5/src/error'
make: *** [update] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_Users_crasch_src_postfix/postfix/work/postfix-2.5.5'
shell command " cd
"/opt/local/var/macports/build/_Users_crasch_src_postfix/postfix/work/postfix-2.5.5"
&& /usr/bin/make -j2 -w " returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
DEBUG: Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for postfix):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Log for postfix is at:
/opt/local/var/macports/logs/_Users_crasch_src_postfix/postfix/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
-----
On 11/12/12 10:52 AM, Ryan Schmidt wrote:
On Nov 12, 2012, at 12:12, Christopher Rasch <[email protected]> wrote:
I've downloaded what I think is the last MacPorts Postfix 2.5.5 revision:
$ svn co -r 56520
http://svn.macports.org/repository/macports/trunk/dports/mail/postfix
make: *** No rule to make target `makefiles'. Stop.
MacPorts has changed in the years since this revision of the Portfile was
current. It used to be that the working directory was pretty reliably
${worksrcpath}, but that's no longer the case in current versions of MacPorts.
Ports must now explicitly set the working directory as needed.
Find this part of the portfile:
configure {
system "make makefiles CCARGS=\"${CCARGS}\" AUXLIBS=\"${AUXLIBS}\""
}
Change it to:
configure {
system -W ${worksrcpath} "make makefiles CCARGS=\"${CCARGS}\"
AUXLIBS=\"${AUXLIBS}\""
}
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users