Dear Alexander,

I copied gv.info and gv.patch to /sw/fink/dists/local/main/finkinfo and tried 
to install again ghost view:

% fink install gv
Scanning package description files..........
Information about 5687 packages read in 2 seconds.
Can't resolve dependency "libxaw3dxft (>= 1.6.2-3)" for package "gv-3.7.3-1" 
(no matching packages/versions found)
Exiting with failure.

Then I tried 
% fink list libxaw3dxft
Information about 5687 packages read in 1 seconds.
     libxaw3dxft              1.6.2-2            Athena widget set with 3D look
     libxaw3dxft-shlibs       1.6.2-2            Athena widget set with 3D look

The version of libxaw3dxft seems to be older (1.6.2-2 ) than the one required 
by gv (>= 1.6.2-3), but I don't know if that is the problem.

Many thanks again for your help.
Antonio

On Aug 10, 2012, at 6:05 PM, Alexander Hansen <[email protected]> 
wrote:

> On 8/8/12 9:17 AM, Daniel Johnson wrote:
>> 
>> On Aug 8, 2012, at 12:11 PM, Hanspeter Niederstrasser 
>> <[email protected]> wrote:
>> 
>>> On 8/8/2012 10:10 AM, Antonio Villaseñor wrote:
>>>> Hello,
>>>> 
>>>> I just got a new Macbook Pro with Mountain Lion, and I have installed fink 
>>>> and a few packages without any problems.
>>>> 
>>>> However I have tried to install gv (the postscript viewer ghost view) and 
>>>> I've got a compiling error. Of course the error might be not in gv but in 
>>>> a package required by it.
>>>> 
>>>> I have tried running "fink self update" and "fink configure" but I get the 
>>>> same message.
>>>> 
>>>> I attach the screen output that I obtain when I type "fink install gv"
>>> 
>>> Please don't attach build logs.  Just copy and paste the error message (and 
>>> the compiler command that led to that error).
>>> 
>>>> gcc -DHAVE_CONFIG_H -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE 
>>>> -DGV_LIBDIR=\"/sw/lib/gv\" -I../lib -I../lib -g -I/usr/X11R6/include 
>>>> -I/sw/include/gnugetopt -I/sw/include -I/usr/X11R6/include 
>>>> -DUSE_SETENV_CODE -g -O2 -c Vlist.c
>>>> Vlist.c:281:49: warning: use of unary operator that may be intended as 
>>>> compound assignment (-=)
>>>>   if (!nvw->vlist.entries) nvw->vlist.entries =- 1;
>>>>                                               ^~
>>>> Vlist.c:323:18: error: no member named 'international' in 'SimplePart'
>>>> if( vw->simple.international == True ) {
>>>>     ~~~~~~~~~~ ^
>>>> Vlist.c:324:56: error: no member named 'fontset' in 'LabelPart'
>>>>   XFontSetExtents *ext = XExtentsOfFontSet(vw->label.fontset);
>>>>                                            ~~~~~~~~~ ^
>>>> Vlist.c:343:20: error: no member named 'international' in 'SimplePart'
>>>>   if( vw->simple.international == True )
>>>>       ~~~~~~~~~~ ^
>>>> Vlist.c:344:58: error: no member named 'fontset' in 'LabelPart'
>>>>     XmbDrawString(XtDisplay(w), XtWindow(w), vw->label.fontset,
>>>>                                              ~~~~~~~~~ ^
>>> 
>>> This looks like a strictness issue brought on by newer Xcode.  Can you try 
>>> the gv files that I've attached to this message?  Save both files to 
>>> /sw/fink/dists/local/main/finkinfo and then try to rebuild gv.
>>> 
>>> Todai team, the attached files work on 10.6 and 10.7/Xcode 4.1. 
>>> Irregardless of the results on 10.8, can your gv be updated on those 
>>> systems to this new version?
>> 
>> The more serious issue is that gv is finding the system's xaw3d before 
>> fink's. It's putting -I/usr/X11R6/include and -L/usr/X11R6/lib before the 
>> fink paths. If I prefix -I/sw/include to CPPFLAGS the package builds, but it 
>> still links to the system's xaw3d and so is broken. It's going to need more 
>> hacking to put -L/sw/lib before -L/usr/lib/X11R6.
>> 
>> Daniel
>> 
>> 
> 
> Here's a version where the dependencies have been updated a bit:
> 
> 1)  It uses libxaw3dxft2, which is at the same libversion as the
> system's xaw3d on Mountain Lion, but is available for all of our
> supported OS X.
> 
> 2)  libiconv* got left out of the dependencies, so I added that in.
> 
> 3) It uses the 'flag-sort' script while building to avoid linking to the
> system's xaw3d:
> 
> $ otool -L /sw/bin/gv
> /sw/bin/gv:
>       /sw/lib/libgnugetopt.1.dylib (compatibility version 1.2.0, current
> version 1.3.0)
>       /sw/lib/libiconv.2.dylib (compatibility version 7.0.0, current version
> 7.0.0)
>       /opt/X11/lib/libXinerama.1.dylib (compatibility version 2.0.0, current
> version 2.0.0)
>       /sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version
> 9.1.0)
>       /opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current
> version 16.0.0)
>       /opt/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current
> version 9.0.0)
>       /opt/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current
> version 7.0.0)
>       /opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current
> version 11.0.0)
>       /opt/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current
> version 7.1.0)
>       /opt/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current
> version 10.0.0)
>       /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current
> version 10.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 169.3.0)
> 
> 4) And there is a fink-package-precedence scan to check for any further
> potential pitfalls.
> 
> Antonio (and everybody else), please give it a try and see if it works
> for you.
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/
> <gv.info><gv.patch>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to