[Pidgin] #8396: Windows Vista: Bonjour_SDK is installed with the wrong permissions

Pidgin trac at pidgin.im
Wed Feb 11 06:59:07 EST 2009


#8396: Windows Vista: Bonjour_SDK is installed with the wrong permissions
-------------------------+--------------------------------------------------
 Reporter:  erez_bashan  |           Owner:  datallah
     Type:  defect       |          Status:  new     
Component:  Bonjour      |         Version:  2.5.4   
 Keywords:               |   Launchpad_bug:          
-------------------------+--------------------------------------------------
 1. trying to create a '''development''' environment on Windows
 Vista.[[BR]]

 2. followed the instructions under
 http://developer.pidgin.im/wiki/BuildingWinPidgin ("the easy way")[[BR]]

 3. when running the make ("make -f Makefile.mingw install"), it failed
 with the following:[[BR]]

 ... skipping successful parts ...[[BR]]


 {{{
 gcc.exe -O2 -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-
 statement
 -Werror-implicit-function-declaration -Wextra -Wno-sign-compare -Wno-
 unused-para
 meter -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-
 externs -
 Wpointer-arith -Wundef -pipe -mno-cygwin -mms-bitfields -g
 -DUSE_BONJOUR_APPLE -
 DHAVE_CYRUS_SASL -DHAVE_CONFIG_H -I.
 -I../../../../win32-dev/gtk_2_0/include -I.
 ./../../../win32-dev/gtk_2_0/include/glib-2.0
 -I../../../../win32-dev/gtk_2_0/li
 b/glib-2.0/include -I../../../../win32-dev/Bonjour_SDK/Include
 -I../../../../win
 32-dev/libxml2-2.6.30/include -I../../../libpurple
 -I../../../libpurple/win32 -I
 ../../.. -o bonjour.o -c bonjour.c
 In file included from bonjour.c:30:
 dns_sd_proxy.h:34:20: dns_sd.h: No such file or directory
 In file included from bonjour.c:30:
 dns_sd_proxy.h:40: error: syntax error before
 "_wpurple_DNSServiceAddRecord"
 dns_sd_proxy.h:40: error: syntax error before "sdRef"
 dns_sd_proxy.h:41: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceAddRecord'
 dns_sd_proxy.h:41: warning: data definition has no type or storage class
 dns_sd_proxy.h:45: error: syntax error before "_wpurple_DNSServiceBrowse"
 dns_sd_proxy.h:45: error: syntax error before '*' token
 dns_sd_proxy.h:46: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceBrowse'
 dns_sd_proxy.h:46: warning: data definition has no type or storage class
 dns_sd_proxy.h:54: error: syntax error before
 "_wpurple_DNSServiceProcessResult"

 dns_sd_proxy.h:54: error: syntax error before "sdRef"
 dns_sd_proxy.h:54: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceProcessResult'
 dns_sd_proxy.h:54: warning: data definition has no type or storage class
 dns_sd_proxy.h:58: error: syntax error before
 "_wpurple_DNSServiceQueryRecord"
 dns_sd_proxy.h:58: error: syntax error before '*' token
 dns_sd_proxy.h:59: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceQueryRecord'
 dns_sd_proxy.h:59: warning: data definition has no type or storage class
 dns_sd_proxy.h:63: error: syntax error before "sdRef"
 dns_sd_proxy.h:67: error: syntax error before "sdRef"
 dns_sd_proxy.h:71: error: syntax error before
 "_wpurple_DNSServiceRegister"
 dns_sd_proxy.h:71: error: syntax error before '*' token
 dns_sd_proxy.h:73: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceRegister'
 dns_sd_proxy.h:73: warning: data definition has no type or storage class
 dns_sd_proxy.h:77: error: syntax error before "_wpurple_DNSServiceResolve"
 dns_sd_proxy.h:77: error: syntax error before '*' token
 dns_sd_proxy.h:78: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceResolve'
 dns_sd_proxy.h:78: warning: data definition has no type or storage class
 dns_sd_proxy.h:82: error: syntax error before
 "_wpurple_DNSServiceRemoveRecord"
 dns_sd_proxy.h:82: error: syntax error before "sdRef"
 dns_sd_proxy.h:82: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceRemoveRecord'
 dns_sd_proxy.h:82: warning: data definition has no type or storage class
 dns_sd_proxy.h:86: error: syntax error before
 "_wpurple_DNSServiceUpdateRecord"
 dns_sd_proxy.h:86: error: syntax error before "sdRef"
 dns_sd_proxy.h:87: warning: type defaults to `int' in declaration of
 `_wpurple_D
 NSServiceUpdateRecord'
 dns_sd_proxy.h:87: warning: data definition has no type or storage class
 dns_sd_proxy.h:91: error: syntax error before '*' token
 dns_sd_proxy.h:95: error: syntax error before '*' token
 dns_sd_proxy.h:99: warning: type defaults to `int' in declaration of
 `TXTRecordR
 ef'
 dns_sd_proxy.h:99: error: syntax error before '*' token
 dns_sd_proxy.h:103: warning: type defaults to `int' in declaration of
 `TXTRecord
 Ref'
 dns_sd_proxy.h:103: error: syntax error before '*' token
 dns_sd_proxy.h:111: error: syntax error before
 "_wpurple_TXTRecordSetValue"
 dns_sd_proxy.h:111: error: syntax error before '*' token
 dns_sd_proxy.h:111: warning: type defaults to `int' in declaration of
 `_wpurple_
 dns_sd_proxy.h:111: warning: type defaults to `int' in declaration of
 `_wpurple_
 TXTRecordSetValue'
 dns_sd_proxy.h:111: warning: data definition has no type or storage class
 make[3]: *** [bonjour.o] Error 1
 make[3]: Leaving directory
 `/cygdrive/c/Users/erez/pidgin-2.5.4/libpurple/protoc
 ols/bonjour'
 make[2]: *** [all] Error 1
 make[2]: Leaving directory
 `/cygdrive/c/Users/erez/pidgin-2.5.4/libpurple/protoc
 ols'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/cygdrive/c/Users/erez/pidgin-2.5.4/libpurple'
 make: *** [all] Error 2
 }}}
 [[BR]]

 4. A quick check and I found out that some of the files came with no
 permission for me to access them:[[BR]]


 {{{
 ~/win32-dev
 $ ls -lt
 total 8
 drwxr-xr-x+ 10 erez   mkgroup-l-d 4096 Feb  9 18:15 mingw
 drwx------+  2 erez   mkgroup-l-d    0 Feb  9 18:15 pidgin-inst-deps
 drwxr-xr-x+  5 erez   mkgroup-l-d    0 Feb  9 18:15 nspr-4.6.4
 drwxr-xr-x+  5 erez   mkgroup-l-d    0 Feb  9 18:15 nss-3.11.4
 drwx------+  3 erez   mkgroup-l-d    0 Feb  9 18:15 gtkspell-2.0.11-daa1
 drwxr-xr-x+  4 erez   mkgroup-l-d    0 Feb  9 18:15 aspell-dev-0-50-3-3
 drwxr-xr-x+  6 erez   mkgroup-l-d    0 Feb  9 18:15 cyrus-sasl-2.1.22-daa1
 drwx------+  5 erez   mkgroup-l-d    0 Feb  9 18:15 libxml2-2.6.30
 drwxr-xr-x+  6 erez   mkgroup-l-d    0 Feb  9 18:14 meanwhile-1.0.2_daa2
 drwxr-xr-x+  5 erez   mkgroup-l-d    0 Feb  9 18:14 silc-toolkit-1.1.8
 drwxr-xr-x+  3 erez   mkgroup-l-d    0 Feb  9 18:14 tcl-8.4.5
 drwx------+  3 erez   mkgroup-l-d    0 Feb  9 18:14 perl-5.10.0
 drwx------+  5 erez   mkgroup-l-d 4096 Feb  9 18:14 gtk_2_0
 drwx------+  5 SYSTEM SYSTEM         0 Feb  9 18:12 Bonjour_SDK

 ~/win32-dev
 $ cd Bonjour_SDK/
 bash: cd: Bonjour_SDK/: Permission denied

 ~/win32-dev
 $ ls -lt Bonjour_SDK/
 total 0
 drwx------+ 4 SYSTEM SYSTEM 0 Feb  9 18:12 Samples
 drwx------+ 4 SYSTEM SYSTEM 0 Feb  9 18:12 lib
 drwx------+ 2 SYSTEM SYSTEM 0 Feb  9 18:12 Include

 }}}

 Now, I'm no expert and not sure what's going on, but I did
 == ''chmod 777'' == on everything under the Bonjour directory, and then
 make worked fine.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8396>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list