Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: HOWTO: Compile Blender 2.5 SVN

  1. #11
    Join Date
    Sep 2009
    Location
    Cebu, Philippines
    Beans
    43
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Compile Blender 2.5 SVN

    Hello!

    Before attempting to follow this HOWTO, I asked around at #python about upgrading to Python 3.1.1 in Jaunty.
    These things I only learned from there:
    An important thing to note is that Jaunty uses Python 2.6 as a system default. According to their advice, this command could cause problems
    Code:
    sudo make install      # may cause problems
    So instead of that, it should be
    Code:
    sudo make altinstall

  2. #12
    Join Date
    Oct 2009
    Beans
    6

    Exclamation Re: HOWTO: Compile Blender 2.5 SVN

    hey thanks for all skseeker but it doesn't work.its still causing Segmentation fault's .When i try to start it from terminal by writing ./blender from /install/linux2 is says no such file or directory . I've done every thing .is it causing because my displaycard is on board ?.
    .i'm 3ds max creator but ive changed my OS to linux and im trying to learn blender .
    So Please Help Me !! my OS is Ubuntu 9.04 jaunty

  3. #13
    Join Date
    Jan 2007
    Location
    India
    Beans
    1,023
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Arrow Re: HOWTO: Compile Blender 2.5 SVN

    Quote Originally Posted by Labello View Post
    Well it did actually work but performance is soooo bad. about 1FPS. the blender from karmic repos works without such an issue.
    Blender from karmic repos is version 2.49a v.2.5 still under active development...
    --- I am what I am because of what we all are ----

  4. #14
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    i have been downloading "latest blender builds" from graphicall.org - look for builds by Fish, they are compiled on 9.04 - after installing python as above, i just unpack those builds and run blender direct from that directory. no problems.

  5. #15
    Join Date
    Oct 2009
    Beans
    6

    Thumbs down Re: HOWTO: Compile Blender 2.5 SVN

    srry man but its still causing segmentation fault .Guess i've done something wrong back there . i'll try to fix it

  6. #16
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    just an idea to keep you going. if you are wanting to learn blender, you could run v2.49 (which i think is in the jaunty repos)...until you can get 2.5 working. 2.5 is pretty different but the basic priciples are still the same. also, there are a lot of features in 2.5 which are not working yet, so that could be frustrating.

  7. #17
    Join Date
    Oct 2009
    Beans
    6

    Re: HOWTO: Compile Blender 2.5 SVN

    yeah but i'm still don't know how to work blender 2.49a or 2.49b in Ubuntu 9.04 any suggestions

  8. #18
    Join Date
    Oct 2009
    Beans
    6

    Re: HOWTO: Compile Blender 2.5 SVN

    i found it how stuped i m i skiped this error
    see
    PHP Code:
    /usr/bin/ldcannot find -lgettextlib
    collect2
    ld returned 1 exit status
    scons
    : *** [/home/bagi/build/linux2/bin/blenderError 1
    scons
    building terminated because of errors
    it caused while scons
    and what is -gettextlib

    help pls
    im bit new in linux
    Last edited by infinitybrain; October 15th, 2009 at 02:00 AM.

  9. #19
    Join Date
    Sep 2009
    Location
    Cebu, Philippines
    Beans
    43
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Compile Blender 2.5 SVN

    EDIT: I figured out my mistakes relating to this post. Look here post #20

    I have Python 3.1.1 installed in
    Code:
    $HOME/python/Python-3.1.1-install
    I copied the linux2-config.py to the top of the source tree as user-config.py
    Code:
    cp ~/blender-source/blender/config/linux2-config.py ~/blender-source/blender/user-config.py
    In my user-config.py, I edited BF_PYTHON= to match my Python3.1.1 installation. Included here are also the other unedited variables relating to Python
    Code:
    # user-config.py
    <--cut-->
    BF_PYTHON = '$HOME/python/Python-3.1.1-install'
    BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
    BF_PYTHON_VERSION = '3.1'
    WITH_BF_STATICPYTHON = False
    BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
    BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
    BF_PYTHON_LIB = BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a' #'python${BF_PYTHON_VERSION}' 
    BF_PYTHON_LINKFLAGS = ['-Xlinker', '-export-dynamic']
    BF_PYTHON_LIB_STATIC = '${BF_PYTHON}/lib/libpython${BF_PYTHON_VERSION}.a'
    <--cut-->
    However I cannot finish compiling. It complains that it cannot find Python.h. Is there something wrong in my user-config.py? Here is the tail end of the output
    Code:
    Compiling ==> 'nla.c'
    Compiling ==> 'node.c'
    source/blender/blenkernel/intern/node.c:31:20: error: Python.h: No such file or directory
    scons: *** [/home/kit/blender-source/build/linux2/source/blender/blenkernel/intern/node.o] Error 1
    scons: building terminated because of errors.
    $
    I tried to locate Python.h and here is the output
    Code:
    $ locate -e Python.h
    /home/kit/blender-source/blender/source/gameengine/Expressions/KX_Python.h
    /home/kit/blender-source/blender/source/gameengine/Expressions/.svn/prop-base/KX_Python.h.svn-base
    /home/kit/blender-source/blender/source/gameengine/Expressions/.svn/text-base/KX_Python.h.svn-base
    /home/kit/python/Python-3.1.1/Include/Python.h
    /usr/include/python2.6/Python.h
    $
    Is there something that I'm missing?

    Thanks in advance!
    Last edited by mo0nykit; October 15th, 2009 at 08:31 AM. Reason: Figured it out

  10. #20
    Join Date
    Sep 2009
    Location
    Cebu, Philippines
    Beans
    43
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Compile Blender 2.5 SVN

    I figured out my mistakes
    Quote Originally Posted by mo0nykit View Post
    Code:
    # user-config.py
    <--cut-->
    BF_PYTHON = '$HOME/python/Python-3.1.1-install'
    BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
    BF_PYTHON_VERSION = '3.1'
    WITH_BF_STATICPYTHON = False
    BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
    BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
    BF_PYTHON_LIB = BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a' #'python${BF_PYTHON_VERSION}' 
    <--cut-->
    Here is the correct one. Note BF_PYTHON and BF_PYTHON_LIB
    Code:
    # user-config.py
    <--cut-->
    BF_PYTHON = '/home/kit/python/Python-3.1.1-install'
    BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
    BF_PYTHON_VERSION = '3.1'
    WITH_BF_STATICPYTHON = False
    BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
    BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
    BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}'  #BF_PYTHON+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a'
    <--cut-->

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •