FreeBSD Port: net/DarwinStreamingServer
David Gappa
dgappa at safarimontage.com
Fri Feb 14 18:42:25 UTC 2014
FreeBSD 10.0-RELEASE
While trying to install Darwin Streaming Server from ports, I get the below error message. The make continues after this error and the port says it's installed but the executable doesn't get created. You can see that the copying of the executable says "no such file".
I then tried to use pkgng to install the port and the same thing happened. The port installed through the pkg command but the executable didn't exist after.
../RTCPUtilitiesLib/RTCPAPPNADUPacket.cpp:69:39: error: addition of default argument on redeclaration makes this constructor a default constructor
RTCPNaduPacket::RTCPNaduPacket(Bool16 debug = false):
^ ~~~~~
../RTCPUtilitiesLib/RTCPAPPNADUPacket.h:49:5: note: previous declaration is here
RTCPNaduPacket(Bool16 debug);
^
5 warnings and 1 error generated.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/DarwinStreamingServer/work/DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool
Creating unprivileged user to run the server = "qtss".
copying DarwinStreamingServer to /usr/local/sbin/DarwinStreamingServer
install: DarwinStreamingServer: No such file or directory
copying PlaylistBroadcaster to /usr/local/bin/PlaylistBroadcaster
root at fbsd10:/usr/ports/net/DarwinStreamingServer # pkg install DarwinStreamingServer
Updating repository catalogue
The following 1 packages will be installed:
Installing DarwinStreamingServer: 6.0.3
The installation will require 22 MB more space
17 MB to be downloaded
Proceed with installing packages [y/N]: y
DarwinStreamingServer-6.0.3.txz 100% 17MB 2.4MB/s 2.5MB/s 00:07
Checking integrity... done
[1/1] Installing DarwinStreamingServer-6.0.3...qtss:*:554:
You already have a group "qtss", so I will use it.
qtss:*:554:554::0:0:Darwin Streaming Server:/noexistant:/bin/sh
You already have a user "qtss", so I will use it.
cp: /usr/local/etc/streaming/streamingloadtool.conf-dist: No such file or directory
done
===============================================================================
* IMPORTANT SETUP NOTICE * IMPORTANT SETUP NOTICE *
o Set up DSS Administrator Username/Password.
$Username$ is an account for DSS Administration, e.g. admin, root, etc...
# qtpasswd -c $Username$
# echo admin: $Username$ > /usr/local/etc/streaming/qtgroups
NOTICE: qtpasswd will create new file with -c option. Please
see also `qtpasswd -h'(mostly same as htpasswd).
NOTICE: qtgroups file will contain user(s) separated by white space
of group(s).
o Set up SSL for DSS Administration Tool (If you need)
Install your SSL Keys to /usr/local/etc/streaming/
streamingadminserver.key: SSL Private key
streamingadminserver.pem: SSL Public key
o Boot DSS Administration Tool
# echo 'streamingadminserver_enable="YES"' >> /etc/rc.conf
# cd /; env - /usr/local/etc/rc.d/streamingadminserver.sh start
(*NOTE*)Darwin Streaming Server will run together.
o Set up DSS Administration Tool with MSIE(Microsoft Internet Explorer)
Mozilla, Netscape4/7 and Opera etc... are not useful. DSS Administration
Tool requires MSIE(4.5 and later) J-Script feature.
http://YOUR.STREAMING.SERVER:1220/
If you need SSL, select 'Secure Administration (SSL)' in this setup.
After setup, you can access to
https://YOUR.STREAMING.SERVER:1240/
===============================================================================
Related directories
/usr/local/etc/streaming - DSS Configuration Directory
/usr/local/share/DarwinStreamingServer/movies - *Default* Movies Directory
/var/log/streaming - DSS Streaming Log Directory
/var/spool/streaming.playlists - DSS Playlists Directory
===============================================================================
If you want to invoke only Darwin Streaming Server from start-up, put
following lines into /etc/rc.conf.
darwin_streaming_server_enable="YES"
darwin_streaming_server_flags=""
If you want to invoke DSS Administration Tool and Darwin Streaming
Server from start-up, do too.
streamingadminserver_enable="YES"
streamingadminserver_flags=""
===============================================================================
root at fbsd10:/usr/ports/net/DarwinStreamingServer # ls /usr/local/sbin/DarwinStreamingServer
ls: /usr/local/sbin/DarwinStreamingServer: No such file or directory
----------
David Gappa
More information about the freebsd-ports
mailing list