[Vm-dev] Cog on linux

Levente Uzonyi leves at elte.hu
Sat Jul 17 00:40:36 UTC 2010


On Fri, 16 Jul 2010, Rob Withers wrote:

>
>
>
> --------------------------------------------------
> From: "Rob Withers" <reefedjib at yahoo.com>
> Sent: Friday, July 16, 2010 7:08 PM
> To: "Squeak Virtual Machine Development Discussion" 
> <vm-dev at lists.squeakfoundation.org>
> Subject: Re: [Vm-dev] Cog on linux
>
>> 
>
>
>
>> 
>> 
>> --------------------------------------------------
>> From: "Levente Uzonyi" <leves at elte.hu>
>> Sent: Friday, July 16, 2010 6:44 PM
>> To: "Squeak Virtual Machine Development Discussion"
>> <vm-dev at lists.squeakfoundation.org>
>> Subject: Re: [Vm-dev] Cog on linux
>> 
>>> 
>>> On Fri, 16 Jul 2010, Rob Withers wrote:
>>> 
>>>> 
>>>> 
>>>> 
>>>> --------------------------------------------------
>>>> From: "Casey Ransberger" <casey.obrien.r at gmail.com>
>>>> Sent: Friday, July 16, 2010 5:10 PM
>>>> To: "Squeak Virtual Machine Development Discussion"
>>>> <vm-dev at lists.squeakfoundation.org>
>>>> Subject: Re: [Vm-dev] Cog on linux
>>>> 
>>>>> 
>>>>> I think you just need libasound
>>>>> 
>>>> 
>>>> Ok guys, I am working on it with my webhost.  I am not sure how I can
>>>> install an RPM on their box, so I submitted a ticket.
>>> 
>>> Actually I don't think that any sound plugin would work, because the
>>> 32-bit binaries will not be available. But you don't need sound at all on
>>> a server, do you?
>>> 
>> 
>> You lost me on 32-bit binaries not being available.  I found
>> alsa-lib-1.0.13.tar.bz2 and I am preparing to build it.
>> 
>> My error said:
>> /usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when searching
>> for -lasound
>> /usr/bin/ld: skipping incompatible /usr/lib64/libasound.a when searching
>> for -lasound
>> 
>> So it looks like I need a .so and a .a file.  As rusty as I am on building
>> for unix, are these static libs or shared libs?  I do need to figure out 
>> how
>> to cross compile to a 32bit system.  I am researching this for the right
>> target.  I need i386-linux or something.  I am attaching the config.guess
>> file they use for this.  Can anyone give me a helpful hand what I should
>> specify doing ...
>>
>>        './configure --enable-shared=no --enable-static=yes 
>> --target=i386-linux'
>> 
>
> Damn!  I can't figure out how to change the install path to other than 
> /usr/include, etc.  I can't write to those directories.  I am stuck.

Try ./configure --help or check if you can pass a parameter to make. If 
none of those work, check if you can change it by setting an environment 
variable.
I think it's better if you build the VM without sound first. And if you 
have spare time then try to build a plugin for sound playback.


Levente

>
>> Regarding your observation that I don't need sound on a server, that is 
>> spot
>> on.  It may be too entangled for the time being.
>
> Is it possible to unentangle sound?
>
> Thanks,
> Rob
>
>> 
>> Cheers,
>> Rob
>> 
>>> 
>>> Levente
>>> 
>>>> 
>>>> Thanks,
>>>> Rob
>> 
>


More information about the Vm-dev mailing list