[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Excellent - thank you for that! I installed the developers tools, got rid of the config.pm file (as suggested above) - started again logged in as root, had to force install... but then it worked. Thank you for your help -- simong simong's Profile: http://forums.slimdevices.com/member.php?userid=8178 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
I have read through this thread as have had similar issues... I've tried logging on to the root account to install the Glue AppleScript. However when I do this (whether logged in as me or as the root user) I get the message: --NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible I am a total novice and only got this far by reading and rereading the messages on here... Would be really grateful for any help. Thanks -- simong simong's Profile: http://forums.slimdevices.com/member.php?userid=8178 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hi simong I am no expert with these things either, but have you installed the Apple Developer XTools? These are not installed in Mac OS X by default, but you can install them from your original OS X install disc. I think that they are needed to install 'make'. Worth a try! Good luck. WhaleOil -- WhaleOil WhaleOil's Profile: http://forums.slimdevices.com/member.php?userid=5227 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
On 22 Oct 2006, at 03:21 , WhaleOil wrote: Hi dabloss Glad I could help. It would be great to know if this 'root' thing is the answer, or just some odd random system fluke. Maybe others who have got this plugin working on a Mac could confirm how they got it working? Would the root user idea be worth a mention in the readme for this plugin? WhaleOil I installed way back when on 10.3.something and it worked as described in the readme (I think I fed that info to James to put into the readme...) Perhaps something is different on 10.4.x (or even within the last couple of upgrades). My slimserver mac is still running 10.3.9. Perhaps a root shell (sudo -s) would be better than enabling the root user. Not sure if it would work or not... Allan ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hi dabloss I have just managed to get iTunesUpdate working on my G5 Mac (OS X 10.4.8) after having very similar problems to you with getting the Mac::AppleScript::Glue to install using CPAN. I also tried the DarwinPorts link that you showed but this didn't work either. What finally worked for me was when I logged in as the 'root' user and did all the CPAN stuff as shown in the readme file as this user, rather than under my normal user account. I am not sure why, or if this was absolutely necessary, but it worked for me so I am not complaining! At the end of this the perl modules were installed in /Library/Perl/5.8.6 and were recognised by the plugin. Anyway, might be worth trying...but please note that I am by no means an expert. A couple of other things might help: To enable the 'root' account you need to go to the Security menu of NetInfo Manager (in /Applications/Utilities) and specify a password. Then go to the login window, choose 'Other' and log in with user name root and the password you chose. Logging in as root is a bit scary as you can basically trash your whole system if you want to - so take care! Because I had been messing about with CPAN for so long, I trashed Config.pm and Config.pm~ in /System/Library/Perl/5.8.6/CPAN before starting CPAN again. (This forced CPAN to go through its config questions again. I accepted all the defaults, except I chose UNINST=1 at the point where it suggests that this might be a good option for root users. I think that this helped to clear out some of the mess from previous CPAN efforts, but don't know if it is essential.) The first 'install' didn't work, but 'force install' did, and now I am up and running, and the plugin is great - thanks James! Good luck WhaleOil -- WhaleOil WhaleOil's Profile: http://forums.slimdevices.com/member.php?userid=5227 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
YEAH! Whaleoil, I've been fighting with this installation for so many weeks and YOU did find the solution. I just follow your instruction in the root instalation and it seems necessary to reconfigure the CPAN. I damn report success! Works great. Thank you so much. And thanks to James and Govardha also. See U Guys. -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
I'm not sure abou that but indeed, there was a warning message as I entered in the CPAN: DABLOSS-2:~ bendabloss$ sudo perl -MCPAN -e shell Password: Terminal does not support AddHistory. There seems to be running another CPAN process (pid 347). Contacting... Other job not responding. Shall I overwrite the lockfile? (Y/N) [y] Then I said yes and here's what happened: cpan shell -- CPAN exploration and modules installation (v1.7602) ReadLine support available (try 'install Bundle::CPAN') cpan then I installed the glue module. Anything wrong? -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
I'm going to guess that you've installed the module as yourself, (/Users/bendabloss/.cpan/Metadata) but SlimServer is looking for modules installed system wide (/Library/Perl). Did you do this before running any cpan commands? sudo perl -MCPAN -e shell James -- James James's Profile: http://forums.slimdevices.com/member.php?userid=189 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hie, here's the report of the Mac::AppleScript::Glue installation. Everything seems ok to me cpan install Mac::AppleScript::Glue CPAN: Storable loaded ok Going to read /Users/bendabloss/.cpan/Metadata Database was generated on Tue, 03 Oct 2006 22:39:45 GMT LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.u-paris10.fr/perl/CPAN/authors/01mailrc.txt.gz Going to read /Users/bendabloss/.cpan/sources/authors/01mailrc.txt.gz LWP not available Fetching with Net::FTP: ftp://ftp.u-paris10.fr/perl/CPAN/modules/02packages.details.txt.gz Going to read /Users/bendabloss/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Tue, 10 Oct 2006 22:23:37 GMT HTTP::Date not available There's a new CPAN.pm version (v1.8801) available! [Current version is v1.7602] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running... LWP not available Fetching with Net::FTP: ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz Going to read /Users/bendabloss/.cpan/sources/modules/03modlist.data.gz Going to write /Users/bendabloss/.cpan/Metadata Mac::AppleScript::Glue is up to date. Any idea? -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hie Guys. Here's the result for command with debugging argument: 2006-10-11 21:35:35.0040 Requiring Plugins::iTunesUpdate::Plugin plugin. Loaded module: [Plugins::iTunesUpdate::Plugin] ok! 2006-10-11 21:35:35.1015 Initialization of Plugins::iTunesUpdate::Plugin failed: Can't locate Mac/AppleScript/Glue.pm in @INC (@INC contains: /Library/SlimDevices/ /Users/bendabloss/Library/SlimDevices /Users/bendabloss/Library/SlimDevices /Library/SlimDevices /Library/PreferencePanes/SlimServer.prefPane/Contents/server /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8.6/darwin-thread-multi-2level /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8.6/darwin-thread-multi-2level/auto /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/darwin-thread-multi-2level /Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN /Library/PreferencePanes/SlimServer.prefPane/Contents/server /Library/PreferencePanes/SlimServer.prefPane/Contents/server /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .) at /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Plugins/iTunesUpdate/Plugin.pm line 501. Does the @INC stuff speak you? Thanks for your help. Bye. -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
RE: [SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hi, Sounds like you're nearly there. What you need to do now is stop your slimserver process and start it from the terminal window, with debugging arguments: slimserver.pl --d_startup --d_plugins This should print out any remaining issues with the plugin. James NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hie Gov, I did finally managed to install mac::apllescript::glue on the cpan (i follow this procedure instead of the readme file http://p5-mac-applescript-glue.darwinports.com/ But the damn plugin still doesn't not appear in the webinterface. Do I need to install it in the PreferencePane directory? If yes, how do I? It's through the terminal isn't it? This thing is becoming a bit obsessive... Thanks a lot for your precious help since the begining -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hello Govardha, So did you manage to setup itunesupdate on your new intel imac? i heard the 1.8.0 of itunesupdate works fine with itunes 7.0.1. It still doesn't work for me... Is it necessary to instal the perl.ppc stuff? Can i have the 1.8.0 version put in the existing plugin directory or do i need to have it instal through the the hidden PreferencePane directories? I'm so unfamiliar with the dash/terminal/whatever... Thanks a lot for your help. Dabloss. -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hello Dabloss, I did not have to do the perl.ppc anymore. I had to do that setup in the past in my brother's Intel CoreDuo iMac as he had transferred settings/apps/docs from his old iMac G4. Hence, the issue with disparity of architecture etc and the ensuing issues and my hack to resolve the problem. In my new machine, it was a stock setup, so I had to go through the usual setup stuff of the perl CPAN libraries and some other unix utilities(make, wget, ncftp etc..). Here's the procedure that I went through. Please follow the sequence outlined below. I hope you are reasonably adept at navigating around in the Unix terminal. - Install the Developer tools that comes in your Install DVD's. This installs gcc/make etc. - Further go to the following web site(Macports) http://www.macports.org/ where you can download the latest source for Mac ports from the repository. There is a README which gives you instructions on how you need to compile the port binary. I find DarwinPorts a lot easier to install the unix tools compared to Fink. I used to use Fink extensively in the past, but this time over I tried DarwinPorts and it worked like a charm. - Once you are done with the DarwinPorts install, install wget, ncftp lynx. - Now follow the instructions in the iTunesupdate readme to install the CPAN AppleScript::Glue package etc. The first time you run CPAN, it will ask you a bunch of questions and I usually go with the defaults and it worked well for me. - After the pre requisite CPAN package installs are done, just put the iTunesupdate SlimServer plugin in its appropriate plugin location, restart SlimServer and expect to see iTunesupdate working. I have been using 1.8.0 without any issues with both iTunes 7 7.0.1. It works like a charm, James has done a fantastic job with this plugin. It makes my SB experience so much better. If you need any assistance e-mail me at g_junk2001 yahoo com G Gov -- govardha govardha's Profile: http://forums.slimdevices.com/member.php?userid=4130 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hello Govardha, My friend and I have done verything you describe. it was all ok until i tried to install Mac::AppleScript on the CPAN. The last words of the command are: Checking if your kit is complete... Looks good Warning: prerequisite Mac::AppleScript 0.03 not found. Warning: prerequisite Test::Pod 0 not found. Writing Makefile for Mac::AppleScript::Glue -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible and there seems to be those warnings several times in the command: NOTE: There have been API changes between this version and any older than version 0.48! Please see the Changes file for details. NOTE: The behavior of Test::More and threads has changed between this version and any older than version 0.48! Please see the Changes file for details. Any Idea? Thanks a lot anyway. I will let you know f I find anything elesewhere. See attached command report for full details +---+ |Filename: command report.doc.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=1799| +---+ -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hello Dabloss, I will check in my setup to see what version of stuff that I have running. I will probably will have time on sunday to check things out. I did not run into so much difficulty to set things up. It was very straightforward(I was surprised myself). May be it helps if you can just blow your instance of CPAN and start over from scratch again? G -- govardha govardha's Profile: http://forums.slimdevices.com/member.php?userid=4130 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hello Dabloss, I had sold my previous G5 computer and was without a Mac for the last month+. I finally received a new intel iMac and should have iTunesupdate setup as soon as James updates it for iTunes 7. From a post that I read, James is waiting for iTunes 7.0.1 to be released before he updates it. Once he has released it and it works, I will give it a whirl and let you know. Best, Gov -- govardha govardha's Profile: http://forums.slimdevices.com/member.php?userid=4130 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Great. I'll keep an eye on that thread so. thanks. -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Hie govardha, I'm desperate as I've been trying to instal (since a month!)itunesupadte on my new macbook (mac os X last version). Problem: i'm not familiar at all with neither mac, the terminal or perl. A friend and I have tried everything you described: -Installed the itunesupdate in the hidden PreferencePane directories. Changed the first line of slimserver.pl to #!/usr/bin/perl.ppc -w -Tried to instal perl module of thin version but just couldn't!!! So the plugin seem to be properly installed (detected with the terminal but not in the web interface). it seems to be the installation of the perl::applescript::glue that is the problem As you seem to have the same configuration as i have, i decided to contact and ask you for a non-geek tutorial on how to instal the perl::applescript::glue on my macbook. i promised to build a statue if you do :-) bye. -- dabloss dabloss's Profile: http://forums.slimdevices.com/member.php?userid=7106 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Considering I find iTunesupdate to be quite a neat plugin and my need to get it working in the x86 based Mac OS X, I dug around a bit more on getting Mac::AppleScript to compile. Any body else with any thoughts please chime in. I found a user post a similar question in the Apple forums and here is a response that helped. I have included the text and the link below. I am not very proficient in perl, but if possible, I would like a hacked solution which I promise to document well for other new Intel Mac users :-). Any thoughts on using the information below to get iTunesupdate to work properly? I will try running slimserver.pl with the slim version of perl and see whether that helps in loading the iTunesupdate plugin, but I am concerned that it may cause other core plugins to fail. Does anybody have instructions on how I can compile Mac::AppleScript for the x86 architecture(Mac OS X). I tried doing it in cpan, but it still ended up creating the Applescript.bundle for the ppc. The post that I read in Apple's web site. Question : http://lists.apple.com/archives/scitech/2006/Apr/msg0.html Playing with an Intel Macbook Pro, looks like Rosetta works for everything but dynamic loading. e.g. trying to dynamically load a perl module compiled for PPC: Can't load '/Users/kgb/Downloads/Simple-0.01/blib/arch/auto/Simple/ Simple.bundle' for module Simple: dlopen(/Users/kgb/Downloads/ Simple-0.01/blib/arch/auto/Simple/Simple.bundle, 1): no suitable image found. Did find: /Users/kgb/Downloads/Simple-0.01/blib/arch/auto/Simple/ Simple.bundle: mach-o, but wrong architecture at /System/Library/Perl/ 5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 230. at test.pl line 11 Anyone know any simple trick to get the perl infrastructure to ignore the incorrect architecture? e.g. a magic environment variable? Obviously I can re-compile everything but was hoping to avoid having to deal with this right away! Karl Response : http://lists.apple.com/archives/scitech/2006/Apr/msg2.html So, to run perl as a ppc app, you should make a thin copy of it: 4 % file /usr/bin/perl /usr/bin/perl: Mach-O universal binary with 2 architectures /usr/bin/perl (for architecture i386): Mach-O executable i386 /usr/bin/perl (for architecture ppc): Mach-O executable ppc 5 % lipo -thin ppc -output perl.ppc /usr/bin/perl 6 % file perl.ppc perl.ppc: Mach-O executable ppc -- govardha govardha's Profile: http://forums.slimdevices.com/member.php?userid=4130 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
Greetings all!, I report success. Using the procedure given above and creating a slim version of perl and further modifying slimserver.pl to use that instead(by changing the first line of the file to show #!/usr/bin/perl.ppc -w), I am able to run Slimserver along with iTunesupdate just fine. Thanks to everybody that has helped me out troubleshooting this. In case I notice something else breaking I will report in a new post. Cheers, Gov -- govardha govardha's Profile: http://forums.slimdevices.com/member.php?userid=4130 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Re: iTunesupdate on Tiger(Intel)
It looks like I found the culprit. Here are some snippets when I enable debugging for plugins. It seems like I need to recompile the Mac::AppleScript bundle for the Intel architecture. Now my task is to find out how that is done. Any thoughts appreciated once again. Govardhanen - Debug info 2006-06-13 20:08:12.0279 Prevent Standby plugin: Only available under Windows 2006-06-13 20:08:12.0280 Requiring Plugins::iTunesUpdate::Plugin plugin. 2006-06-13 20:08:12.1269 Initialization of Plugins::iTunesUpdate::Plugin failed: Can't load '/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Mac/AppleScript/AppleScript.bundle' for module Mac::AppleScript: dlopen(/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Mac/AppleScript/AppleScript.bundle, 1): no suitable image found. Did find: /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/Mac/AppleScript/AppleScript.bundle: mach-o, but wrong architecture at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 230. at /Library/Perl/5.8.6/Mac/AppleScript/Glue.pm line 284 Compilation failed in require at /Library/Perl/5.8.6/Mac/AppleScript/Glue.pm line 284. BEGIN failed--compilation aborted at /Library/Perl/5.8.6/Mac/AppleScript/Glue.pm line 284. Compilation failed in require at /Users/jenakap/Library/SlimDevices/Plugins/iTunesUpdate/Plugin.pm line 382. -- govardha govardha's Profile: http://forums.slimdevices.com/member.php?userid=4130 View this thread: http://forums.slimdevices.com/showthread.php?t=24648 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins