You are not logged in.

#1 2008-03-06 22:28:28

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

ushare and libdlna

Hi im trying to run a mediaserver with the use of ushare and libdlna but i get a error when making the libdlna package from pkgbuild

makepkg gives me this error:

#############################################
#         Linking shared objects            #
#############################################
gcc -shared -Wl,-soname,libdlna.so.0 profiles.lo containers.lo image_jpeg.lo image_png.lo audio_aac.lo audio_ac3.lo audio_amr.lo audio_atrac3.lo audio_g726.lo audio_lpcm.lo audio_mp2.lo audio_mp3.lo audio_wma.lo av_mpeg1.lo av_mpeg2.lo av_mpeg4_part2.lo av_mpeg4_part10.lo av_wmv9.lo upnp_dms.lo \
           -lavformat -lavcodec -o libdlna.so.0.2.3
ln -sf libdlna.so.0.2.3 libdlna.so.0
ln -sf libdlna.so.0 libdlna.so
make[1]: Leaving directory `/var/abs/local/libdlna/src/libdlna-0.2.3/src'
/usr/bin/install -c -d "/var/abs/local/libdlna/pkg/usr/lib/pkgconfig"
/bin/sh: /usr/bin/install: No such file or directory
make: *** [install-pkgconfig] Error 127
==> ERROR: Build Failed.
    Aborting...

and when i installed ushare i dont know were the config is and when trying to run "/etc/rc.d/ushare start" i get a error telling me there isnt anny /usr/bin/ushare directory of file.

Offline

#2 2008-03-06 23:35:47

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ushare and libdlna

i got past the libdlna problem by changing the configure.mak in src...
INSTALL="/usr/bin/install" should be like this INSTALL="/bin/install"

i changed the dependencies in PKGBUILD for ushare and added --enable-dnla to the ./configure line so now i should have ushare with dnla suport.
but i still get this when i try to start ushare with /etc/rc.d/ushare start

:: Starting uShare UPnP A/V Media Server [BUSY]
/etc/rc.d/ushare: line 26: /usr/bin/ushare: No such file or directory
[FAIL]

Offline

#3 2008-03-06 23:52:36

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ushare and libdlna

Seems to be the same problem with ushare.. its looking for install in /usr/bin/install

Offline

#4 2008-03-07 00:12:52

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ushare and libdlna

I finally got all of this to work smile
im not all that good with linux, so i guess im not the person to update the PKGBUILD but annyone that has the time and knowlage coold give it a look?

Now im streaming movies and music directly to my xbox360 ^^ sweeet!

Last edited by eldamar (2008-03-07 00:42:42)

Offline

#5 2008-03-07 04:35:30

gorus
Member
From: Canada
Registered: 2005-11-08
Posts: 27

Re: ushare and libdlna

i think i had to link /bin/install to /usr/bin/install thats all i had to do to get it going .. and congrats .. was successfull with ushare as well .. tho i cannot get it going with ushare daemon . . have to run it with ushare -x -c /path/to/media/files dont know why

Offline

#6 2008-03-07 16:19:49

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ushare and libdlna

i got the daemon running but i had to change:
ENABLE_XBOX=yes

to:
USHARE_ENABLE_XBOX=yes

Offline

#7 2008-03-07 17:13:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ushare and libdlna

eldamar wrote:

i guess im not the person to update the PKGBUILD but annyone that has the time and knowlage coold give it a look?

The package maintainer is the guy you need - leave some comments on ushare's page in the AUR and he'll pick them up.

Offline

#8 2008-05-20 19:57:10

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Re: ushare and libdlna

eldamar, how did you get this to work?
I still can't start the daemon without getting the "No such file or directory" error
The sed hack posted on the AUR page doesn't seem to work either

cheers!

Offline

#9 2008-05-20 23:28:39

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ushare and libdlna

i dont remember exactly were i made changes to get this to work but i think i just made a few changes in the PKGBUILD.

have you tried making a link of /bin/install to /usr/bin/install ?

Offline

#10 2008-05-22 10:51:40

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Re: ushare and libdlna

yeah - ended up getting this working by creating the symbolic link, cheers

works really well, would be nice to see this in the main repos...

Offline

Board footer

Powered by FluxBB