PDA

View Full Version : Alienstream & Xine on MAC OSX



Dave Scott
2004-06-30, 08:03
Ok

This is getting off "topic" quite a way but it does tie in with
Slimserver

Running OSX 10.3.4 & have just tried compiling xine-lib-1-rc5
(according xine site it has OSX support)

Following the instructions on the xine site I managed to get configure
to run - with lots of warnings about associated plugin packages
missing.
When I run "make install" I get the following:

......
ar cru .libs/libintl.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
make[1]: *** [libintl.la] Error 1
make: *** [install-recursive] Error 1

Which I take it means that I have a major dependency issue or it
doesn't like the default gcc 3.5 (?) compiler of panther.

So I took a look at the fink package which is a older version.

Here's the 50 cent question - fink uses a .info file for dependencies -
which I figure don't change that much, plus a .patch file. Does any one
know if its possible to just replace "xine-lib-0.9.3.13" with
"xine-lib-1-rc5" ???

If it is this may be the answer :-) .. Very keen to get Real Audio
streams working with my slimp3

As I said - way off topic but it does tie back in .. any ideas ??

Note - I am no unix guru - just a dabbler who sort of knows what he's
doing, some of the time, so I may be missing something obvious

Cheers

Dave Scott

Phil Barrett
2004-06-30, 09:29
On 30 Jun 2004, at 16:03, Dave Scott wrote:
> This is getting off "topic" quite a way but it does tie in with
> Slimserver
>
> Running OSX 10.3.4 & have just tried compiling xine-lib-1-rc5
> (according xine site it has OSX support)
>
> Following the instructions on the xine site I managed to get configure
> to run - with lots of warnings about associated plugin packages
> missing.
> When I run "make install" I get the following:
>
> .....
> ar cru .libs/libintl.a
> ar: no archive members specified
> usage: ar -d [-TLsv] archive file ...
> ar -m [-TLsv] archive file ...
> ar -m [-abiTLsv] position archive file ...
> ar -p [-TLsv] archive [file ...]
> ar -q [-cTLsv] archive file ...
> ar -r [-cuTLsv] archive file ...
> ar -r [-abciuTLsv] position archive file ...
> ar -t [-TLsv] archive [file ...]
> ar -x [-ouTLsv] archive [file ...]
> make[1]: *** [libintl.la] Error 1
> make: *** [install-recursive] Error 1
>
> Which I take it means that I have a major dependency issue or it
> doesn't like the default gcc 3.5 (?) compiler of panther.

No, it means the libtool in the xine package doesn't work properly with
Darwin/OS X. There's plenty about this at the fink site. I got it to
work by making the libtool.sh a link to the glibtool binary.

There's also an issue with common symbols in the libintl library, which
takes some hackery, but the code itself appears to work fine.

I *think* Alienstream is working for me on OS X after all this.

Phil

Jules Taplin
2004-06-30, 10:11
Oooh. That's sounding pretty promising.

I'm going to have a go hacking at AlienBBC tonight - I think I've cracked
getting some rather better parsing of the BBC data to the point where it can
find the live streams properly, and deal with at least some of the strange
unexpected behaviour I'm finding.

However... getting this lot to all work is a bit of a pig, to say the
least - I'm considering trying to package some common configurations
pre-built (or at least... getting potted instructions for them).

If you can make AlienStream on Mac work, then AlienBBC should be a
subsequent walk in the park - would you mind documenting the process? I've
no access to anything modern and Mac'y, sadly :(


-- Jules


----- Original Message -----
From: "Phil Barrett" <philb (AT) philb (DOT) co.uk>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Wednesday, June 30, 2004 5:29 PM
Subject: [slim] Alienstream & Xine on MAC OSX


> On 30 Jun 2004, at 16:03, Dave Scott wrote:
> > This is getting off "topic" quite a way but it does tie in with
> > Slimserver
> >
> > Running OSX 10.3.4 & have just tried compiling xine-lib-1-rc5
> > (according xine site it has OSX support)
> >
> > Following the instructions on the xine site I managed to get configure
> > to run - with lots of warnings about associated plugin packages
> > missing.
> > When I run "make install" I get the following:
> >
> > .....
> > ar cru .libs/libintl.a
> > ar: no archive members specified
> > usage: ar -d [-TLsv] archive file ...
> > ar -m [-TLsv] archive file ...
> > ar -m [-abiTLsv] position archive file ...
> > ar -p [-TLsv] archive [file ...]
> > ar -q [-cTLsv] archive file ...
> > ar -r [-cuTLsv] archive file ...
> > ar -r [-abciuTLsv] position archive file ...
> > ar -t [-TLsv] archive [file ...]
> > ar -x [-ouTLsv] archive [file ...]
> > make[1]: *** [libintl.la] Error 1
> > make: *** [install-recursive] Error 1
> >
> > Which I take it means that I have a major dependency issue or it
> > doesn't like the default gcc 3.5 (?) compiler of panther.
>
> No, it means the libtool in the xine package doesn't work properly with
> Darwin/OS X. There's plenty about this at the fink site. I got it to
> work by making the libtool.sh a link to the glibtool binary.
>
> There's also an issue with common symbols in the libintl library, which
> takes some hackery, but the code itself appears to work fine.
>
> I *think* Alienstream is working for me on OS X after all this.
>
> Phil
>
>

