tbb-examples Makefile uses nonexistant command

Bug #206822 reported by Christopher Peplin
4
Affects Status Importance Assigned to Milestone
tbb (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: tbb-examples

I am reporting from an AMD64 machine using Ubuntu 8.04, on the 2.0r014-3 version of the package

The Makefiles included with this package all use the arch command to determine the architecture of the system. While this works in Debian, this command is not included in Ubuntu and there is no package that provides it. A simple solution, found here (http://softwareblogs.intel.com/2007/11/17/building-threading-building-blocks-on-ubuntu/) is to replace any use of arch with uname -m, which returns the same thing.

I was able to fix the error that I was getting ("make: arch: Command not found") by running "find . -iname "Makefile" -exec sed -i 's/shell arch/shell uname -m/g' {} \;" in /usr/share/doc/tbb-examples/examples.

Before it would fully compile, I also had to extract the .gz files in examples/common/gui. I don't know if this is a bug or feature, but it wasn't clear without some digging.

Changed in tbb:
assignee: nobody → chris.peplin
status: New → In Progress
Revision history for this message
Christopher Peplin (chris.peplin) wrote :

Patch 03_replace_arch_command.dpatch already fixed this problem in libtbb, but the examples still had the problem. This patch fixes the Makefiles.

Revision history for this message
Christopher Peplin (chris.peplin) wrote :

Patch posted.

Changed in tbb:
assignee: chris.peplin → nobody
status: In Progress → Confirmed
Revision history for this message
Graham Inggs (ginggs) wrote :

This bug refers to a very old version of Ubuntu.
I am unable to reproduce the problem in Artful.
Please add a comment to this report if the problem persists.

Changed in tbb (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tbb (Ubuntu) because there has been no activity for 60 days.]

Changed in tbb (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.