Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29070 closed defect (duplicate)

issue installing nodejs

Reported by: vijay.santhanam@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: nodejs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Heya, sorry - I dunno where to find my log cos the stdout doesn't say where to get it.

But here's the stdout... not sure if that helps.. please let me know where I can find the log

Portfile changed since last build; discarding previous state.
--->  Computing dependencies for ncurses
--->  Fetching ncurses
--->  Attempting to fetch ncurses-5.9.tar.gz from http://mirror.aarnet.edu.au/pub/gnu/ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Applying patches to ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Computing dependencies for ncurses
--->  Installing ncurses @5.9_0
--->  Deactivating ncurses @5.8_1
--->  Cleaning ncurses
--->  Activating ncurses @5.9_0
--->  Cleaning ncurses
--->  Computing dependencies for nodejs
--->  Fetching nodejs
--->  Attempting to fetch node-v0.4.5.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/nodejs
--->  Verifying checksum(s) for nodejs
--->  Extracting nodejs
--->  Applying patches to nodejs
--->  Configuring nodejs
--->  Building nodejs
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (194.2 KB) - added by vijay.santhanam@… 13 years ago.
The main log of this port install attempt

Download all attachments as: .zip

Change History (5)

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

Cc: ryandesign@… added
Description: modified (diff)
Port: nodejs added

It should say where the log is. The fact that it didn't suggests your MacPorts is out of date. Run selfupdate to update it. Then clean nodejs and try again.

sudo port selfupdate
sudo port clean nodejs
sudo port install nodejs

If it fails again, attach the main.log.

Changed 13 years ago by vijay.santhanam@…

Attachment: main.log added

The main log of this port install attempt

comment:2 Changed 13 years ago by vijay.santhanam@…

Hi Ryan, I've followed your steps and I get a similar error, but now the stdout tells me where the main.log is -- see attached. Let me know if you need more info. Thanks.

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

Resolution: duplicate
Status: newclosed

The log shows this is a duplicate of #28562. Deactivate libev (you'll have to force this if you have any other port installed that's using libev), clean nodejs, install nodejs, then reactivate libev.

sudo port -f deactivate libev
sudo port clean nodejs
sudo port install nodejs
sudo port activate libev

comment:4 Changed 13 years ago by vijay.santhanam@…

W00t! Thanks

Note: See TracTickets for help on using tickets.