Opened 9 years ago

Closed 9 years ago

#32218 closed defect (fixed)

nodejs: OpenTransportProviders.h:108: error: parse error before numeric constant

Reported by: rudloff@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc: ryandesign (Ryan Schmidt)
Port: nodejs

Description

/usr/bin/gcc-4.0 --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__DARWIN_64_BIT_INO_T=1 -Isrc/ares/config_darwin -Isrc  -O2 -arch i386 -c src/unix/darwin.c -o src/unix/darwin.o
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:46,
                 from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25,
                 from src/unix/darwin.c:28:
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransportProviders.h:108: error: parse error before numeric constant
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransportProviders.h:116: error: parse error before numeric constant

Attachments (1)

main.log (235.0 KB) - added by rudloff@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by rudloff@…

Attachment: main.log added

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

Cc: ryandesign@… added; ciserlohn@… removed
Owner: changed from macports-tickets@… to ciserlohn@…

From the nodejs discussion group I already know that nodejs 0.6.2 crashes on Leopard; getting it to work on Tiger is probably even more problematic. If you want to use nodejs (which is extremely modern and rapidly-evolving software) without risk of it breaking all the time, my recommendation would be to use a modern operating system (i.e. Lion or Snow Leopard).

comment:2 Changed 9 years ago by ci42

Resolution: wontfix
Status: newclosed

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

Resolution: wontfix
Status: closedreopened

Christoph, if you do not intend for nodejs to be used on earlier OS versions, please error out with a nice error message on those OS versions telling the user that. The transmission Portfile has a good example you can follow.

comment:4 in reply to:  3 Changed 9 years ago by ci42

Resolution: fixed
Status: reopenedclosed

Replying to ryandesign@…:

Christoph, if you do not intend for nodejs to be used on earlier OS versions, please error out with a nice error message on those OS versions telling the user that. The transmission Portfile has a good example you can follow.

Thanks for the hint. Done in r87562.

Note: See TracTickets for help on using tickets.