|
From: Alexander W. <dev...@wi...> - 2009-11-30 18:40:42
|
Hi Piotr, Make a symlink from vod_service to libmammoth-vod.so and you should be fine. Cheers, Alexander Piotr Kościerzyński wrote: > Hi, > I managed to successfully compile Mammoth on CentOs 5, but I can't get > Mammoth to run. > Here are the steps to reproduce the error: > STEP 1 ----- BEGIN > bash-3.2# cmake . ; make ; make install > -- Detected version of GNU GCC: 41 > -- Found FFMPEG: > /usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so > /usr/include > -- Parsing 'config.hpp.in <http://config.hpp.in>' > -- > -- Resulting configuration for : > -- ----------------------------------------------------------------- > -- Will MAMMOTH be built as a shared library? : Yes > -- Additional checks even in Release : No > -- > -- ----------------------------------------------------------------- > -- > -- Configuring done > -- Generating done > -- Build files have been written to: /usr/src/mammoth > [ 72%] Built target mammoth-core > [ 77%] Built target mammoth-vod > [ 83%] Built target mammoth-live > [ 94%] Built target mammoth-server > [100%] Built target mammoth-artoolkit > make: *** No rule to make target `install'. Stop. > STEP 1 ----- END > > The "make install" step didn't execute? Does it mean that the > configuration generated by Cmake was't good? > > > STEP 2 -- Trying to run Mammoth > In the directory /usr/src/mammoth/bin > ./mammoth-server -c /usr/src/mammoth/settings.xml -f > This gives error message > 1259582884 FATAL mammoth.server base_service (vod) : Plug - in library > not found : vod_service > > /usr/src/mammoth/bin contents : > > lrwxrwxrwx 1 root root 29 Nov 28 14:26 artoolkit_service.so -> > libmammoth-artoolkit.so.0.2.3 > lrwxrwxrwx 1 root root 27 Nov 28 09:50 libmammoth-artoolkit.so -> > libmammoth-artoolkit.so.0.2 > lrwxrwxrwx 1 root root 29 Nov 28 09:50 libmammoth-artoolkit.so.0.2 -> > libmammoth-artoolkit.so.0.2.3 > -rwxr-xr-x 1 root root 573722 Nov 28 09:50 libmammoth-artoolkit.so.0.2.3 > lrwxrwxrwx 1 root root 22 Nov 28 09:47 libmammoth-core.so -> > libmammoth-core.so.0.2 > lrwxrwxrwx 1 root root 24 Nov 28 09:47 libmammoth-core.so.0.2 -> > libmammoth-core.so.0.2.3 > -rwxr-xr-x 1 root root 6631675 Nov 28 09:47 libmammoth-core.so.0.2.3 > lrwxrwxrwx 1 root root 22 Nov 27 22:49 libmammoth-live.so -> > libmammoth-live.so.0.2 > lrwxrwxrwx 1 root root 24 Nov 27 22:49 libmammoth-live.so.0.2 -> > libmammoth-live.so.0.2.3 > -rwxr-xr-x 1 root root 574142 Nov 27 22:49 libmammoth-live.so.0.2.3 > lrwxrwxrwx 1 root root 21 Nov 28 09:28 libmammoth-vod.so -> > libmammoth-vod.so.0.2 > lrwxrwxrwx 1 root root 23 Nov 28 09:28 libmammoth-vod.so.0.2 -> > libmammoth-vod.so.0.2.3 > -rwxr-xr-x 1 root root 403724 Nov 28 09:28 libmammoth-vod.so.0.2.3 > -rwxr-xr-x 1 root root 3519152 Nov 28 09:48 mammoth-server > ---------- settings.xml > Settigs file was generated by cmake, I only changed the directories for > mod and vod services. > <pluginfolder>/usr/src/mammoth/bin</pluginfolder> > and > <services> > > <service> > <name>vod</name> > <plugin>vod_service</plugin> > <storage_folder>/home/piotr/videos</storage_folder> <!-- directory > exists --> > <chunksize>4096</chunksize> <!-- override the global chunksize --> > </service> > > <service> > <name>mod</name> > <plugin>vod_service</plugin> > <storage_folder>/home/piotr/music</storage_folder> <!-- directory > exists --> > </service> > > <service> > <name>live</name> > <plugin>live_service</plugin> > <storage_folder>/</storage_folder> > > <edge> > <host>192.168.1.2</host> <!-- destination ip --> > <port>8888</port> <!-- destination port (tcp) --> > <enabled>false</enabled> > </edge> > > <!-- or --> > > <origin> > <host>127.0.0.1</host> <!-- source ip (empty means binding to all > ip's) --> > <port>8888</port> <!-- source port (tcp) --> > <enabled>false</enabled> > </origin> > > </service> > > </services> > > > > > Best Regards, > Piotr > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mammoth-users mailing list > Mam...@li... > https://lists.sourceforge.net/lists/listinfo/mammoth-users |