install_deps.sh does not install all deps #40804

Closed
opened 2014-06-25 21:48:00 +02:00 by Alexander N. · 4 comments
Member

System Information
ubuntu 14.04 64bit

Blender Version
n.a. (git cloned 2014-06-24)

Short description of error
following the build instructions on http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/Scons
the script "./blender/build_files/build_environment/install_deps.sh" did not install all dependencies.
the compiling stopped with an error that an av... include file is missing for ffmpeg.
i needed to install some packages by hand to get rid of building errors.

Exact steps for others to reproduce the error

  • virgin ubuntu 14.04 LTS 64bit installation
  • following the build instructions
sudo apt-get update && sudo apt-get install git build-essential
mkdir ~/dev/blender-git
cd ~/dev/blender-git
git clone http://git.blender.org/blender.git
cd blender
git submodule update --init --recursive
git submodule foreach git checkout master
git submodule foreach git pull --rebase origin master
cd ~/dev/blender-git
./blender/build_files/build_environment/install_deps.sh
cd ~/dev/blender-git/blender
git pull --rebase
git submodule foreach git pull --rebase origin master
cd ~/dev/blender-git/blender
python scons/scons.py

... -> compile process stopped with error for ffmpeg because of an missing include file (i can't remember exactly the name, but something with "av... .h")

  • by following "Manual dependencies installation "
sudo apt-get -y install git build-essential libxi-dev libsndfile1-dev libopenexr-dev libopenjpeg-dev libpng12-dev libjpeg-dev libopenal-dev libalut-dev python3.4-dev libglu1-mesa-dev libsdl-dev libfreetype6-dev libtiff4-dev libavdevice-dev libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libx264-dev libxvidcore4-dev libmp3lame-dev libspnav-dev python3.4

... -> libxvidcore4-dev package could not be found.

  • by dropping the "libxvidcore4-dev" package that was unknown
sudo apt-get -y install git build-essential libxi-dev libsndfile1-dev libopenexr-dev libopenjpeg-dev libpng12-dev libjpeg-dev libopenal-dev libalut-dev python3.4-dev libglu1-mesa-dev libsdl1.2-dev libfreetype6-dev libtiff4-dev libavdevice-dev libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libx264-dev libmp3lame-dev libspnav-dev python3.4

... ->

The following NEW packages will be installed:
  libalut-dev libalut0 libavcodec-dev libavdevice-dev libavdevice53
  libavformat-dev libavutil-dev libflac-dev libilmbase-dev libmp3lame-dev
  libopenexr-dev libsndfile1-dev libspnav-dev libspnav0 libswscale-dev
  libtiff4-dev

0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.

  • restart build process
cd ~/dev/blender-git/blender
python scons/scons.py

... -> building blender succeeded

so one of the post installed packages is missing in the "install_deps.sh" script.
because i installed all packages in the "Manual dependencies installation" section, maybe there are more missing packages that the script does not install, but is needed to build blender without errors.

**System Information** ubuntu 14.04 64bit **Blender Version** n.a. (git cloned 2014-06-24) **Short description of error** following the build instructions on http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/Scons the script "./blender/build_files/build_environment/install_deps.sh" did not install all dependencies. the compiling stopped with an error that an av... include file is missing for ffmpeg. i needed to install some packages by hand to get rid of building errors. **Exact steps for others to reproduce the error** - virgin ubuntu 14.04 LTS 64bit installation - following the build instructions ``` sudo apt-get update && sudo apt-get install git build-essential ``` ``` mkdir ~/dev/blender-git cd ~/dev/blender-git git clone http://git.blender.org/blender.git cd blender git submodule update --init --recursive git submodule foreach git checkout master git submodule foreach git pull --rebase origin master ``` ``` cd ~/dev/blender-git ./blender/build_files/build_environment/install_deps.sh ``` ``` cd ~/dev/blender-git/blender git pull --rebase git submodule foreach git pull --rebase origin master ``` ``` cd ~/dev/blender-git/blender python scons/scons.py ``` ... -> compile process stopped with error for ffmpeg because of an missing include file (i can't remember exactly the name, but something with "av... .h") - by following "Manual dependencies installation " ``` sudo apt-get -y install git build-essential libxi-dev libsndfile1-dev libopenexr-dev libopenjpeg-dev libpng12-dev libjpeg-dev libopenal-dev libalut-dev python3.4-dev libglu1-mesa-dev libsdl-dev libfreetype6-dev libtiff4-dev libavdevice-dev libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libx264-dev libxvidcore4-dev libmp3lame-dev libspnav-dev python3.4 ``` ... -> libxvidcore4-dev package could not be found. - by dropping the "libxvidcore4-dev" package that was unknown ``` sudo apt-get -y install git build-essential libxi-dev libsndfile1-dev libopenexr-dev libopenjpeg-dev libpng12-dev libjpeg-dev libopenal-dev libalut-dev python3.4-dev libglu1-mesa-dev libsdl1.2-dev libfreetype6-dev libtiff4-dev libavdevice-dev libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libx264-dev libmp3lame-dev libspnav-dev python3.4 ``` ... -> ``` The following NEW packages will be installed: libalut-dev libalut0 libavcodec-dev libavdevice-dev libavdevice53 libavformat-dev libavutil-dev libflac-dev libilmbase-dev libmp3lame-dev libopenexr-dev libsndfile1-dev libspnav-dev libspnav0 libswscale-dev libtiff4-dev ``` 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. - restart build process ``` cd ~/dev/blender-git/blender python scons/scons.py ``` ... -> building blender succeeded so one of the post installed packages is missing in the "install_deps.sh" script. because i installed all packages in the "Manual dependencies installation" section, maybe there are more missing packages that the script does not install, but is needed to build blender without errors.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @beta-tester

Added subscriber: @beta-tester

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-06-26 08:26:13 +02:00

Please do not use the tracker for building issues, mail is better here. Also, if you do not remember which file was missing, I can’t really help you here…

Please do not use the tracker for building issues, mail is better here. Also, if you do not remember which file was missing, I can’t really help you here…
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#40804
No description provided.