>> How many build jobs are you using?
Was set to 10, changed to 1, no effect. Same error message.
I am getting quite a few warnings too...here's three different samplings:
---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
-DXVNCRELEASE=\"TightVNC-1.3.8\" init.c
In file included from init.c:71:
../../cfb/cfb.h:1411:9: warning: 'BitsPerPixel' macro redefined
#define BitsPerPixel(d) (\
^
../../include/servermd.h:556:9: note: previous definition is here
#define BitsPerPixel(d) (PixmapWidthPaddingInfo[d].bitsPerPixel)
^
init.c:341:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (q < 3 && *end != '.' ||
~~~~~~^~~~~~~~~~~~~~ ~~
init.c:341:16: note: place parentheses around the '&&' expression to silence
this warning
if (q < 3 && *end != '.' ||
^
( )
init.c:342:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
q == 3 && *end != '\0') {
~~~~~~~^~~~~~~~~~~~~~~
init.c:342:17: note: place parentheses around the '&&' expression to silence
this warning
q == 3 && *end != '\0') {
^
( )
init.c:958:21: warning: format string is not a string literal (potentially
insecure) [-Wformat-security]
fprintf(stderr, buf);
^~~
4 warnings generated.
rm -f sockets.o
---snip---
sprite.c:1756:9: warning: expression result unused [-Wunused-value]
if (GC_CHECK((WindowPtr) pDrawable))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sprite.c:197:7: note: expanded from macro 'GC_CHECK'
((int) (pScreenPriv->pCacheWin = (pWin))) , \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sprite.c:1780:9: warning: expression result unused [-Wunused-value]
if (GC_CHECK((WindowPtr) pDrawable) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sprite.c:197:7: note: expanded from macro 'GC_CHECK'
((int) (pScreenPriv->pCacheWin = (pWin))) , \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sprite.c:1803:9: warning: expression result unused [-Wunused-value]
if (GC_CHECK((WindowPtr) pDrawable) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sprite.c:197:7: note: expanded from macro 'GC_CHECK'
((int) (pScreenPriv->pCacheWin = (pWin))) , \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sprite.c:1822:9: warning: expression result unused [-Wunused-value]
if (GC_CHECK((WindowPtr) pDrawable) &&
---snip---
-DGCCUSESGAS -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO
httpd.c
httpd.c:147:37: warning: passing 'int *' to parameter of type 'socklen_t *'
(aka 'unsigned int *') converts between
pointers to integer types with different sign [-Wpointer-sign]
(struct sockaddr *)&addr, &addrlen)) < 0) {
^~~~~~~~
/usr/include/sys/socket.h:610:69: note: passing argument to parameter here
int accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
^
httpd.c:281:53: warning: passing 'int *' to parameter of type 'socklen_t *'
(aka 'unsigned int *') converts between
pointers to integer types with different sign [-Wpointer-sign]
getpeername(httpSock, (struct sockaddr *)&addr, &addrlen);
^~~~~~~~
/usr/include/sys/socket.h:614:74: note: passing argument to parameter here
int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict)
^
httpd.c:344:20: warning: using the result of an assignment as a condition
without parentheses [-Wparentheses]
while (dollar = strchr(ptr, '$')) {
~~~~~~~^~~~~~~~~~~~~~~~~~
httpd.c:344:20: note: place parentheses around the assignment to silence this
warning
while (dollar = strchr(ptr, '$')) {
^
( )
httpd.c:344:20: note: use '==' to turn this assignment into an equality
comparison
while (dollar = strchr(ptr, '$')) {
-----Original Message-----
From: Alexander Hansen [mailto:[email protected]]
Sent: Thursday, August 09, 2012 12:46 PM
To: Patterson, James
Cc: [email protected]
Subject: Re: [Fink-beginners] Problem compiling TightVNC
On 8/9/12 10:40 AM, Patterson, James wrote:
>> 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.
That's set in /sw/etc/fink.conf , and can be changed using "fink configure".
>
> 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
>
>
_reading_ from /usr/X11 is OK. _Installingg_ there wouldn't be.
--
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
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners