[nas] nas on Mac OS X?

Erik Auerswald auerswal at unix-ag.uni-kl.de
Wed Jan 26 09:16:10 MST 2011


Hi Jon,

On Wed, Jan 26, 2011 at 08:54:17AM -0700, Jon Trulson wrote:
> On Wed, 26 Jan 2011, Erik Auerswald wrote:
>> On Tue, Jan 25, 2011 at 05:28:32PM -0500, Raymond Toy wrote:
>>> On 1/25/11 2:12 PM, Erik Auerswald wrote:
>>>>
>>>> In NetAudio.tmpl we have:
>>>> #define SharedLibAudio          SharedLibX
>>>>
> [...]
>
>>>> But SharedLibX is not mentioned anywhere in /usr/lib/X11/config/. There
>>>> is a definition for SharedLibX11 and changing NetAudio.tmpl to use this
>>>> instead of SharedLibX results in linking dynamically against libaudio.
>>>>
>>>> Ray, could you test if this works for you as well? See the attached patch.
>>> Yes, this works.  The sample clients are linked against shared libaudio
>>> and everything works.  And, surprisingly, -lXau isn't on the link
>>> command.  otool indicates the libaudio depends on -lXau, so that's
>>> working as expected.
>>
>> Great! Thanks for testing. :-)
>>
>> Now I know that I can test my changes on linux. I'll try to find a generic
>> solution without breaking older systems (assuming that once upon a time
>> SharedLibX and friends were actually used).
>>
>
>  Can you guys try the attached patch and see if this works properly?  I
>  am now getting shared libaudio built on linux in my case now.
>
>  And yes, once upon a time, SharedLibX was used.  Way back in the
>  before-times, long-long ago :)
>
>  This is a diff against current svn.  If it works for you, I'll commit
>  it.

Just tested it, it works for me.

I'm still curious about your seemingly unrelated changes to
lib/audio/Imakefile. Please commit them seperatly with an appropriate
commit message.

Thanks,
Erik
-- 
Reality is that which, when you stop believing in it, doesn't go away.
                        -- Philip K. Dick



More information about the Nas mailing list