Bug 138428

Summary: build error from bocreatepreview
Product: [Applications] boson Reporter: Wart <wart>
Component: generalAssignee: The Boson Team <boson-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wart 2006-12-06 05:57:34 UTC
Version:           0.13 (using KDE KDE 3.5.5)
Installed from:    Fedora RPMs
Compiler:          gcc 4.1.1 cmake version 2.4.4
OS:                Linux

When trying to build boson on Fedora Core 7 (Rawhide), I got an error from bocreatepreview:

Scanning dependencies of target bocreatepreview
make[2]: *** No rule to make target `/usr/lib/python2.4/config/libpython2.4.a -lpthread -ldl  -lutil -lm', needed by `boson/programs/bocreatepreview'.  Stop.
make[2]: *** Waiting for unfinished jobs....

This python library does indeed exist on the system.  To my untrained eye, it looks like it's trying to treat the entire string as a single filename, includng '-lpthread -ldl' ...

Full build log can be found at http://www.kobold.org/~wart/fedora/queue/boson-build.log
source rpm that generated the build error:  http://www.kobold.org/~wart/fedora/queue/boson-0.13-1.src.rpm
Comment 1 Andreas Beckermann 2006-12-13 00:16:56 UTC
Hi
try to edit code/cmake/modules/boson/FindBosonPythonLibs.cmake. Replace
  set(PYTHON_LIBRARIES "${PYTHON_LIBRARY} ${_python_dependency_libs}")
by
  set(PYTHON_LIBRARIES ${PYTHON_LIBRARY} ${_python_dependency_libs})

That should fix the problem. Fixed in svn.

CU
Andi