Re: [63093] trunk/dports/www/firefox-x11-devel/Portfile

2010-01-25 Thread Ryan Schmidt
On Jan 25, 2010, at 23:57, jerem...@macports.org wrote: > Revision: 63093 > http://trac.macports.org/changeset/63093 > Author: jerem...@macports.org > Date: 2010-01-25 21:57:31 -0800 (Mon, 25 Jan 2010) > Log Message: > --- > firefox-x11-devel: Add some arch checking to the i

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Tom Davis
Thanks. This looks like a winner. Tom On Jan 25, 2010, at 6:22 PM, David Osguthorpe wrote: > On Mon, Jan 25, 2010 at 04:47:28PM -0700, Ryan Schmidt wrote: >> >> Right, this line is the problem. For correct functionality, it should list >> the full path to the library, i.e. >> >> /opt/lo

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Tom Davis
So you're suggesting patching the launchd plist? That's the route I'm going down now, but I just don't know if its the "right" way. I have found a few ports that patch or create their own plist, but it doesn't seem very common. I'm a real newbie to MacPorts and don't know the rules (both written

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Tom Davis
Rett:~ tom$ otool -D /opt/local/lib/libiguanaIR.dylib /opt/local/lib/libiguanaIR.dylib: libiguanaIR.dylib How do I get it to have an absolute path? libiguanaIR.dylib is built at the same time as igdaemon. So gcc doesn't know where its going to end up the directory structure. Can I assign it an

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Jordan K. Hubbard
On Jan 25, 2010, at 3:47 PM, Ryan Schmidt wrote: > I don't know how to achieve that, however, and I don't know if it's the fault > of libiguanaIR.dylib or the program using it. Sounds to me like the install_name of libiguanaR.dylib is simply incorrect or unset. What does otool -D on the libig

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread David Osguthorpe
On Mon, Jan 25, 2010 at 04:47:28PM -0700, Ryan Schmidt wrote: > > Right, this line is the problem. For correct functionality, it should list > the full path to the library, i.e. > > /opt/local/lib/libiguanaIR.dylib (compatibility version 1.0.0, current > version 1.0.0) > > I don't know h

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Ryan Schmidt
On Jan 25, 2010, at 15:16, Tom Davis wrote: > Dyld Error Message: > Library not loaded: libiguanaIR.dylib > Referenced from: /opt/local/bin/igdaemon > Reason: image not found > > The libiguanaIR.dylib library is part of the iguanaIR distribution and is in > /opt/lo

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Jeremy Lavergne
It sounds like putting the DYLIB in the launchd.plist entirely avoids this problem for you though. As Bradley suggested, checkout man launchd.plist for the settings afforded to you through the plist. If it cannot help you, create a wrapper script that sets up your environment and then launches

Re: Library search paths, daemon startupitem and launchd

2010-01-25 Thread Bradley Giesbrecht
On Jan 25, 2010, at 1:16 PM, Tom Davis wrote: Hello, I'm trying to write a portfile for iguanaIR (http://iguanaworks.net/projects/IguanaIR ). I'm having difficulties starting a daemon using startupitem.executable. When I try to start the daemon with: sudo launchctl load -w /Library/Launc

Library search paths, daemon startupitem and launchd

2010-01-25 Thread Tom Davis
Hello, I'm trying to write a portfile for iguanaIR (http://iguanaworks.net/projects/IguanaIR). I'm having difficulties starting a daemon using startupitem.executable. When I try to start the daemon with: sudo launchctl load -w /Library/LaunchDaemons/org.macports.iguanaIR.plist igdaemo