Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33313 closed defect (invalid)

macports zlib install fails

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

Description

Trying to install wine (or wine-devel) through from a clean install of macports 2.0.3 fails right after it tries to build zlib. I'm running 10.6.8.

Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install zlib

Any help is appreciated.

Attachments (1)

main.log (42.1 KB) - added by macbkjames@… 12 years ago.
/opt/local/var/macports/logs -- for zlib

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by macbkjames@…

Attachment: main.log added

/opt/local/var/macports/logs -- for zlib

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Port: wine removed
Resolution: invalid
Status: newclosed
Summary: macports wine install failsmacports zlib install fails

The problem is that you have files in /usr/local/ and that is not supported by Macports because it causes problems.

:info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -arch i386  -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void   -c -o adler32.o adler32.c
:info:build In file included from ./zlib.h:34,
:info:build                  from test/example.c:8:
:info:build ./zconf.h:401:48: error: /usr/local/include/sys/types.h: Permission denied
:info:build test/example.c:9:19: error: /usr/local/include/stdio.h: Permission denied
:info:build test/example.c:12:22: error: /usr/local/include/string.h: Permission denied
:info:build test/example.c:13:22: error: /usr/local/include/stdlib.h: Permission denied
:info:build In file included from zlib.h:34,
:info:build                  from zutil.h:22,
:info:build                  from adler32.c:8:
:info:build zconf.h:401:48: error: /usr/local/include/sys/types.h: Permission denied

comment:2 Changed 12 years ago by macbkjames@…

Right on so far...installation appears to be going smoothly now. Thanks much!

Note: See TracTickets for help on using tickets.