configure does not find lame.h without specifying "-I${prefix}/include/lame"
in CPPFLAGS:

checking lame.h usability... no
> checking lame.h presence... no
> checking for lame.h... no
>

I'm attaching a patch which fixes the issue, now configure prints out:

checking lame.h usability... yes
> checking lame.h presence... yes
> checking for lame.h... yes
>

I used to get the same error as the OP, now I get:

strange error flushing buffer ...
>

But I went ahead and opened the .swf file (by default, for whatever reason,
opened in Opera on my machine) and it played the test WAV file that I
converted in a loop successfully.

I'm attaching a patch to fix this issue and I'd also be happy to open a bug,
if necessary. BTW, this issue was mentioned ~2 years ago when the request
ticket was created: https://svn.macports.org/ticket/15213

On Sun, Oct 3, 2010 at 9:43 AM, Ryan Schmidt <[email protected]>wrote:

> On Oct 3, 2010, at 05:26, Norman Khine wrote:
>
> > but when i run:
> >
> > /opt/local/bin/wav2swf -o out.swf in.wav
> >
> > i get
> > Error: no mp3 soundstream support compiled in.
>
> I get the same, on Snow Leopard.
>
> I suggest you write to the developers of swftools for assistance, as there
> is no maintainer for swftools in MacPorts. If they can tell us how to fix
> this, we'll be happy to modify the portfile.
>
>
> _______________________________________________
> macports-users mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>

Attachment: swftools-use_lame.diff
Description: Binary data

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to