On 8/7/12 9:14 PM, Patterson, James wrote:
> Greetings!
> 
> I suspect I know the answer to this query, but thought I'd try anyway: 
> 
> 1.) is it possible to get TightVNC working on 10.8?
> 
> (presumed yes)
> My goal is to get a vncserver on Mountain Lion 10.8. I have a brand new shiny 
> Mac Pro, dual 6-core CPUs, and way too much RAM. I need to get 3 users on it. 
> Using the extant fast-user switching combined with remote login usually 
> results in a system hang, at least when that is from windows or linux on the 
> other end. Any help there would be appreciated, but I've found little.
> 
> So, from here: 
> http://pdb.finkproject.org/pdb/package.php/tightvnc?rel_id=10.6-x86_64-current-stable
> I see that the last built package for TightVNC is from 10.6. 
> 
> 2.) I presume this is why fink does not list any packages for tightvnc - even 
> with unstable packages listed? Is there any way to hack that to make it list 
> old packages?

How good are you with Perl?  I believe there's a 1:1 mapping between the
OS version and the package distribution it can see, and making fink look
both in 10.4/ and 10.7/ would be quite involved.

A fallback option is to edit /sw/etc/fink.conf and add the line
"SelfupdateTrees: 10.7 10.4" to it, then set your selfupdate method to
cvs, e.g. via "fink selfupdate-cvs".  That will download the 10.4/ tree
package descriptions (which now serve 10.5. and 10.6), and you can copy
them over to your 10.7 tree for testing.

> 
> (presumed yes that's why it doesn't list, and no to the hack)
> 
> So, I downloaded the latest source, and took a crack at compiling it. I have 
> X11 installed via fink, 

You had _better_ not.  We don't provide an X11 for any currently
supported OS.

and the libs needed, I have the fink install present, I use the
insturctions here
http://www.finkproject.org/faq/usage-general.php?phpLang=en for
compiling a non-fink package with fink.
> 
> I have gotten thru
> xmkmf
> make World
> cd Xvnc
> ./configure
> 
> and I get errors on make while compiling the server:
> ---snip---
>                                                                               
>                      -DGCCUSESGAS -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  
> -DXSERV_t -DTRANS_SERVER -DTCPCONN -DUNIXCONN  -DHASXDMAUTH     -DUSE_RGB_TXT 
> -DNDBM oscolor.c
> rm -f osinit.o
> gcc -c -O2 -ansi -Dasm=__asm  -I.  -I../include 
> -I../../.././/exports/include/X11 -I../../.././/include/extensions 
> -I../../.././/lib/Xau -I../lbx  -I../../.././ -I../../.././/exports/include  
> -DCSRG_BASED -DSHAPE                                                          
>                                                           -DGCCUSESGAS 
> -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DXSERV_t -DTRANS_SERVER -DTCPCONN 
> -DUNIXCONN  -DHASXDMAUTH     -DUSE_RGB_TXT -DADMPATH=\"/var/log/X\%smsgs\" 
> osinit.c
> In file included from ../../.././/exports/include/X11/Xos.h:154,
>                  from osinit.c:55:
> /usr/include/stdlib.h:146: error: expected identifier or â(â before âintâ
> /usr/include/stdlib.h:146: error: expected â)â before â>â token
> make[3]: *** [osinit.o] Error 1
> make[2]: *** [os] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> ---end---
> 
> I'm not clear on why some strange charaters are in there at all.
> 
> Googleing that error message reveals that others have gotten similar errors - 
> but at different spots in stdlib.h.
> 
>>From what I gather, there's nothing wrong with stdlib.h, and I don't see 
>>anythng wrong with osinit.c or Xos.h either:
> 
> stdlib.h lines 144-147:
> 
> __BEGIN_DECLS
> void   abort(void) __dead2;
> int    abs(int) __pure2;
> int    atexit(void (*)(void));
> 
> Xos.h line 154: 
> #include <stdlib.h>
> 
> Aaand osinit.c line 55: 
> #include "Xos.h"
> 
> The general gist of the replies to previous posts are that there's an error 
> in the code in the .c file...but given that osinit.c is provided in the 
> package, I presume that it's an inconsistency of that file's code with the 
> latest flavor of Darwin. 
> 
> I was hoping that someone here had some helpful suggestions...I would be 
> happy to provide more information if desired.
> 
> Thanks,
> James
> 
> 

Fink's tightvnc packaging includes a patch:

http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/x11-system/tightvnc.patch

You might check if any of the elements in that are relevant to your issue.

Otherwise, it's definitely not impossible that Mountain Lion made some
changes which are incompatible with the current tightvnc release.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
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-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to