[MacPorts] #24771: installing zlib via Macports on MAC OS10.6 error, /usr/bin/gcc-4.2 not found (was: installing MYSql via Macports on MAC OS10.6 error)

MacPorts noreply at macports.org
Mon May 3 23:40:05 PDT 2010


#24771: installing zlib via Macports on MAC OS10.6 error, /usr/bin/gcc-4.2 not
found
-----------------------------+----------------------------------------------
  Reporter:  johnpye@…       |       Owner:  macports-tickets@…                   
      Type:  defect          |      Status:  closed                               
  Priority:  Normal          |   Milestone:                                       
 Component:  ports           |     Version:  1.8.2                                
Resolution:  invalid         |    Keywords:                                       
      Port:  zlib            |  
-----------------------------+----------------------------------------------
Changes (by jmr@…):

  * status:  new => closed
 * cc: landonf@…, ryandesign@… (added)
  * priority:  High => Normal
  * keywords:  MySql 5 =>
  * resolution:  => invalid
  * port:  => zlib


Old description:

> 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

New description:

 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

--

Comment:

 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
 [http://www.macports.org/install.php#requirements Installing MacPorts].

-- 
Ticket URL: <http://trac.macports.org/ticket/24771#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list