Error building nspr during Gnome-Control Center install

Ryan Schmidt ryandesign at macports.org
Mon Jan 19 02:25:27 PST 2009


On Jan 19, 2009, at 00:24, Mark wrote:

> Could someone help me interpret this error? I tried installing  
> Gnome-Control-Center, and early it bombed on this:
>
>> --->  Building nspr
>> Error: Target org.macports.build returned: shell command " cd "/ 
>> opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_deve 
>> l_nspr/work/nspr-4.7.3/mozilla/nsprpub" && make all " returned  
>> error 2
>> Command output: /usr/include/mach/processor_info.h:99: error:  
>> syntax error before 'cpu_type_t'
>> /usr/include/mach/processor_info.h:104: error: syntax error before  
>> '}' token
>> In file included from /usr/include/mach-o/dyld.h:31,
>>                  from prlink.c:85:

I'm not sure we're seeing the first error here. MacPorts only shows  
you the last 40 (I think) lines of error. Try "sudo port clean nspr"  
and then "sudo port -d install nspr" and see what the first error is.  
That may tell us more.



More information about the macports-users mailing list