Opened 12 years ago

Closed 12 years ago

Last modified 11 months ago

#3521 closed defect (fixed)

Error in configure on Mac OS X

Reported by: criezy Owned by: fingolfin
Priority: normal Component: Port: Mac OS X
Keywords: Cc:
Game:

Description

CVS version from December 16, 2007.

configure --help fails on MacOS X (10.4) on the engines help part. It displays error (see below) qnd then the names of the flag to build or not the engines are missing.

The error message is:

% ./configure --help
Running ScummVM configure...
head: illegal option -- c
Usage: head [-n lines] [file ...]
head: illegal option -- c
Usage: head [-n lines] [file ...]
... (17 more times)

Usage: ./configure [OPTIONS]...

Configuration:
-h, --help display this help and exit
--backend=BACKEND backend to build (sdl, x11, morphos, dc, gp32, gp2x, iphone, null) [sdl]

Installation directories:
--prefix=DIR use this prefix for installing ScummVM [/usr/local]
--bindir=DIR directory to install the scummvm binary in [PREFIX/bin]
--mandir=DIR directory to install the manpage in [PREFIX/man]
--datadir=DIR directory to install the data files in [PREFIX/share]

Special configuration feature:
--host=HOST cross-compile to target HOST (arm-linux, ...)
special targets: linupy for Yopy PDA

Optional Features:
--disable-debug disable building with debugging symbols
--enable-Werror treat warnings as errors
don't build the SCUMM engine
exclude the v7 & v8 games in SCUMM engine
exclude the HE70+ games in SCUMM engine
don't build the AGI engine
don't build the AGOS engine
don't build the Cinematique evo 1 engine
build the Cinematique evo 2 engine
build the Drascula: The Vampire Strikes Back engine
don't build the Gobli*ns engine
build the Igor: Objective Uikokahonia engine
don't build the Legend of Kyrandia engine
don't build the Lure of the Temptress engine
don't build the Parallaction engine
don't build the Flight of the Amazon Queen engine
don't build the SAGA engine
don't build the Beneath a Steel Sky engine
don't build the Broken Sword 1 engine
don't build the Broken Sword 2 engine
don't build the Touche: The Adventures of the Fifth Musketeer engine

--enable-plugins build engines as loadable modules instead of
static linking them
... (everything after this point is correct)

Ticket imported from: #1853110. Ticket imported from: bugs/3521.

Change History (4)

comment:1 by fingolfin, 12 years ago

Indeed. Didn't notice this as I have the GNU fileutils installed, which ship a sane "head" tool. We'll have to replace this with a suitable sed/awk command, I guess.

comment:2 by fingolfin, 12 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed
Summary: Error in configure on MacOS XError in configure on Mac OS X

comment:3 by fingolfin, 12 years ago

Fixed by using "sed" instead of head.

comment:4 by digitall, 11 months ago

Component: Port: Mac OS X
Note: See TracTickets for help on using tickets.