Hi, I was having the same
problems installing gv 3.6.5-2 via fink on a brand new Mac air that had
10.8 pre-installed. I obtained the new gv.info and gv.patch files
from Remko Scharroo found at: http://sourceforge.net/tracker/?func=detail&aid=3555388&group_id=17203&atid=414256I
am not sure if they are the same as the ones mentioned below, but gv
3.7.3-1 compiled without error on 10.8 and ghostview opens without issue
in XQuartz. I just wanted to let you all know in case you needed
more verification before pushing these versions to the main repository. Thank
you for the update and great job with Fink overall (you all make my
life A LOT easier)! Monica 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?
Hanspeter
gv.info Description:
Text document
gv.patch Description:
Text document
|
------------------------------------------------------------------------------
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