Giter Site home page Giter Site logo

Comments (7)

mutschler avatar mutschler commented on August 20, 2024

Hi, which version of ffmpeg did you use? and which OS are you trying to build mt on?

EDIT:
also make sure you use the latest go version

Automatic builds are currently broken the way they used to work, so i have to think about something different.

from mt.

majamee avatar majamee commented on August 20, 2024

Hi, please have a look here for all the details and the build fail:
https://hub.docker.com/r/majamee/alpine-dash-hls/builds/bc3rt6z2byeu5lahavjxg9a/

from mt.

mutschler avatar mutschler commented on August 20, 2024

ok seems to be a problem with me switching to the vendor folder and somehow dep not putting all needed files in the vendor folder.

could you try again with the latest commit from a few minutes ago?

from mt.

majamee avatar majamee commented on August 20, 2024

I just did, but so far still unsuccessful:
https://hub.docker.com/r/majamee/alpine-dash-hls/builds/bjh2dtjtbbrwybda7beyarb/

Thank you for looking into it though.

from mt.

mutschler avatar mutschler commented on August 20, 2024

Ok so I've just tried everything with the latest alpine image from docker and it seems like the main Problem with your setup is that you are cloning the repo outside of your GOPATH when using your file 1:1 I've got stuck as well:

git clone https://github.com/mutschler/mt.git /tmp/mt && \
cd /tmp/mt && go get github.com/mutschler/mt && \
go build && mv mt /bin/mt && rm -rf /tmp && \

go is pretty strict about where you can put code to compile it and where not, so you'll have two options

  1. just use go get on mt which should then put it to ~/go/src/github.com/mutschler/mt/ and also drop a binary in ~/go/bin/ afterwards for you to use/copy
  2. you can use a different GOPATH if you'd like to but I don't see the need for that

so basically running something like this instead of the 3 lines above should work:

go get github.com/mutschler/mt && mv ~/go/bin/mt /bin/mt

EDIT:
if it helps here are the commands I've run in a fresh alpine:latest container:

buildDeps="build-base \
                   zlib-dev \
                   freetype-dev \
                   jpeg-dev \
                   git \
                   libmad-dev \
                   ffmpeg-dev \
                   coreutils \
                   yasm-dev \
                   lame-dev \
                   x264-dev \
                   libvpx-dev \
                   x265-dev \
                   libass-dev \
                   libwebp-dev \
                   opus-dev \
                   libogg-dev \
                   libvorbis-dev \
                   libtheora-dev \
                   libxv-dev \
                   alsa-lib-dev \
                   xvidcore-dev \
                   openssl-dev \
                   libpng-dev \
                   jack-dev \
                   sdl-dev \
                   openjpeg-dev \
                   expat-dev \
                   go"
apk  add --no-cache --update ${buildDeps}
go get github.com/mutschler/mt

from mt.

majamee avatar majamee commented on August 20, 2024

Thank you, I updated my Dockerfile according to your suggestions and now everything seems to be functional again:
https://hub.docker.com/r/majamee/alpine-dash-hls/builds/bbfs5vetqtgzkuvxm9p4xg8/

from mt.

mutschler avatar mutschler commented on August 20, 2024

Glad to hear that!

from mt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.