Opened 14 years ago

Closed 13 years ago

#29003 closed defect (fixed)

py27-wxpython build failure: "unable to execute gcc-4.0: No such file or directory"

Reported by: chase.ruebel@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: soehn@…, NF6X (Mark J. Blair), robitaille@…, jameskyle@…, jjstickel@…
Port: py27-wxpython

Description (last modified by jmroot (Joshua Root))

I've been getting this message every time I try to install py27-wxpython. During the build, it displays:

Error: Target org.macports.build returned: shell command failed (see log for details)
Log for py27-wxpython is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/main.log
Error: Status 1 encountered during processing.

I have attached the log it refers to. Please help! Thanks in advance for any help

-Chase

Attachments (1)

main.log (118.8 KB) - added by chase.ruebel@… 14 years ago.
log for py27-wxpython during error

Download all attachments as: .zip

Change History (15)

Changed 14 years ago by chase.ruebel@…

Attachment: main.log added

log for py27-wxpython during error

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

Description: modified (diff)
Keywords: wxpython removed
Owner: changed from macports-tickets@… to jwa@…

Please remember to preview and use WikiFormatting, and cc the maintainer.

comment:2 Changed 13 years ago by shabbyrobe@…

On line 1270, it says

:info:build unable to execute gcc-4.0: No such file or directory

This isn't a solution to the problem, but this workaround allowed me to get it to install (though, standard disclaimer... YMMV):

cd /usr/bin
sudo ln -s gcc-4.2 gcc-4.0
sudo ln -s g++-4.2 g++-4.0

The installed version of wxwidgets is 32 bit only, so you will get errors whenever you try to import unless you run python in 32 bit mode.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Summary: py27-wxpython error: Status 1 encountered during processingpy27-wxpython build failure: "unable to execute gcc-4.0: No such file or directory"

comment:4 Changed 13 years ago by soehn@…

Cc: soehn@… added

Cc Me!

comment:5 Changed 13 years ago by raimue (Rainer Müller)

Has duplicate #31435.

comment:6 Changed 13 years ago by fheday@…

I am using Macos Lion and having the same problem. The workaround didn't work for me

comment:7 Changed 13 years ago by fheday@…

Cc: fheday@… added

Cc Me!

comment:8 Changed 13 years ago by fheday@…

Cc: fheday@… removed

Cc Me!

comment:9 Changed 13 years ago by NF6X (Mark J. Blair)

Cc: nf6x@… added

Cc Me!

comment:10 Changed 13 years ago by alice.waz.around@…

Cc Me!

comment:11 Changed 13 years ago by calvin@…

Cc me

comment:12 Changed 13 years ago by dandagr81@…

I'm also affected by this.

comment:13 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: robitaille@… jameskyle@… jjstickel@… added

Has duplicate #32317 which has more info.

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

Resolution: fixed
Status: newclosed

Looks like this was fixed by r87792.

Note: See TracTickets for help on using tickets.