Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16970 closed defect (invalid)

nspr 4.7 compile error

Reported by: sethladd@… Owned by: reiffert@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: nspr

Description

Hello, trying to install couchdb, which requires nspr. I am getting a build error when trying to compile nspr 4.7.

Funny thing is, I just compiled this on my work macbook pro, also running 10.5.5, and also via 'port install couchdb'

Running Mac OS X 10.5.5

fuji:errorlytics sethladd$ uname -a
Darwin Fuji.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep  3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
fuji:errorlytics sethladd$ port --version
MacPorts 1.600
fuji:errorlytics sethladd$ sudo port clean nspr
--->  Cleaning nspr
fuji:errorlytics sethladd$ sudo port install nspr
--->  Fetching nspr
--->  Verifying checksum(s) for nspr
--->  Extracting nspr
--->  Configuring nspr
--->  Building nspr with target all
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_nspr/work/nspr-4.7/mozilla/nsprpub && make" returned error 2
Command output: prlink.c:1418: error: 'pName' undeclared (first use in this function)
prlink.c:1420: warning: implicit declaration of function 'FindSymbol'
prlink.c:1420: error: dereferencing pointer to incomplete type
prlink.c:1420: error: 'symAddr' undeclared (first use in this function)
prlink.c:1420: error: 'symClass' undeclared (first use in this function)
prlink.c:1420: error: 'noErr' undeclared (first use in this function)
prlink.c:1429: error: dereferencing pointer to incomplete type
prlink.c:1431: error: dereferencing pointer to incomplete type
prlink.c:1433: error: dereferencing pointer to incomplete type
prlink.c:1459: error: dereferencing pointer to incomplete type
prlink.c:1461: error: dereferencing pointer to incomplete type
prlink.c: In function 'PR_FindSymbolAndLibrary':
prlink.c:1559: error: dereferencing pointer to incomplete type
prlink.c:1563: error: dereferencing pointer to incomplete type
prlink.c:1564: error: dereferencing pointer to incomplete type
prlink.c:1564: error: dereferencing pointer to incomplete type
prlink.c: In function 'PR_LoadStaticLibrary':
prlink.c:1603: error: dereferencing pointer to incomplete type
prlink.c:1608: error: invalid application of 'sizeof' to incomplete type 'PRLibrary' 
prlink.c:1611: error: dereferencing pointer to incomplete type
prlink.c:1612: error: dereferencing pointer to incomplete type
prlink.c:1613: error: dereferencing pointer to incomplete type
prlink.c:1613: error: dereferencing pointer to incomplete type
prlink.c:1614: error: dereferencing pointer to incomplete type
prlink.c:1615: error: dereferencing pointer to incomplete type
prlink.c:1620: error: dereferencing pointer to incomplete type
make[3]: *** [prlink.o] Error 1
make[2]: *** [export] Error 2
make[1]: *** [export] Error 2
make: *** [export] Error 2

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by sethladd@…

Cc: sethladd@… added

Cc Me!

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: sethladd@… removed
Owner: changed from macports-tickets@… to reiffert@…
Port: nspr added

comment:3 Changed 16 years ago by sethladd@…

Looks like the issue was an old version of the xcode tools (probably before I installed Leopard)

Not sure how to close this, but once I installed the version of XCode that came with Leopard, I was able to compile nspr.

Thanks.

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.