Opened 9 years ago

Closed 7 years ago

#1059 closed bug (fixed (in master))

Get the buildsystem working on OpenBSD again

Reported by: takkaria Owned by: d_m
Milestone: 3.4.0 Keywords: unix compat
Cc:

Description

From config.log:
configure:4704: checking for initscr in -lcurses  
configure:4739: gcc -o conftest -g -O2 -DHAVE_CONFIG_H
-fno-strength-reduce -W -Wall -Wno-unused-parameter
-Wno-missing-field-initializers -pedantic  -I.  conftest.c -lcurses >&5
cc1: error: unrecognized option `-Wno-missing-field-initializers'

gcc --version:
gcc (GCC) 3.3.5 (propolice)

To fix this:
change the default CFLAGS in configure.ac, line 69 or add a test to
check GCC's version before adding warnings.

After successfully configure and compiling, I get an error when
installing :
$ gmake install
Successfully installed angband.
/bin/sh: .././install-sh: not found
Failed to install delete.me!
gmake[2]: *** [install] Error 1
gmake[1]: *** [install] Error 1
gmake: *** [install] Error 1

Replacing this in mk/extra.mk:
MKDIR_P = .././install-sh -c -d
by this:
MKDIR_P = /usr/bin/install -c -d
works.

Change History (4)

comment:1 Changed 8 years ago by magnate

  • Milestone changed from 3.2.0 to 3.3.0

Punting to 3.3: non-urgent bug or change.

comment:2 Changed 8 years ago by d_m

  • Owner set to d_m
  • Status changed from new to assigned

I will try to install an OpenBSD VM and take a look at this. But no promises!

comment:3 Changed 8 years ago by d_m

  • Milestone changed from 3.3.0 to 3.4.0

Delaying to 3.4

comment:4 Changed 7 years ago by magnate

  • Resolution set to fixed
  • Status changed from assigned to closed

We have been rescued by edd@…!

Note: See TracTickets for help on using tickets.