Giter Site home page Giter Site logo

Problems building in Fedora 40, due to missing depenencies. (Specifically docker container, but probably Fedora in general.) about freecad HOT 6 OPEN

garrett avatar garrett commented on May 31, 2024
Problems building in Fedora 40, due to missing depenencies. (Specifically docker container, but probably Fedora in general.)

from freecad.

Comments (6)

johnsonm avatar johnsonm commented on May 31, 2024 1

Pyside2 was dropped from Fedora a few releases ago, I think due to not keeping up with Python3 versions. I expect this build not to function right until FreeCAD moves to Pyside6 and Qt6, whenever that is.

from freecad.

howie-j avatar howie-j commented on May 31, 2024 1

Correct, fedora 38 was the last version with all dependencies necessary to build freecad. I use a toolbox with fedora 38 as the base image to build and run freecad, works perfectly: https://github.com/howie-j/freecad-development-setup/tree/main

from freecad.

johnsonm avatar johnsonm commented on May 31, 2024

In a debian container, I tried using the packages from the docker build script tools/build/Docker/debian.sh

apt-get install --no-install-recommends --yes build-essential cmake doxygen \
    git libboost-date-time-dev libboost-dev libboost-filesystem-dev \
    libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev \
    libboost-python-dev libboost-regex-dev libboost-serialization-dev \
    libboost-thread-dev libcoin-dev libeigen3-dev libgtkglext1-dev libgts-dev \
    libkdtree++-dev libkml-dev libmedc-dev libocct-data-exchange-dev \
    libocct-draw-dev libocct-foundation-dev libocct-modeling-algorithms-dev \
    libocct-modeling-data-dev libocct-ocaf-dev libocct-visualization-dev \
    libopencv-dev libproj-dev libpyside2-dev libqt5svg5-dev \
    libshiboken2-dev libvtk9-dev libvtk9-qt-dev \
    libvtk-dicom-dev libx11-dev libxerces-c-dev libxmu-dev libxmuu-dev \
    libzipios++-dev netgen netgen-headers pyside2-tools python3-dev \
    python3-matplotlib python3-pivy python3-ply python3-pyside2.qtsvg \
    python3-pyside2.qtuitools qtchooser qttools5-dev shiboken2 swig

However, that missed libyaml-cpp-dev and libqt5xmlpatterns5-dev and python3-pyside2.qtnetwork that are now required.

from freecad.

johnsonm avatar johnsonm commented on May 31, 2024

I see that d51d2f6 removed libqt5xmlpattherns5-dev but the build failed with it removed, so I don't really know where that bug is exactly...

from freecad.

yorikvanhavre avatar yorikvanhavre commented on May 31, 2024

In a debian container, I tried using the packages from the docker build script tools/build/Docker/debian.sh However, that missed libyaml-cpp-dev and libqt5xmlpatterns5-dev and python3-pyside2.qtnetwork that are now required.

The wiki instructions are up-to-date: https://wiki.freecad.org/Compile_on_Linux but indeed that build script needs to be updated.

from freecad.

johnsonm avatar johnsonm commented on May 31, 2024

True but less helpful. ☺

Cutting and pasting from a long bullet list of package names, or worse, re-typing, is mind-numbing.

If the wiki instructions linked to those scripts and they were kept up to date as the primary way of listing the packages, it would sure be easier to use...

from freecad.

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.