Is the commandline tool growlnotify applicable for linux?
I'm using my Mac to administer some Linux boxes, therefore it would be great to send notifications from these boxes using growls remote messaging function...
Thanks,
Chris
PS: I was considering using ssh and keybased-auth to log onto my box each time and let the script locally invoke growlnotify. However, I'd prefer to run growlnotify on the linux boxes and use the growl protocoll. Shouldn't be too much of an issue to compile the command line tools for linux.
growlnotify for linux
Re: growlnotify for linux
I was just trying to compile growlnotify without further changes on linux.
There is no CoreFoundation.h, what is the first issue.
There are plenty other errors. I'm laking time at present to have a deeper look.
Here is what I get. Maybe anyone wants to give it a try.
Regards,
Chris
[user@tmgf_epi_514 growlnotify]$ gcc -g -fgnu-runtime -O -c main.m -o growlnotify
main.m:22:34: error: Foundation/Foundation.h: No such file or directory
In file included from main.m:24:
GrowlDefinesInternal.h:12:43: error: CoreFoundation/CoreFoundation.h: No such file or directory
In file included from main.m:25:
GrowlPathway.h:13: error: expected ')' before 'NSDictionary'
GrowlPathway.h:14: error: expected ')' before 'NSDictionary'
GrowlPathway.h:15: error: expected ')' before 'NSString'
GrowlPathway.h:20: error: cannot find interface declaration for 'NSObject', superclass of 'GrowlPathway'
In file included from main.m:26:
MD5Authenticator.h:9:24: error: Cocoa/Cocoa.h: No such file or directory
In file included from main.m:26:
MD5Authenticator.h:11: error: cannot find interface declaration for 'NSObject', superclass of 'MD5Authenticator'
MD5Authenticator.h:12: error: expected specifier-qualifier-list before 'NSString'
MD5Authenticator.h:14: error: expected ')' before 'NSString'
MD5Authenticator.h:15: error: expected ')' before 'NSData'
MD5Authenticator.h:15: error: expected ')' before 'NSArray'
MD5Authenticator.h:16: error: expected ')' before 'BOOL'
MD5Authenticator.h:16: error: expected ')' before 'NSArray'
MD5Authenticator.h:16: error: expected ')' before 'NSData'
In file included from main.m:27:
GrowlUDPUtils.h:13:31: error: Security/Security.h: No such file or directory
In file included from main.m:27:
GrowlUDPUtils.h:27: error: expected ')' before '*' token
GrowlUDPUtils.h:28: error: expected ')' before '*' token
GrowlUDPUtils.h:29: error: expected ')' before 'packet'
In file included from main.m:28:
cdsa.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cspHandle'
cdsa.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cdsaInit'
In file included from main.m:29:
CFGrowlAdditions.h:16: error: expected ')' before '*' token
CFGrowlAdditions.h:18: error: expected ')' before '*' token
CFGrowlAdditions.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:26: error: expected ')' before '*' token
CFGrowlAdditions.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
main.m:86: error: expected ')' before 'center'
main.m:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'copyIconDataForTypeInfo'
main.m: In function 'main':
main.m:125: error: 'BOOL' undeclared (first use in this function)
main.m:125: error: (Each undeclared identifier is reported only once
main.m:125: error: for each function it appears in.)
main.m:125: error: expected ';' before 'isSticky'
main.m:126: error: expected ';' before 'wait'
main.m:136: error: expected ';' before 'haveProgress'
main.m:137: error: expected ';' before 'useUDP'
main.m:138: error: expected ';' before 'crypt'
main.m:141: error: 'EXIT_SUCCESS' undeclared (first use in this function)
main.m:175: warning: incompatible implicit declaration of built-in function 'exit'
main.m:175: error: 'EXIT_FAILURE' undeclared (first use in this function)
main.m:189: error: 'isSticky' undeclared (first use in this function)
main.m:189: error: 'YES' undeclared (first use in this function)
main.m:201: warning: incompatible implicit declaration of built-in function 'sscanf'
main.m:204: error: 'for' loop initial declaration used outside C99 mode
main.m:220: warning: incompatible implicit declaration of built-in function 'fprintf'
main.m:220: error: 'stderr' undeclared (first use in this function)
main.m:232: error: 'useUDP' undeclared (first use in this function)
main.m:241: error: 'wait' undeclared (first use in this function)
main.m:244: error: 'crypt' undeclared (first use in this function)
main.m:252: warning: incompatible implicit declaration of built-in function 'strdup'
main.m:255: error: 'haveProgress' undeclared (first use in this function)
main.m:268: error: 'CFMutableStringRef' undeclared (first use in this function)
main.m:268: error: expected ';' before 'title'
main.m:270: warning: incompatible implicit declaration of built-in function 'strlen'
main.m:271: error: 'title' undeclared (first use in this function)
main.m:273: error: 'kCFStringEncodingUTF8' undeclared (first use in this function)
main.m:277: error: 'NSAutoreleasePool' undeclared (first use in this function)
main.m:277: error: 'pool' undeclared (first use in this function)
main.m:281: error: 'CFDataRef' undeclared (first use in this function)
main.m:281: error: expected ';' before 'icon'
main.m:284: error: 'icon' undeclared (first use in this function)
main.m:284: error: expected ';' before 'readFile'
main.m:287: error: 'NSString' undeclared (first use in this function)
main.m:287: error: 'path' undeclared (first use in this function)
main.m:289: error: 'NSFileManager' undeclared (first use in this function)
main.m:290: error: expected ';' before 'copyIconDataForPath'
main.m:293: error: 'CFStringRef' undeclared (first use in this function)
main.m:293: error: expected ';' before 'fileType'
main.m:294: error: 'fileType' undeclared (first use in this function)
main.m:298: error: expected ';' before 'app'
main.m:299: error: 'NSURL' undeclared (first use in this function)
main.m:299: error: 'appURL' undeclared (first use in this function)
main.m:299: error: 'NSWorkspace' undeclared (first use in this function)
main.m:299: error: expected expression before ')' token
main.m:301: error: expected ';' before 'copyIconDataForURL'
main.m:303: error: 'app' undeclared (first use in this function)
main.m:306: error: cannot find interface declaration for 'NXConstantString'
main.m:308: error: expected ';' before 'copyIconDataForURL'
main.m:313: error: expected ';' before 'desc'
main.m:316: error: 'desc' undeclared (first use in this function)
main.m:316: error: 'kCFAllocatorDefault' undeclared (first use in this function)
main.m:320: error: expected ';' before 'temp'
main.m:321: error: 'stdin' undeclared (first use in this function)
main.m:326: error: 'temp' undeclared (first use in this function)
main.m:333: error: expected ';' before 'applicationName'
main.m:335: error: 'applicationName' undeclared (first use in this function)
main.m:339: error: expected ';' before 'identifierString'
main.m:341: error: 'identifierString' undeclared (first use in this function)
main.m:346: error: expected ';' before 'name'
main.m:347: error: 'CFArrayRef' undeclared (first use in this function)
main.m:347: error: expected ';' before 'defaultAndAllNotifications'
main.m:348: error: 'CFTypeRef' undeclared (first use in this function)
main.m:348: error: expected ';' before 'registerKeys'
main.m:354: error: expected ';' before 'registerValues'
main.m:360: error: 'CFDictionaryRef' undeclared (first use in this function)
main.m:360: error: expected ';' before 'registerInfo'
main.m:361: error: 'defaultAndAllNotifications' undeclared (first use in this function)
main.m:365: error: 'CFUUIDRef' undeclared (first use in this function)
main.m:365: error: expected ';' before 'uuid'
main.m:366: error: expected ';' before 'clickContext'
main.m:367: error: 'CFNumberRef' undeclared (first use in this function)
main.m:367: error: expected ';' before 'priorityNumber'
main.m:368: error: 'CFBooleanRef' undeclared (first use in this function)
main.m:368: error: expected ';' before 'stickyValue'
main.m:369: error: 'CFMutableDictionaryRef' undeclared (first use in this function)
main.m:369: error: expected ';' before 'notificationInfo'
main.m:370: error: 'notificationInfo' undeclared (first use in this function)
main.m:370: error: 'name' undeclared (first use in this function)
main.m:374: error: 'priorityNumber' undeclared (first use in this function)
main.m:375: error: 'stickyValue' undeclared (first use in this function)
main.m:377: error: 'clickContext' undeclared (first use in this function)
main.m:388: error: expected ';' before 'progressNumber'
main.m:389: error: 'progressNumber' undeclared (first use in this function)
main.m:400: error: 'CSSM_DATA' undeclared (first use in this function)
main.m:400: error: expected ';' before 'registrationPacket'
main.m:401: error: expected ';' before 'notificationPacket'
main.m:406: warning: incompatible implicit declaration of built-in function 'memset'
main.m:412: warning: incompatible implicit declaration of built-in function 'fprintf'
main.m:420: error: 'registrationPacket' undeclared (first use in this function)
main.m:420: error: 'NSDictionary' undeclared (first use in this function)
main.m:420: error: expected expression before ')' token
main.m:424: error: 'notificationPacket' undeclared (first use in this function)
main.m:424: error: expected expression before ')' token
main.m:429: error: expected ';' before 'passwordData'
main.m:430: error: 'passwordData' undeclared (first use in this function)
main.m:430: error: 'uint8' undeclared (first use in this function)
main.m:430: error: expected expression before ')' token
main.m:432: warning: incompatible implicit declaration of built-in function 'strlen'
main.m:436: error: 'CSSM_ALGID_AES' undeclared (first use in this function)
main.m:464: error: 'NSSocketPort' undeclared (first use in this function)
main.m:465: error: 'NSConnection' undeclared (first use in this function)
main.m:465: error: 'connection' undeclared (first use in this function)
main.m:465: error: 'nil' undeclared (first use in this function)
main.m:466: error: expected ';' before 'passwordString'
main.m:468: error: 'passwordString' undeclared (first use in this function)
main.m:472: warning: 'MD5Authenticator' may not respond to '+alloc'
main.m:472: warning: (Messages without a matching method signature
main.m:472: warning: will be assumed to return 'id' and accept
main.m:472: warning: '...' as arguments.)
main.m:472: error: expected expression before ')' token
main.m:477: error: 'NSDistantObject' undeclared (first use in this function)
main.m:477: error: 'theProxy' undeclared (first use in this function)
main.m:481: error: expected expression before ')' token
main.m:482: error: expected expression before ')' token
main.m:483: error: expected declaration specifiers or '...' before 'NSException'
main.m:483: error: '@try' without '@catch' or '@finally'
main.m:484: error: 'e' undeclared (first use in this function)
main.m:484: error: 'NSFailedAuthenticationException' undeclared (first use in this function)
main.m:488: error: expected expression before 'finally'
main.m:496: error: 'CFNotificationCenterRef' undeclared (first use in this function)
main.m:496: error: expected ';' before 'distCenter'
main.m:498: error: expected ';' before 'notificationName'
main.m:499: error: 'notificationName' undeclared (first use in this function)
main.m:501: error: 'distCenter' undeclared (first use in this function)
main.m:503: error: 'notificationDismissed' undeclared (first use in this function)
main.m:506: error: 'CFNotificationSuspensionBehaviorCoalesce' undeclared (first use in this function)
main.m:525: error: expected expression before ')' token
main.m:526: error: expected expression before ')' token
main.m:527: error: expected declaration specifiers or '...' before 'NSException'
main.m:527: error: '@try' without '@catch' or '@finally'
main.m:533: error: 'registerInfo' undeclared (first use in this function)
main.m:533: error: 'kCFNotificationPostToAllSessions' undeclared (first use in this function)
main.m:543: error: 'kCFRunLoopDefaultMode' undeclared (first use in this function)
main.m:545: error: 'TRUE' undeclared (first use in this function)
main.m:545: error: 'kCFRunLoopRunHandledSource' undeclared (first use in this function)
There is no CoreFoundation.h, what is the first issue.
There are plenty other errors. I'm laking time at present to have a deeper look.
Here is what I get. Maybe anyone wants to give it a try.
Regards,
Chris
[user@tmgf_epi_514 growlnotify]$ gcc -g -fgnu-runtime -O -c main.m -o growlnotify
main.m:22:34: error: Foundation/Foundation.h: No such file or directory
In file included from main.m:24:
GrowlDefinesInternal.h:12:43: error: CoreFoundation/CoreFoundation.h: No such file or directory
In file included from main.m:25:
GrowlPathway.h:13: error: expected ')' before 'NSDictionary'
GrowlPathway.h:14: error: expected ')' before 'NSDictionary'
GrowlPathway.h:15: error: expected ')' before 'NSString'
GrowlPathway.h:20: error: cannot find interface declaration for 'NSObject', superclass of 'GrowlPathway'
In file included from main.m:26:
MD5Authenticator.h:9:24: error: Cocoa/Cocoa.h: No such file or directory
In file included from main.m:26:
MD5Authenticator.h:11: error: cannot find interface declaration for 'NSObject', superclass of 'MD5Authenticator'
MD5Authenticator.h:12: error: expected specifier-qualifier-list before 'NSString'
MD5Authenticator.h:14: error: expected ')' before 'NSString'
MD5Authenticator.h:15: error: expected ')' before 'NSData'
MD5Authenticator.h:15: error: expected ')' before 'NSArray'
MD5Authenticator.h:16: error: expected ')' before 'BOOL'
MD5Authenticator.h:16: error: expected ')' before 'NSArray'
MD5Authenticator.h:16: error: expected ')' before 'NSData'
In file included from main.m:27:
GrowlUDPUtils.h:13:31: error: Security/Security.h: No such file or directory
In file included from main.m:27:
GrowlUDPUtils.h:27: error: expected ')' before '*' token
GrowlUDPUtils.h:28: error: expected ')' before '*' token
GrowlUDPUtils.h:29: error: expected ')' before 'packet'
In file included from main.m:28:
cdsa.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cspHandle'
cdsa.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cdsaInit'
In file included from main.m:29:
CFGrowlAdditions.h:16: error: expected ')' before '*' token
CFGrowlAdditions.h:18: error: expected ')' before '*' token
CFGrowlAdditions.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:26: error: expected ')' before '*' token
CFGrowlAdditions.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
CFGrowlAdditions.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
main.m:86: error: expected ')' before 'center'
main.m:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'copyIconDataForTypeInfo'
main.m: In function 'main':
main.m:125: error: 'BOOL' undeclared (first use in this function)
main.m:125: error: (Each undeclared identifier is reported only once
main.m:125: error: for each function it appears in.)
main.m:125: error: expected ';' before 'isSticky'
main.m:126: error: expected ';' before 'wait'
main.m:136: error: expected ';' before 'haveProgress'
main.m:137: error: expected ';' before 'useUDP'
main.m:138: error: expected ';' before 'crypt'
main.m:141: error: 'EXIT_SUCCESS' undeclared (first use in this function)
main.m:175: warning: incompatible implicit declaration of built-in function 'exit'
main.m:175: error: 'EXIT_FAILURE' undeclared (first use in this function)
main.m:189: error: 'isSticky' undeclared (first use in this function)
main.m:189: error: 'YES' undeclared (first use in this function)
main.m:201: warning: incompatible implicit declaration of built-in function 'sscanf'
main.m:204: error: 'for' loop initial declaration used outside C99 mode
main.m:220: warning: incompatible implicit declaration of built-in function 'fprintf'
main.m:220: error: 'stderr' undeclared (first use in this function)
main.m:232: error: 'useUDP' undeclared (first use in this function)
main.m:241: error: 'wait' undeclared (first use in this function)
main.m:244: error: 'crypt' undeclared (first use in this function)
main.m:252: warning: incompatible implicit declaration of built-in function 'strdup'
main.m:255: error: 'haveProgress' undeclared (first use in this function)
main.m:268: error: 'CFMutableStringRef' undeclared (first use in this function)
main.m:268: error: expected ';' before 'title'
main.m:270: warning: incompatible implicit declaration of built-in function 'strlen'
main.m:271: error: 'title' undeclared (first use in this function)
main.m:273: error: 'kCFStringEncodingUTF8' undeclared (first use in this function)
main.m:277: error: 'NSAutoreleasePool' undeclared (first use in this function)
main.m:277: error: 'pool' undeclared (first use in this function)
main.m:281: error: 'CFDataRef' undeclared (first use in this function)
main.m:281: error: expected ';' before 'icon'
main.m:284: error: 'icon' undeclared (first use in this function)
main.m:284: error: expected ';' before 'readFile'
main.m:287: error: 'NSString' undeclared (first use in this function)
main.m:287: error: 'path' undeclared (first use in this function)
main.m:289: error: 'NSFileManager' undeclared (first use in this function)
main.m:290: error: expected ';' before 'copyIconDataForPath'
main.m:293: error: 'CFStringRef' undeclared (first use in this function)
main.m:293: error: expected ';' before 'fileType'
main.m:294: error: 'fileType' undeclared (first use in this function)
main.m:298: error: expected ';' before 'app'
main.m:299: error: 'NSURL' undeclared (first use in this function)
main.m:299: error: 'appURL' undeclared (first use in this function)
main.m:299: error: 'NSWorkspace' undeclared (first use in this function)
main.m:299: error: expected expression before ')' token
main.m:301: error: expected ';' before 'copyIconDataForURL'
main.m:303: error: 'app' undeclared (first use in this function)
main.m:306: error: cannot find interface declaration for 'NXConstantString'
main.m:308: error: expected ';' before 'copyIconDataForURL'
main.m:313: error: expected ';' before 'desc'
main.m:316: error: 'desc' undeclared (first use in this function)
main.m:316: error: 'kCFAllocatorDefault' undeclared (first use in this function)
main.m:320: error: expected ';' before 'temp'
main.m:321: error: 'stdin' undeclared (first use in this function)
main.m:326: error: 'temp' undeclared (first use in this function)
main.m:333: error: expected ';' before 'applicationName'
main.m:335: error: 'applicationName' undeclared (first use in this function)
main.m:339: error: expected ';' before 'identifierString'
main.m:341: error: 'identifierString' undeclared (first use in this function)
main.m:346: error: expected ';' before 'name'
main.m:347: error: 'CFArrayRef' undeclared (first use in this function)
main.m:347: error: expected ';' before 'defaultAndAllNotifications'
main.m:348: error: 'CFTypeRef' undeclared (first use in this function)
main.m:348: error: expected ';' before 'registerKeys'
main.m:354: error: expected ';' before 'registerValues'
main.m:360: error: 'CFDictionaryRef' undeclared (first use in this function)
main.m:360: error: expected ';' before 'registerInfo'
main.m:361: error: 'defaultAndAllNotifications' undeclared (first use in this function)
main.m:365: error: 'CFUUIDRef' undeclared (first use in this function)
main.m:365: error: expected ';' before 'uuid'
main.m:366: error: expected ';' before 'clickContext'
main.m:367: error: 'CFNumberRef' undeclared (first use in this function)
main.m:367: error: expected ';' before 'priorityNumber'
main.m:368: error: 'CFBooleanRef' undeclared (first use in this function)
main.m:368: error: expected ';' before 'stickyValue'
main.m:369: error: 'CFMutableDictionaryRef' undeclared (first use in this function)
main.m:369: error: expected ';' before 'notificationInfo'
main.m:370: error: 'notificationInfo' undeclared (first use in this function)
main.m:370: error: 'name' undeclared (first use in this function)
main.m:374: error: 'priorityNumber' undeclared (first use in this function)
main.m:375: error: 'stickyValue' undeclared (first use in this function)
main.m:377: error: 'clickContext' undeclared (first use in this function)
main.m:388: error: expected ';' before 'progressNumber'
main.m:389: error: 'progressNumber' undeclared (first use in this function)
main.m:400: error: 'CSSM_DATA' undeclared (first use in this function)
main.m:400: error: expected ';' before 'registrationPacket'
main.m:401: error: expected ';' before 'notificationPacket'
main.m:406: warning: incompatible implicit declaration of built-in function 'memset'
main.m:412: warning: incompatible implicit declaration of built-in function 'fprintf'
main.m:420: error: 'registrationPacket' undeclared (first use in this function)
main.m:420: error: 'NSDictionary' undeclared (first use in this function)
main.m:420: error: expected expression before ')' token
main.m:424: error: 'notificationPacket' undeclared (first use in this function)
main.m:424: error: expected expression before ')' token
main.m:429: error: expected ';' before 'passwordData'
main.m:430: error: 'passwordData' undeclared (first use in this function)
main.m:430: error: 'uint8' undeclared (first use in this function)
main.m:430: error: expected expression before ')' token
main.m:432: warning: incompatible implicit declaration of built-in function 'strlen'
main.m:436: error: 'CSSM_ALGID_AES' undeclared (first use in this function)
main.m:464: error: 'NSSocketPort' undeclared (first use in this function)
main.m:465: error: 'NSConnection' undeclared (first use in this function)
main.m:465: error: 'connection' undeclared (first use in this function)
main.m:465: error: 'nil' undeclared (first use in this function)
main.m:466: error: expected ';' before 'passwordString'
main.m:468: error: 'passwordString' undeclared (first use in this function)
main.m:472: warning: 'MD5Authenticator' may not respond to '+alloc'
main.m:472: warning: (Messages without a matching method signature
main.m:472: warning: will be assumed to return 'id' and accept
main.m:472: warning: '...' as arguments.)
main.m:472: error: expected expression before ')' token
main.m:477: error: 'NSDistantObject' undeclared (first use in this function)
main.m:477: error: 'theProxy' undeclared (first use in this function)
main.m:481: error: expected expression before ')' token
main.m:482: error: expected expression before ')' token
main.m:483: error: expected declaration specifiers or '...' before 'NSException'
main.m:483: error: '@try' without '@catch' or '@finally'
main.m:484: error: 'e' undeclared (first use in this function)
main.m:484: error: 'NSFailedAuthenticationException' undeclared (first use in this function)
main.m:488: error: expected expression before 'finally'
main.m:496: error: 'CFNotificationCenterRef' undeclared (first use in this function)
main.m:496: error: expected ';' before 'distCenter'
main.m:498: error: expected ';' before 'notificationName'
main.m:499: error: 'notificationName' undeclared (first use in this function)
main.m:501: error: 'distCenter' undeclared (first use in this function)
main.m:503: error: 'notificationDismissed' undeclared (first use in this function)
main.m:506: error: 'CFNotificationSuspensionBehaviorCoalesce' undeclared (first use in this function)
main.m:525: error: expected expression before ')' token
main.m:526: error: expected expression before ')' token
main.m:527: error: expected declaration specifiers or '...' before 'NSException'
main.m:527: error: '@try' without '@catch' or '@finally'
main.m:533: error: 'registerInfo' undeclared (first use in this function)
main.m:533: error: 'kCFNotificationPostToAllSessions' undeclared (first use in this function)
main.m:543: error: 'kCFRunLoopDefaultMode' undeclared (first use in this function)
main.m:545: error: 'TRUE' undeclared (first use in this function)
main.m:545: error: 'kCFRunLoopRunHandledSource' undeclared (first use in this function)
Re: growlnotify for linux
As far as I remember - GrowlNotify is a local tool - i.e. it communicates with the local instance of Growl on a Mac, so it's not the tool you want. It relies on Mac OS X specific frameworks.
You might want to google for "growl linux" + (language of your choice.)
e.g. here's something in python which might help:
http://blog.mckuhn.de/2007/10/sending-g ... ython.html
You might want to google for "growl linux" + (language of your choice.)
e.g. here's something in python which might help:
http://blog.mckuhn.de/2007/10/sending-g ... ython.html