Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build (make) #78

Open
kromac17 opened this issue Dec 22, 2024 · 0 comments
Open

Unable to build (make) #78

kromac17 opened this issue Dec 22, 2024 · 0 comments

Comments

@kromac17
Copy link

kromac17 commented Dec 22, 2024

I tried to build the MonaServer like the doku mentions but i get the following error:
image

I have all prequisites installed, OS is ubuntu as a docker container (newly created)
When add #include in Exceptions.h like the error mentions i get a different error:
image

I dont know if i do something wrong or if it just doesnt work.
Here is my dockerfile:

FROM ubuntu:latest

# install prerequisites
RUN apt-get update -y \
	&& apt-get upgrade -y \
	&& apt-get install -y tclsh \
		pkg-config \
		cmake \
		libssl-dev \
		build-essential \
		git \
		g++ \
		libssl-dev 


# Build & install SRT
RUN git clone https://github.com/Haivision/srt.git \
	&& cd srt \
	&& ./configure \
	&& make \
	&& make install


# Build & install luajit
WORKDIR /usr/src
RUN git clone https://github.com/LuaJIT/LuaJIT.git \
	&& cd LuaJIT \
	&& make \
	&& make install


# Build
RUN git clone https://github.com/MonaSolutions/MonaServer2.git \
	&& cd MonaServer2 \
	&& make ENABLE_SRT=1

# HTTP(S)/WS(S)
EXPOSE 80/tcp
EXPOSE 443/tcp
# RTM(F)P
EXPOSE 1935/tcp
EXPOSE 1935/udp
# STUN
EXPOSE 3478/udp
# SRT
EXPOSE 9191

# CONFIG
WORKDIR /usr/local/bin
COPY ./mona-config/MonaServer.ini ./MonaServer.ini

# Set MonaServer as default executable
ENTRYPOINT ["./MonaServer", "--log=7"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant