Opened 14 years ago

Last modified 14 years ago

#24599 closed defect

Error 2 while trying to install zlib on OS X 10.6.3 — at Initial Version

Reported by: trichard@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: zlib

Description

Hello,

i just set up a new imac with all up to date Apple software (10.6.3, Macports 1.8.2) and tried to install mysql on the system.

I received the following error:

---> Computing dependencies for mysql5 ---> Staging zlib into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5" && /usr/bin/make install prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local " returned error 2 Command output: cp libz.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file

cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory

make: * [install-libs] Error 64

Error: The following dependencies failed to build: openssl zlib readline Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.

then I tried to install ffmpeg or ImageMagick and i allways encountered the same message.

so i tried to install zlib... same message.

I've checked the permissions in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local

everything seems to be ok.

What's going wrong with the zlib installation?

Thanks in advance

Thomas

Change History (0)

Note: See TracTickets for help on using tickets.