Run Blender in Centos 5 with old glibc 2.5 ( without root )

Hi, all,

This is my first post here…:slight_smile:

I want to test Blender in my office workstation(Centos 5, glibc 2.5).
The glibc version is too old. I can only run 2.49, but can’t run 2.6x version. If I don’t have root pw, is there any way to update glibc or run blender?

I have tried to run windows-portable version by wine. However, there are some problems to control the 3d viewport.

Do you have any idea?

Thx so much~

Alan

Do you have any idea?

Why not compile it yourself from sources ?

Hi, storm_st

Thanks for your reply.
However, I have no idea how to compile it myself from sources.
Would you mind sharing any guideline to me?
Thx so much.

Alan

I just tried to compile it and run the following in my shell. Unfortunately, I got one error and stopped

> python scons/scons.py BF_PYTHON_INC=/usr/include/python2.6

scons: Reading SConscript files …
Command-line arguments
BF_PYTHON_INC = /usr/include/python2.6
Command-line targets
No targets given, using default
Using config file: build_files/scons/config/linux-config.py
user-config.py not found, no user overrides
Clearing installation directory: /home/alam/App/install/linux/2.66/scripts
Build with parallel jobs: 1
Build with debug symbols: False
Building in: /home/alam/App/build/linux
Configuring library bf_avi
Configuring library bf_bmesh
Configuring library bf_blenkernel
Configuring library bf_blenkernel_mask
Configuring library bf_blenlib
Configuring library bf_blenloader
Configuring library bf_gpu
Configuring library bf_editor_datafiles
Configuring library bf_editors_space_api
Configuring library bf_editors_util
Configuring library bf_editors_interface
Configuring library bf_editor_io
Configuring library bf_editors_animation
Configuring library bf_editors_armature
Configuring library bf_editors_mask
Configuring library bf_editors_mesh
Configuring library bf_editors_metaball
Configuring library bf_editors_object
Configuring library bf_editors_curve
Configuring library bf_editors_gpencil
Configuring library bf_editors_physics
Configuring library bf_editors_render
Configuring library bf_editors_sound
Configuring library bf_editors_space_buttons
Configuring library bf_editors_space_clip
Configuring library bf_editors_space_file
Configuring library bf_editors_space_image
Configuring library bf_editors_space_info
Configuring library bf_editors_space_graph
Configuring library bf_editors_space_node
Configuring library bf_editors_space_outliner
Configuring library bf_editors_space_time
Configuring library bf_editors_space_view3d
Configuring library bf_editors_space_action
Configuring library bf_editors_space_nla
Configuring library bf_editors_space_script
Configuring library bf_editors_space_text
Configuring library bf_editors_space_sequencer
Configuring library bf_editors_space_game
Configuring library bf_editors_space_console
Configuring library bf_editors_space_userpref
Configuring library bf_editors_transform
Configuring library bf_editors_screen
Configuring library bf_editors_sculpt_paint
Configuring library bf_editors_uvedit
Configuring library bf_imbuf
Configuring library bf_dna
Configuring library bf_render
Configuring library bf_render_raytrace
Configuring library bf_nodes
Configuring library bf_cmpnodes
Configuring library bf_shdnodes
Configuring library bf_texnodes
Configuring library bf_modifiers
Configuring library bf_ikplugin
Configuring library bf_windowmanager
Configuring library bf_blenfont
Configuring library bf_rna
Configuring library bf_python_bmesh
Configuring library bf_python_ext
Configuring library bf_python_mathutils
Configuring library bf_python
Configuring library bf_imbuf_dds
Configuring library bf_imbuf_cineon
Configuring library bf_imbuf_openexr
Configuring library bf_composite
Configuring library ge_blen_routines
Configuring library ge_converter
Configuring library ge_logic_expressions
Configuring library ge_logic
Configuring library ge_logic_ketsji
Configuring library bf_network
Configuring library ge_logic_ngnetwork
Configuring library ge_logic_loopbacknetwork
Configuring library ge_phys_common
Configuring library ge_phys_dummy
Configuring library ge_rasterizer
Configuring library ge_oglrasterizer
Configuring library ge_scenegraph
Configuring library ge_videotex
Configuring library ge_player_common
Configuring library ge_player_ghost
Configuring library ge_phys_bullet
Configuring library blenkernel_blc
Configuring library bf_intern_audaspace
Configuring library bf_intern_string
Configuring library bf_intern_ghost
Configuring library bf_intern_guardedalloc
Configuring library bf_intern_moto
Configuring library bf_intern_memutil
Configuring library bf_intern_iksolver
Configuring library bf_intern_itasc
Configuring library bf_intern_opencolorio
Configuring library bf_intern_opennl
Configuring library bf_intern_mikktspace
Configuring library bf_intern_smoke
Configuring library bf_intern_raskter
Configuring library bf_intern_dualcon
Configuring library bf_intern_elbeem
Configuring library bf_intern_bsp
Configuring library bf_intern_locale
Configuring library bf_intern_rigidbody
Configuring library bf_intern_opencl
Configuring library extern_glew
Configuring library extern_colamd
Configuring library extern_rangetree
Configuring library extern_recastnavigation
Configuring library extern_bullet2
Configuring library extern_openjpeg
Configuring library extern_binreloc
Configuring library extern_minilzo
Configuring library extern_lzma
Configuring library extern_libmv
Configuring library extern_ssba
Configuring library extern_ceres
Configuring library extern_carve
Configuring library extern_xdnd
Configuring program blender
Configuring program blenderplayer
Mkdir("…/install/linux/2.66/scripts")
Mkdir("…/install/linux/2.66/scripts/presets")
Mkdir("…/install/linux/2.66/scripts/presets/operator")
Mkdir("…/install/linux/2.66/scripts/presets/cycles")
Mkdir("…/install/linux/2.66/datafiles/locale/sr")
Mkdir("…/install/linux/2.66/datafiles/locale/hu")
Mkdir("…/install/linux/2.66/datafiles/locale/zh_CN")
Mkdir("…/install/linux/2.66/datafiles/locale/es")
Mkdir("…/install/linux/2.66/datafiles/locale/id")
Mkdir("…/install/linux/2.66/datafiles/locale/it")
Mkdir("…/install/linux/2.66/datafiles/locale/es_ES")
Mkdir("…/install/linux/2.66/datafiles/locale/hr")
Mkdir("…/install/linux/2.66/datafiles/locale/pt_BR")
Mkdir("…/install/linux/2.66/datafiles/locale/ar")
Mkdir("…/install/linux/2.66/datafiles/locale/[email protected]")
Mkdir("…/install/linux/2.66/datafiles/locale/hi")
Mkdir("…/install/linux/2.66/datafiles/locale/ja")
Mkdir("…/install/linux/2.66/datafiles/locale/he")
Mkdir("…/install/linux/2.66/datafiles/locale/uk")
Mkdir("…/install/linux/2.66/datafiles/locale/fr")
Mkdir("…/install/linux/2.66/datafiles/locale/cs")
Mkdir("…/install/linux/2.66/datafiles/locale/sv")
Mkdir("…/install/linux/2.66/datafiles/locale/ko")
Mkdir("…/install/linux/2.66/datafiles/locale/fa")
Mkdir("…/install/linux/2.66/datafiles/locale/pt")
Mkdir("…/install/linux/2.66/datafiles/locale/de")
Mkdir("…/install/linux/2.66/datafiles/locale/nl")
Mkdir("…/install/linux/2.66/datafiles/locale/eo")
Mkdir("…/install/linux/2.66/datafiles/locale/tr")
Mkdir("…/install/linux/2.66/datafiles/locale/zh_TW")
Mkdir("…/install/linux/2.66/datafiles/locale/ru")
Mkdir("…/install/linux/2.66/datafiles/locale/ky")
Mkdir("…/install/linux/2.66/datafiles/locale/ca")
scons: done reading SConscript files.
scons: Building targets …
Compiling ==> ‘avi_options.c’
cc1: error: unrecognized command line option “-Werror=declaration-after-statement”
cc1: error: unrecognized command line option “-Werror=implicit-function-declaration”
cc1: error: unrecognized command line option “-Werror=return-type”
scons: *** [/home/alam/App/build/linux/source/blender/avi/intern/avi_options.o] Error 1
scons: building terminated because of errors.

Here is some examples

http://wiki.blender.org/index.php/Dev:Doc/Building_Blender

Current Blender require fresh libraries, you must have some coder skill to workaround them in Centos. I have only experience with building with CMake, it just work here on Fedora. Blender is very modular, and CMake do nice job skipping parts that can not be compiled in current setup.

Most troubles with development libraries, i suspect that GCC compiler so old in Centos that it not support yet some flags. You must to install fresh gcc or maybe centos already have modern gcc with some weird names as gcc-4.7-blabla, you must use it instead of default system version.

I don’t have root permission. I think I can build it myself.
Anyway, thank you so much for your help…:slight_smile: