Csound Csound-dev Csound-tekno Search About

[Csnd] compiliation woes --AGAIN!!!

Date2010-06-11 07:39
FromAaron Krister Johnson
Subject[Csnd] compiliation woes --AGAIN!!!
Ok guys,

I'm hoping that someone can fix this--one of the devs in particular.

5.12.1 Compiles fine when one selects static library, but you should know that when you try to use a dynamic lib as a scons option, even when one doesn't want to build libwiimote.so and libmpadec.so, the final "libcsnd.so" ends up wanting to be linked to libwiimote.so and libmpadec.so. This is completely annoying and broken behavior. I've complained about the libwii problem here before, TWICE....and the packagers have done nothing to fix it. especially considering that the scons option should explicitly fix things, which isn't happening.


GRRRRRR........I spent 2 hours on this today before figuring out that I should use a static lib.


--
Best,

Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2010-06-11 07:58
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: compiliation woes --AGAIN!!!
In the immortal words -- it works for me!

Are you getting caught by the problem woth soname which is now fixed? 
Platform?

==John ff

> Ok guys,
>
> I'm hoping that someone can fix this--one of the devs in particular.
>
> 5.12.1 Compiles fine when one selects static library, but you should know
> that when you try to use a dynamic lib as a scons option, even when one
> doesn't want to build libwiimote.so and libmpadec.so, the final
> "libcsnd.so"
> ends up wanting to be linked to libwiimote.so and libmpadec.so. This is
> completely annoying and broken behavior. I've complained about the libwii
> problem here before, TWICE....and the packagers have done nothing to fix
> it.
> especially considering that the scons option should explicitly fix things,
> which isn't happening.
>
>
> GRRRRRR........I spent 2 hours on this today before figuring out that I
> should use a static lib.
>
>
> --
> Best,
>
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-06-11 08:14
FromAaron Krister Johnson
Subject[Csnd] Re: Re: compiliation woes --AGAIN!!!
Linux...arch Linux.....what's the soname thing?

I just dont understand why explicitly saying NO to wii would still have it succesfully compile, but upon running, it's looking for libwii....??

AKJ

On Fri, Jun 11, 2010 at 1:58 AM, <jpff@cs.bath.ac.uk> wrote:
In the immortal words -- it works for me!

Are you getting caught by the problem woth soname which is now fixed?
Platform?

==John ff

> Ok guys,
>
> I'm hoping that someone can fix this--one of the devs in particular.
>
> 5.12.1 Compiles fine when one selects static library, but you should know
> that when you try to use a dynamic lib as a scons option, even when one
> doesn't want to build libwiimote.so and libmpadec.so, the final
> "libcsnd.so"
> ends up wanting to be linked to libwiimote.so and libmpadec.so. This is
> completely annoying and broken behavior. I've complained about the libwii
> problem here before, TWICE....and the packagers have done nothing to fix
> it.
> especially considering that the scons option should explicitly fix things,
> which isn't happening.
>
>
> GRRRRRR........I spent 2 hours on this today before figuring out that I
> should use a static lib.
>
>
> --
> Best,
>
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




--
Best,

Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2010-06-11 08:54
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Re: compiliation woes --AGAIN!!!
> Linux...arch Linux.....what's the soname thing?
>
> I just dont understand why explicitly saying NO to wii would still have it
> succesfully compile, but upon running, it's looking for libwii....??
>
> AKJ
>

the code never looks for any library.  What it does (wrongly in my mind)
is load every lib*.so file in OPCODEDIR(64) thathas the right structure.

The soname thing was a confusion with libcsound.so.5.2 when the API changed.
The latest SConstrauct should hav ethat fixed.





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-06-11 09:06
FromVictor.Lazzarini@nuim.ie
Subject[Csnd] Re: Re: Re: compiliation woes --AGAIN!!!
AttachmentsNone  None  

Date2010-06-11 15:22
FromAaron Krister Johnson
Subject[Csnd] Re: Re: Re: Re: compiliation woes --AGAIN!!!
Yeah, thanks the very the very weird and silly thing about the way this is all working: not only did I completely remove any file that had reference to 'wii' , but the scons options were explicit about NOT building anything 'wii' related, AND---the script came up as saying it wouldn't build any 'wii' support in.

It was driving me SOOOOO crazy yesterday that I think I'm developing a twitch whenever someone says 'wii'---makes my eyes roll into the back of my head and then I drool on myself.... :)

I've got a million and one things to do. Will send output when I get a chance, maybe next week

AKJ

On Fri, Jun 11, 2010 at 3:06 AM, <Victor.Lazzarini@nuim.ie> wrote:
I know that some lines in the SConstruct that check for libraries, inadvertedly add the lib option to the build flags. This line, for instance:

configure.CheckLibWithHeader('wiiuse', "wiiuse.h", language = "C") :

may add -lwiiuse to the options when it's run. We may need to change that line to:

configure.CheckHeader("wiiuse.h", language = "C")

But this might not be your problem. Do you get:

print 'CONFIGURATION DECISION: Building with Wiimote support'

It would help if you provide us with a screen dump

Victor



----- Original Message -----
From: Aaron Krister Johnson <aaron@akjmusic.com>
Date: Friday, June 11, 2010 8:15 am
Subject: [Csnd] Re: Re: compiliation woes --AGAIN!!!
To: csound@lists.bath.ac.uk

> Linux...arch Linux.....what's the soname thing?
>
> I just dont understand why explicitly saying NO to wii would still have it succesfully compile, but upon running, it's looking for libwii....??
>
> AKJ
>
> On Fri, Jun 11, 2010 at 1:58 AM, <jpff@cs.bath.ac.uk> wrote:
> In the immortal words -- it works for me!
>
> Are you getting caught by the problem woth soname which is now fixed?
> Platform?
>
> ==John ff
>
> > Ok guys,
> >
> > I'm hoping that someone can fix this--one of the devs in particular.
> >
> > 5.12.1 Compiles fine when one selects static library, but you should know
> > that when you try to use a dynamic lib as a scons option, even when one
> > doesn't want to build libwiimote.so and libmpadec.so, the final
> > "libcsnd.so"
> > ends up wanting to be linked to libwiimote.so and libmpadec.so. This is
> > completely annoying and broken behavior. I've complained about the libwii
> > problem here before, TWICE....and the packagers have done nothing to fix
> > it.
> > especially considering that the scons option should explicitly fix things,
> > which isn't happening.
> >
> >
> > GRRRRRR........I spent 2 hours on this today before figuring out that I
> > should use a static lib.
> >
> >
> > --
> > Best,
> >
> > Aaron Krister Johnson
> > http://www.akjmusic.com
> > http://www.untwelve.org
> >
> > Send bugs reports to the Sourceforge bug tracker
> >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> >
> >
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
>
> --
> Best,
>
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>


Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth



--
Best,

Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org