Projects / mod_mp3 / Comments

Comments for mod_mp3

01 Aug 2002 06:42 thinair

Re: compiling with Apachetoolbox?

> Has anyone had any luck compiling
> mod_mp3 with
> apachetoolbox? For me toolbox runs fine
> but when I
> start the make for apache:
>
> modules.o(.data+0x8): undefined
> reference to
> `mp3_module'
> modules.o(.data+0x1c): undefined
> reference to
> `mp3_module'
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Error 1
> make[2]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.49/apache_1.3.22/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.49/apache_1.3.22'
> make: *** [build] Error 2
>
> Any suggestions?
>

What you should do is active DSO mechanism, at the install menu of Apachetoolbox and desactive mp3_module. You install Apachetoolbox without mp3_module... and then after make;make install in the apache_1.3.x directory. Go in src/mod_mp3-03x and type ./configure; make ; make install

It should work now...

14 Feb 2002 07:00 spookyghost

Re: Standard Aker-fare: Nearly descriptive

>
> % How exactly are the MD5 sums for the
> % song names are built ? When doing an
> % "echo "Some_Song.mp3|md5sum", I get a
> % different md5sum than mod_mp3 reports
>
> MD5 is generated from the complete
> path, not just the file name. So it
> should generate from something like:
>
> /data/music/Some_song.mp3 instead of
> just Some_song.mp3


If you're doing this in a shell script you need to use echo -n to avoid the newline being included in the md5sum. Had me confused for a while that one.

31 Dec 2001 09:14 NeilWatson

compiling with Apachetoolbox?
Has anyone had any luck compiling mod_mp3 with
apachetoolbox? For me toolbox runs fine but when I
start the make for apache:


modules.o(.data+0x8): undefined reference to
`mp3_module'

modules.o(.data+0x1c): undefined reference to
`mp3_module'

collect2: ld returned 1 exit status

make[2]: *** [target_static] Error 1

make[2]: Leaving directory
`/usr/src/Apachetoolbox-1.5.49/apache_1.3.22/src'

make[1]: *** [build-std] Error 2

make[1]: Leaving directory
`/usr/src/Apachetoolbox-1.5.49/apache_1.3.22'

make: *** [build] Error 2

Any suggestions?

02 May 2001 12:45 kveton

Re: Standard Aker-fare: Nearly descriptive


> How exactly are the MD5 sums for the
> song names are built ? When doing an
> "echo "Some_Song.mp3|md5sum", I get a
> different md5sum than mod_mp3 reports


MD5 is generated from the complete path, not just the file name. So it should generate from something like:

/data/music/Some_song.mp3 instead of just Some_song.mp3


Also, for the song to be streamed it must reside in the directory specified by:

MP3 "/data/music"


in your httpd.conf.


Hope this helps,

Scott :-)

10 Apr 2001 09:43 marv

Re: Standard Aker-fare: Nearly descriptive
I made nearly the opposite experience. Did not even read the manual, used Apache's DSO mechanism (after fixing paths for apxs and apachectl in the Makefile). Simply "make"d and "make install"ed. Installation was for me a piece of cake.

And it works like a charm.

The only thing I miss is the ChangeLog on the web site.


Anyway, Brian, excellent work , thanx very much!
How exactly are the MD5 sums for the song names are built ? When doing an "echo "Some_Song.mp3|md5sum", I get a different md5sum than mod_mp3 reports ...
(I was working on a sort of interface)

Thanks for your cool mod!
Marv

09 Apr 2001 10:53 wiggins

Re: Standard Aker-fare: Nearly descriptive
And now having posted my above comment, and then
taking roughly 45 minutes to read the
documentation, install the module, recompile
apache, and setup the config I had a streamer up
and running. I have never looked into setting up
a streamer nor really have a desire to keep it
going, but one of my colleagues does and he was
impressed. This may have been the straw that
causes his switch from windows to linux too, bravo
again Brian.

Now lets patch the hell out of this thing to make
it capture the market share.

09 Apr 2001 09:47 wiggins

Re: Standard Aker-fare: Nearly descriptive

> It's the standard fare for Brian Aker -
> sounds cool, maybe it works for him, but
> he's only partially described the work.
> If you install this, be prepared to
> overcome a lot of things that aren't
> described for you. Be ready to waste
> countless hours until you realize, for
> example, that an implicit dependency
> exists between two parameters, or that
> you need to have some unnamed file in a
> specific directory.
>
> Brian almost does good engineering.


And where exactly is your offering on this

front??? "Brian almost does good engineering."

Well at least he does some. If you are such an

expert then submit some patches, start your own

project and make it better, faster, cleaner, and

more stable.

Freshmeat's instructions: "Feel free to share

your opinions, but remember to keep the

discussions calm; don't flame and don't insult

others."

08 Apr 2001 14:52 loopus

Standard Aker-fare: Nearly descriptive
It's the standard fare for Brian Aker - sounds cool, maybe it works for him, but he's only partially described the work. If you install this, be prepared to overcome a lot of things that aren't described for you. Be ready to waste countless hours until you realize, for example, that an implicit dependency exists between two parameters, or that you need to have some unnamed file in a specific directory.

Brian almost does good engineering.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.