Project

General

Profile

Bug #11899

Build error for library/libjpeg-turbo

Added by Gary Mills 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

The OI source is from 2018. Consequently, there may be a new version of the source, or some of the bugs may have already been fixed. Though the changes have been developed on SPARC hardware, they might correct bugs in some x86 packages. In any case, they should not damage other x86 packages.

On SPARC hardware, I get this build error for library/libjpeg-turbo:

checking if we have SIMD optimisations for cpu type... yes (x86_64)
checking for nasm... no
checking for nasmw... no
checking for yasm... no
configure: error: no nasm (Netwide Assembler) found
gmake: *** [/dpool.../oi-userland-apr/make-rules/configure.mk:175: .../oi-userland/components/library/libjpeg-turbo/build/sparcv9/6/.configured] Error 1

The reason for the error is that the Makefile always assumes x86. The solution is to set the build type correctly. The patch Makefile.diff accomplishes this change. With it, I had a successful build and a successful publish.


Files

Makefile.diff (880 Bytes) Makefile.diff Gary Mills, 2019-10-30 08:39 PM

Also available in: Atom PDF