Well it's been a long day, but I've managed to build the DCERouter and plugins from scratch. So it should be possible to compile the tarball without copying the existing libraries over first.
Whenever the building stopped I just ran make in the directory of the library that failed to link, maybe they can be added to the makefile (or be built in advance):
make -C pluto_telecom
make -C Disk_Drive_Functions
make -C MessageTranslation
make -C SDL_Helpers
make -C mysql_wrapper
For some reason I also needed to make a minor adjustment to one of the files to avoid some linker trouble:
patch -Np1 <<"EOF"
--- src/Xine_Player/JpegEncoderDecoder.cpp.orig 2007-07-30 16:47:06.000000000 +0200
+++ src/Xine_Player/JpegEncoderDecoder.cpp 2007-10-22 01:40:31.000000000 +0200
@@ -29,7 +29,9 @@
#include <stdlib.h>
#include <stdio.h>
+extern "C" {
#include <jpeglib.h>
+}
#include <string.h>
EOF
I've build them on a "clean" system which is roughly based on LFS-6.2, it has well over 600 software packages installed from the source. So I can't be to specific about the external dependencies just yet, but I can always list them all in case anyone is interested. I did had to add a few missing packages (which had I never needed before) and I probably need more to get things like Asterisk etcetera off the ground. The environment I built on also has no
/opt/libsdl1.2-1.2.7+1.2.8cvs20041007 and
/opt/libxine1-pluto directories but more recent versions of sdl and xine-lib installed.
All in all it went smoother then I expected so I'm curious to see what things broke. That is after I set up a (minimal) database of course:
# /usr/pluto/bin/DCERouter -h localhost -l /tmp/DCERouter.log
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the Pluto Public License, available at:
http://plutohome.com/index.php?section=public_license
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the Pluto Public License for more details.
---------------
Cannot perform query: [select `Device`.* from Device where FK_DeviceTemplate=1] Failed to get error message
Sorry... I cannot figure out what my device ID is automatically. To do this there must be only
1 record in the database for a device with the device template of 1 (DCE Router). There are 0
You will need to specify the device id or the installation id on the command line.
So far so good, I got a lot further then I expected when I started out this afternoon.