Re: Re: mod_mp3-2 and Apache 2.0.48
Devon Jones <[email protected]> Wed, 28 Jan 2004 14:53:27 -0700
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Message-ID | <[email protected]> |
Brian Aker wrote:
>Well I fixed that bug (solution committed). I think there still me an
>issue with the install though...
> -Brian
>
>
>
ok, 2 issues now:
1) when I make it, I get this when it links:
*** Warning: Linking the shared library src/mod_mp3.la against the
*** static library libID3/libID3.a is not portable!
*** Warning: Linking the shared library src/mod_mp3.la against the
non-libtool
*** objects src/mod_mp3.o src/directives.o src/ice.o src/load.o
src/shout.o src/utility.o src/ogg.o src/common.o src/log.o
src/internal_dispatch.o src/encode.o src/compat.o src/mysql_dispatch.o
is not portable!
gcc: libID3/libID3.a: No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [mod_mp3.so] Error 1
2) If I go into libID3, and copy lib/libID3.a to .
then I do get a proper build, but it leaves mod_mp3.so in src/.libs/
based on make clean, it appears to me that the Makefile expects the .so
to be in the mod_mp3 root
if I move mod_mp3.so to the root, make isntall appears to work:
make[1]: Entering directory `/root/mod_mp3/libID3'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/root/mod_mp3/libID3'
/usr/sbin/apxs2 -i -a -n 'mp3' src/mod_mp3.so
/usr/lib/apache2/build/instdso.sh
SH_LIBTOOL='/usr/lib/apache2/build/libtool' src/mod_mp3.so /usr/lib/apache2
/usr/lib/apache2/build/libtool --mode=install cp src/mod_mp3.so
/usr/lib/apache2/
cp src/mod_mp3.so /usr/lib/apache2/mod_mp3.so
Warning! dlname not found in /usr/lib/apache2/mod_mp3.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib/apache2/mod_mp3.so
[activating module `mp3' in /etc/apache2/conf/apache2.conf]
if [ -f `/usr/sbin/apxs2 -q SYSCONFDIR`/mp3.conf ]; then\
echo "Preserving old mp3.conf"; \
cp support/mp3.conf `/usr/sbin/apxs2 -q
SYSCONFDIR`/mp3.conf.default; \
else \
cp support/mp3.conf `/usr/sbin/apxs2 -q SYSCONFDIR`/mp3.conf; \
fi
Preserving old mp3.conf
+--------------------------------------------------------+
| All done. |
| If you want to use the default mod_mp3 configure file |
| go add: |
| |
| Include /etc/apache2/conf/mp3.conf |
| |
| to your httpd.conf for apache. |
| If not, cat its content into your httpd.conf file. |
| |
| Thanks for installing mod_mp3. |
+--------------------------------------------------------+
3) finally, if I use apxs2 to load it into apache 2, I get:
Cannot load /etc/apache2/lib/apache2/mod_mp3.so into server:
/etc/apache2/lib/apache2/mod_mp3.so: undefined symbol: ap_hard_time
--
Soulcatcher (Devon Jones)
PCGen BoD
GMGen Silverback