[Bf-linux] Problems I have been facing these days

vanangamudi selva.developer at gmail.com
Sun Dec 16 14:55:55 CET 2012


I recently migrated to fedora 17 from ubuntu. there are several problem
I have been troubling with. Some of which related to blender are.

I cannot launch Blender build from Graphicall.org
   I created links for the "libXXXX.so.YYY"s
   But new problem with launching blender is it throws the following
error.

==============================================================================

connect failed: No such file or directory

Error: No valid "startup.blend", fall back to built-in default.

Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)

==============================================================================
the third error I cannot understand, so I tried compiling Python3.3 from
source. 
so in the python source directory
I created build and changed to build dir
so now I am in /.../python/build
and I did 
  $ ../configure
  $ make 

and it throws this onto the terminal

case $MAKEFLAGS in *s*) quiet=-q; esac; \
 CC='gcc -pthread' LDSHARED='gcc -pthread -shared  ' OPT='-DNDEBUG -g
-fwrapv -O3 -Wall -Wstrict-prototypes' \
	./python -E ../setup.py $quiet build
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gsed... sed
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -pthread
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -pthread accepts -g... yes
checking for gcc -pthread option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -pthread... gcc3
checking dependency style of gcc -pthread... gcc3
checking whether gcc -pthread and cc understand -c and -o together...
yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -pthread... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc -pthread object...
ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -pthread -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -pthread supports -fno-rtti -fno-exceptions... no
checking for gcc -pthread option to produce PIC... -fPIC -DPIC
checking if gcc -pthread PIC flag -fPIC -DPIC works... yes
checking if gcc -pthread static flag -static works... no
checking if gcc -pthread supports -c -o file.o... yes
checking if gcc -pthread supports -c -o file.o... (cached) yes
checking whether the gcc -pthread linker (/bin/ld -m elf_x86_64)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for C compiler vendor... gnu
checking CFLAGS for maximum warnings... -Wall
checking whether to enable maintainer-specific portions of Makefiles...
no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of double... 8
checking size of long double... 16
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... yes
checking assembler supports pc related relocs... yes
checking assembler .ascii pseudo-op support... yes
checking assembler .string pseudo-op support... yes
checking assembler supports unwind section type... yes
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.py
config.status: creating fficonfig.h
config.status:
linking /home/arulmozhi/repo/Python-3.3.0/Modules/_ctypes/libffi/src/x86/ffitarget.h to include/ffitarget.h
config.status:
linking /home/arulmozhi/repo/Python-3.3.0/Modules/_ctypes/libffi/include/ffi_common.h to include/ffi_common.h
config.status: executing buildir commands
config.status: skipping top_srcdir/Makefile - not created
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands

Python build finished, but the necessary bits to build these modules
were not found:
_lzma              _tkinter                           
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
====================================================================================

how do I solve this. the missing module for blender was encodings 
and the problem here is lzma and tkinter.

FYI I am now using Fedora 17




More information about the Bf-linux mailing list