Dear Lawrence,

Thanks for response. 

It is a new installation. There is no old one.

The attached is the main.log file.

Thanks again for checking this.

Guangshan

On Jan 24, 2012, at 4:44 PM, Lawrence Velázquez wrote:

> On Jan 24, 2012, at 1:50 p.m., guangshan chen wrote:
> 
>> Dear all,
>> 
>> I meet a code problem when intsll gv on my Mac. Could anybody figure out how 
>> to install gv? Thanks.
>> 
>> My Mac system is Mac OSX 10.7.
>> Macport version is 2.0.3.
>> 
>> Here is the information when I installed:
>> sudo port install gv
>> --->  Computing dependencies for gv
>> --->  Fetching archive for gv
>> --->  Attempting to fetch gv-3.7.2_0.darwin_11.x86_64.tbz2 from 
>> http://packages.macports.org/gv
>> --->  Fetching gv
>> --->  Verifying checksum(s) for gv
>> --->  Extracting gv
>> --->  Applying patches to gv
>> --->  Configuring gv
>> --->  Building gv
>> Error: Target org.macports.build returned: shell command failed (see log for 
>> details)
>> Log for gv is at: 
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_gv/gv/main.log
>> Error: Status 1 encountered during processing.
>> To report a bug, see <http://guide.macports.org/#project.tickets>
>> [guangshan@mac]41%: vi 
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_gv/gv/main.log
>> 
>> I checked the problem. It was caused by the Scrollbar.c. The following are 
>> the information when complied Scrollbar.c:
>> :info:build Scrollbar.c:865:14: warning: incompatible pointer types passing 
>> 'ScrollbarWidget' (aka 'struct _ScrollbarRec *') to parameter of type 
>> 'Widget' (aka 'struct _WidgetRec *') [-Wincompatible-pointer-types]
>> :info:build     CreateGC(SBW);
>> :info:build              ^~~
>> :info:build Scrollbar.c:205:15: note: instantiated from:
>> :info:build #define SBW                     sbw
>> :info:build                                 ^~~
>> :info:build Scrollbar.c:942:16: warning: incompatible pointer types passing 
>> 'ScrollbarWidget' (aka 'struct _ScrollbarRec *') to parameter of type 
>> 'Widget' (aka 'struct _WidgetRec *') [-Wincompatible-pointer-types]
>> :info:build       CreateGC(SBW);
>> :info:build                ^~~:info:build Scrollbar.c:205:15: note: 
>> instantiated from:
>> :info:build #define SBW                     sbw
>> :info:build                                 ^~~
>> :info:build Scrollbar.c:942:16: warning: incompatible pointer types passing 
>> 'ScrollbarWidget' (aka 'struct _ScrollbarRec *') to parameter of type 
>> 'Widget' (aka 'struct _WidgetRec *') [-Wincompatible-pointer-types]
>> :info:build       CreateGC(SBW);
>> :info:build                ^~~:info:build Scrollbar.c:205:15: note: 
>> instantiated from:
>> :info:build #define SBW                     sbw
>> :info:build                                 ^~~
>> :info:build Scrollbar.c:1053:64: error: too few arguments to function call, 
>> expected 5, have 4
>> :info:build    (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
> 
> 
> I can install gv just fine on my 10.7 system with MacPorts 2.0.3. Have you 
> tried running a selfupdate and upgrade outdated first? It would also be 
> useful if you showed us the entire log.
> 
> vq

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to