Opened 14 years ago

Closed 14 years ago

#24771 closed defect (invalid)

installing zlib via Macports on MAC OS10.6 error, /usr/bin/gcc-4.2 not found

Reported by: johnpye@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: landonf (Landon Fuller), ryandesign (Ryan Carsten Schmidt)
Port: zlib

Description (last modified by jmroot (Joshua Root))

Trying to install MySQL5 on my Mac running OS10.6, the following error occurs.

Error: Target org.macports.build 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 -j2 all " returned error 2
Command output: /usr/bin/gcc-4.2 -O2 -arch x86_64 -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void   -c -o example.o example.c
make: /usr/bin/gcc-4.2: Command not found
make: *** [example.o] Error 127

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

I have tried

sudo port clean zlib

no luck

any Ideas?

Thanks

John

Change History (1)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: landonf@… ryandesign@… added
Description: modified (diff)
Keywords: MySql 5 removed
Port: zlib added
Priority: HighNormal
Resolution: invalid
Status: newclosed
Summary: installing MYSql via Macports on MAC OS10.6 errorinstalling zlib via Macports on MAC OS10.6 error, /usr/bin/gcc-4.2 not found

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

You don't appear to have Xcode installed as per Installing MacPorts.

Note: See TracTickets for help on using tickets.