On 02/12/07 08:12:23, Dan Nicholson wrote: > On Dec 2, 2007 3:31 AM, <[EMAIL PROTECTED]> wrote: > > > > Compilation of blender stops with: > > > > > > cd > > /usr/src/blender/blender-2.45/obj/linux-glibc2.3.6-i386/gameengine/blphys/blbullet/; > > ar ruv > > /usr/src/blender/blender-2.45/obj/linux-glibc2.3.6-i386/gameengine/blphys/blbullet/libblbullet.a > > CcdPhysicsController.o CcdPhysicsEnvironment.o > > ar: creating > > /usr/src/blender/blender-2.45/obj/linux-glibc2.3.6-i386/gameengine/blphys/blbullet/libblbullet.a > > a - CcdPhysicsController.o > > a - CcdPhysicsEnvironment.o > > make[1]: *** No rule to make target `/usr/local/lib/lib-pthread.a', needed > > by `/usr/src/blender/blender-2.45/obj/linux-glibc2.3.6-i386/bin/blender'. > > Stop. > > make: *** [all] Error 1 > > > > I don't have a /usr/local/lib/lib-pthread.a but a /usr/lib/libpthread.a > > which > > ought to be fine but I can't figure out how to change the make > > process > > accordingly. I also wonder why it looks for static libs although it > > is > > supposed to make a dynamic blender binary. > > Was there a configure script? This usually makes decisions about what > to do on your system and seeds the Makefiles accordingly. I would look > there first for any 'lib-pthread.a'.
No, no configure with it. That probably would make things easier. > > If no configure, then you'll have to find out what the "configured" > part is. There should at least be some Makefile stub that gets > included by the other Makefiles that contains the settings for your > system. I did (as told in the docs) modify and adjust "source/nan_definitions.mk" which sets env-vars for the build. I couldn't find more than "export NAN_PTHREADS ?= /usr/lib" which ought to be fine but doesn't let me specify the actual name of my pthreads library. I wonder how it makes up the name with the hyphen (lib-pthread.a)? > > Otherwise, start grepping for 'lib-pthread.a'. My guess is that > something tried to find 'lib-pthread' on your system, it obviously > failed, and /usr/local was used as the fallback. I have no idea where > 'lib-pthread' would come from, but maybe the grep will reveal some > info. Well, I did many of my all catching grep command: find -exec grep -Hn "lib-pthread\.a" {} \; but without success not even for lib.a which make wants next if I create a symlink for libpthread: ln -s /usr/lib/libpthread.a /usr/local/lib/lib-pthread.a But I do not have anywhere on my system a library named lib.a. Is it known? What's it for? The only thing google found for me are catched pastbin pages containing the same error as I have but sadly no solution how to solve it:( Anyway, many thanks for the help so far. Lynx -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page