Comments (4)
Hi,
I thought I'd try apply the new patch against a clean Mediatomb 0.12 (2018). I
also
encountered a failure to build, see the log extract below.
mv -f .deps/libmediatomb_a-exceptions.Tpo .deps/libmediatomb_a-exceptions.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src
-I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/usr/include/mozjs -I/usr/include/taglib -pthread -g -O2 -MT
libmediatomb_a-fd_io_handler.o -MD -MP -MF
.deps/libmediatomb_a-fd_io_handler.Tpo -c
-o libmediatomb_a-fd_io_handler.o `test -f '../src/fd_io_handler.cc' || echo
'./'`../src/fd_io_handler.cc
mv -f .deps/libmediatomb_a-fd_io_handler.Tpo
.deps/libmediatomb_a-fd_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src
-I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/usr/include/mozjs -I/usr/include/taglib -pthread -g -O2 -MT
libmediatomb_a-file_io_handler.o -MD -MP -MF
.deps/libmediatomb_a-file_io_handler.Tpo
-c -o libmediatomb_a-file_io_handler.o `test -f '../src/file_io_handler.cc' ||
echo
'./'`../src/file_io_handler.cc
mv -f .deps/libmediatomb_a-file_io_handler.Tpo
.deps/libmediatomb_a-file_io_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src
-I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/usr/include/mozjs -I/usr/include/taglib -pthread -g -O2 -MT
libmediatomb_a-file_request_handler.o -MD -MP -MF
.deps/libmediatomb_a-file_request_handler.Tpo -c -o
libmediatomb_a-file_request_handler.o `test -f '../src/file_request_handler.cc'
||
echo './'`../src/file_request_handler.cc
../src/file_request_handler.cc:70:24: error: lastfm.h: No such file or directory
../src/file_request_handler.cc: In member function ‘virtual
zmm::Ref<IOHandler>
FileRequestHandler::open(const char*, File_Info*, UpnpOpenFileMode)’:
../src/file_request_handler.cc:465: error: ‘LastFm’ has not been declared
make[2]: *** [libmediatomb_a-file_request_handler.o] Error 1
make[2]: Leaving directory `/root/mediatomb/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mediatomb'
make: *** [all] Error 2
My build procedure is as following on Ubuntu Hardy 8.04.2 LTS i386.
First install the log4cpp library, which is used by lastfmlib to log its
activity.
sudo aptitude install liblog4cpp5-dev
Fetch the lastfmlib source and the mediatomb patch.
wget http://lastfmlib.googlecode.com/files/lastfmlib-0.1.3.tar.gz
Build lastfmlib.
tar xvfz lastfmlib-0.1.3.tar.gz
cd lastfmlib-0.1.3
./configure --prefix=/usr/local --enable-logging
make
sudo make install
sudo ldconfig
Compile Mediatomb
sudo aptitude install libsqlite3-dev libtag1-dev libexpat1-dev libexif-dev
libmp4v2-dev libmagic-dev libcurl4-openssl-dev libmozjs-dev
svn co https://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb mediatomb
wget http://lastfmlib.googlecode.com/svn/trunk/mediatomb.patch
cd mediatomb
patch -p0 < ../mediatomb.patch
autoreconf -i
./configure --prefix=/usr/local
make
sudo make install
ldconfig
Hope the above is helpful.
Original comment by flexiondotorg
on 4 Feb 2009 at 11:06
from lastfmlib.
Just compared the old and new patch. lastfm.h and lastfm.cc are missing in the
new patch.
Original comment by flexiondotorg
on 4 Feb 2009 at 11:14
from lastfmlib.
dirk.vdb posted this over at sourceforge.net
"Damn I forgot to add the lastfm.h and lastfm.cc files to the patch. I will fix
this
tomorrow, as I don't have access to my computer now."
Original comment by [email protected]
on 4 Feb 2009 at 11:15
from lastfmlib.
Ok the patch has been updated now, feel free to try it again.
Original comment by dirk.vdb
on 5 Feb 2009 at 7:48
- Changed state: Fixed
from lastfmlib.
Related Issues (13)
- 'CLOCK_REALTIME' was not declared HOT 5
- LastFMLib should support artist::getSimilar of last.fm HOT 2
- Mediatomb patch not longer finds lastfmlib HOT 6
- trying tp patch mediatomb for lastfm capabilities with mediatomb.patch and I receive HUNK Offset errors. HOT 2
- [FTBS] newer gcc/g++ versions -- conversion from wchar_t to char error
- protocol violation. HOT 2
- Failures to submit (BADSESSION) HOT 2
- [deleted issue]
- Mediatomb 0.12 seg faults when the lastfmlib patch is applied HOT 4
- No submissions going through to LastFM. HOT 9
- Audio streamed via a playlist is not scrobbled. HOT 9
- Track info null HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lastfmlib.