> Umm...I believe it's trying to _build_ its own copy of
> libXau.a and failing, rather than being unable to find one
> from the system.

That's what I thought too, but the queries I looked at online with regards to 
this was that it couldn't find it and that it was a misleading error msg.

> How many build jobs are you using?  That error looks like
> what you get when a build isn't safe for multiple
> threads--static library builds are one place where I've
> often seen this behavior.  

I am just typing in the command "fink install tightvnc". Not trying manual 
compilation anymore.

It is not staying inside the /sw tree though. 
I know that for sure. The /usr/lib/X11 tree is in use...that's where the 
X11.tmpl file is pointing it.

James


-----Original Message-----
From: Alexander Hansen [mailto:alexanderk.han...@gmail.com] 
Sent: Thursday, August 09, 2012 12:34 PM
To: Patterson, James
Cc: fink-beginners@lists.sourceforge.net
Subject: Re: [Fink-beginners] Problem compiling TightVNC

On 8/9/12 10:30 AM, Patterson, James wrote:
>>> Thanks! How do I apply a patch to a fink package? Either this is way 
>>> obvious, or I missed it in the instructions...
> 
>>  If you're using Fink to build the package, it should have been applied for 
>> you.
> 
> Of course! 
> 
> Ok then, here's the error message:
> 
> ---snip--- 
> gcc -c -O2 -ansi -Dasm=__asm  -I. -I../../../.././/exports/include/X11 
> -I../../../.././/include/fonts -I../../../.././/exports/include/X11         
> -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os           
> -I../../../.././/../include -I/sw/include  -I../../../.././ 
> -I../../../.././/exports/include  -DCSRG_BASED -DSHAPE                        
>                                                                               
>                                  -DGCCUSESGAS -DNDEBUG   -DFUNCPROTO=15 
> -DNARROWPROTO    loginauth.c
> rm -f libvnc.a                                                                
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> ar clq libvnc.a init.o sockets.o kbdptr.o cmap.o draw.o cutpaste.o        
> dispcur.o sprite.o rfbserver.o translate.o httpd.o auth.o        rre.o 
> corre.o stats.o hextile.o zlib.o tight.o cursor.o        loginauth.o          
>                                                                               
>                                                                               
>                                                                               
>                                                                               
> ranlib libvnc.a                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> make[2]: *** No rule to make target `../.././/lib/Xau/libXau.a', needed by 
> `Xvnc'.  Stop.                                                                
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                       
> make[1]: *** [all] Error 2                                                    
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> make: *** [all] Error 2                                                       
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> ### execution of /tmp/fink.i8I9v failed, exit code 2                          
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> ### execution of /tmp/fink.C1Gxz failed, exit code 2                          
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> Removing runtime build-lock...                                                
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> Removing build-lock package...                                                
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> /sw/bin/dpkg-lockwait -r fink-buildlock-tightvnc-1.3.8-4                      
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> (Reading database ... 26244 files and directories currently installed.)       
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> Removing fink-buildlock-tightvnc-1.3.8-4 ...                                  
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                    
> Failed: phase compiling: tightvnc-1.3.8-4 failed   
> ---end---
> 
> So, I found a copy of libXau.a, and put it in various places that the Xvnc 
> compile script might look for it, both under the /sv tree and /usr tree. I 
> made and included the Xau directory. I included the X11 lib locations as well.
> 
> I've found the references to the Xauth library in the 
> /sw/lib/X11/config/X11.tmpl file, and tried editing them to use existing 
> Xauth libraries. That didn't work - or I didn't do it right.
> 
> Any suggestions?
> By the way I've gotten Vine VNC working. Seems a bit better than just using 
> fast user switching alone - can at least login directly to that user via the 
> port switch :1, :2, :3 etc.
> 
> Still it would be nice to start my own X-window server and access that.
> 
> James
> 
> 
> 

Umm...I believe it's trying to _build_ its own copy of libXau.a and failing, 
rather than being unable to find one from the system.

How many build jobs are you using?  That error looks like what you get when a 
build isn't safe for multiple threads--static library builds are one place 
where I've often seen this behavior.
--
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