Bug 138428 - build error from bocreatepreview
Summary: build error from bocreatepreview
Status: RESOLVED FIXED
Alias: None
Product: boson
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: The Boson Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 05:57 UTC by Wart
Modified: 2006-12-13 00:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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