Phil Barrett
2004-06-30, 10:27
On 30 Jun 2004, at 18:11, Jules Taplin wrote:
> Oooh. That's sounding pretty promising.
>
> I'm going to have a go hacking at AlienBBC tonight - I think I've
> cracked
> getting some rather better parsing of the BBC data to the point where
> it can
> find the live streams properly, and deal with at least some of the
> strange
> unexpected behaviour I'm finding.
>
> However... getting this lot to all work is a bit of a pig, to say the
> least - I'm considering trying to package some common configurations
> pre-built (or at least... getting potted instructions for them).
>
> If you can make AlienStream on Mac work, then AlienBBC should be a
> subsequent walk in the park - would you mind documenting the process?
> I've
> no access to anything modern and Mac'y, sadly :(

How did I know that was coming!

I'll certainly have a go - but I can't promise anything. My hacking is
generally very fast and spur-of-the-moment!

Phil

Jules Taplin
2004-06-30, 10:48
Hehe. That's what you get for sticking your head above the parapet, you see
;)

Look at it this way - all's fair. Having shot my mouth off below about
getting better
parsing of the BBC data, it's proving a right arse. Just when I think I've
got every special
case licked... somebody invents a new one. It's made worse by the fact that
Radio 1
are the prime offenders... and I haven't been able to stand that station
since they kicked
Steve Wright off it in the mid 90's ;)


-- Jules


----- Original Message -----
From: "Phil Barrett" <philb (AT) philb (DOT) co.uk>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Wednesday, June 30, 2004 6:27 PM
Subject: [slim] Alienstream & Xine on MAC OSX


> On 30 Jun 2004, at 18:11, Jules Taplin wrote:
> > Oooh. That's sounding pretty promising.
> >
> > I'm going to have a go hacking at AlienBBC tonight - I think I've
> > cracked
> > getting some rather better parsing of the BBC data to the point where
> > it can
> > find the live streams properly, and deal with at least some of the
> > strange
> > unexpected behaviour I'm finding.
> >
> > However... getting this lot to all work is a bit of a pig, to say the
> > least - I'm considering trying to package some common configurations
> > pre-built (or at least... getting potted instructions for them).
> >
> > If you can make AlienStream on Mac work, then AlienBBC should be a
> > subsequent walk in the park - would you mind documenting the process?
> > I've
> > no access to anything modern and Mac'y, sadly :(
>
> How did I know that was coming!
>
> I'll certainly have a go - but I can't promise anything. My hacking is
> generally very fast and spur-of-the-moment!
>
> Phil
>
>

Dave Scott
2004-07-03, 21:53
Hi

for those interested, Fink Page nows shows xine-lib-1-rc25 available as
an "unstable" package for 10.3.

So, giving it a go in installing it .. will advise how I get on.

Hopefully one small step closer

Cheers

Dave Scott

Dave Scott
2004-07-03, 22:04
make that xine-lin-1-rc5-25 ..

On 4 Jul 2004, at 12:53, Dave Scott wrote:

> Hi
>
> for those interested, Fink Page nows shows xine-lib-1-rc25 available
> as an "unstable" package for 10.3.
>
> So, giving it a go in installing it .. will advise how I get on.
>
> Hopefully one small step closer
>
> Cheers
>
> Dave Scott
>
>

Dave Scott
2004-07-04, 03:33
Ok

Got libxine to compile from fink package - approximately 3 hours or so
on a 1Ghz Tibook

After about 4 attempts figure out the compile command for alienstream:

gcc -Wall -O2 `/sw/bin/xine-config --cflags` `/sw/bin/xine-config
--libs` -lX11 -L/sw/include -L/sw/include/xine -lm -o alienstream
alienstream.c

Dropped alienstream.c into my home directory - now for the next bit,
making it work ... have installed plugin ....

Not too bad a way to spend Sunday afternoon

cheers

Dave Scott

Phil Barrett
2004-07-04, 05:11
Excellent - that saves me the effort of re-working my OS X compilation
hacks and documenting them!

On 4 Jul 2004, at 05:53, Dave Scott wrote:

> Hi
>
> for those interested, Fink Page nows shows xine-lib-1-rc25 available
> as an "unstable" package for 10.3.
>
> So, giving it a go in installing it .. will advise how I get on.
>
> Hopefully one small step closer
>
> Cheers
>
> Dave Scott
>
>

Dave Scott
2004-07-04, 05:24
On 4 Jul 2004, at 20:11, Phil Barrett wrote:

> Excellent - that saves me the effort of re-working my OS X compilation
> hacks and documenting them!
>
> On 4 Jul 2004, at 05:53, Dave Scott wrote:
>
>> Hi
>>
>> for those interested, Fink Page nows shows xine-lib-1-rc25 available
>> as an "unstable" package for 10.3.
>>
>> So, giving it a go in installing it .. will advise how I get on.
>>
>> Hopefully one small step closer
>>
>>
Might pay to look at 'Yet Another AlienBBC release (v.05)" thread

Got to the stage where Alienstream produces a "xine buffering" message
.... seems to hang

Also used fink to install madplay & lame, although already have lame
installed by itunes lame ( couldn't find "lame" in any "bin" directory
)

Definite progress but not sure why the hanging ... missing something I
guess

Also I normally use tcsh not bash - so may have cocked something up ...
though did run 'bash" before trying commands on peter's page

good luck ..

Dave S