Subject: Re: Problems installing FlightGear on NetBSD 3.0
To: None <port-i386@netbsd.org>
From: David Lord <david@lordynet.org>
List: port-i386
Date: 04/12/2006 12:56:06
On 12 Apr 2006, at 8:44, Berndt Josef Wulf wrote:

> On Wednesday 12 April 2006 05:59, David Lord wrote:
> > Hi
> >
> > I've been trying to get some version of FlightGear to install on
> > NetBSD 3.0 but without much progress.
> >
> > Please let me know if anyone has already managed to get this working
> > and where I can download from.
> >
> > Meanwhile I'm having limited success locating what's causing
> > compiles to fail, fixing one problem and then moving onto next. I'm
> > not a programmer so this isn't easy going. Currently trying with
> > 0.9.3 after giving up with 0.9.10.
> >
> > David
> 
> Did you give flightgear-0.9.9 from the wip packages collection a try?
> 
> /usr/pkgsrc/wip/flightgear

I just downloaded wip snapshot and it seems to have same version 
0.9.3 I've been trying with. Possibly with pkgsrc/wip in place I 
might have a better chance.


In /usr/pkgsrc/wip/flightgear 'make' stops with following error:

===> *** No /usr/pkgsrc_distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum SHA1 OK for FlightGear-0.9.3.tar.gz.
=> Checksum RMD160 OK for FlightGear-0.9.3.tar.gz.
===> Extracting for flightgear-0.9.3
===> Required installed package flightgear-base>=0.9.3: flightgear-base-0.9.3 found
===> Required installed package glu>=6.4.1nb1: glu-6.4.2 found
===> Required installed package glut>=6.4.1nb1: glut-6.4.2 found
===> Required installed package MesaLib>=6.4.1nb1: MesaLib-6.4.2nb1 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required installed package x11-links>=0.25: x11-links-0.26 found
===> Required installed package plib>=1.6.0: plib-1.6.0nb3 found
===> Required installed package plib>=1.6.0nb3: plib-1.6.0nb3 found
===> Patching for flightgear-0.9.3
===> Applying pkgsrc patches for flightgear-0.9.3
===> Overriding tools for flightgear-0.9.3
pkg_info: missing package name(s)
usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l prefix]
                pkg-name [...]
       pkg_info [-a | -u] [flags]
       pkg_info -Q variable pkg-name [pkg-name ...]
make: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 325: warning: Couldn't read shell's output for "/usr/sbin/pkg_info -K . -qp  | /usr/bin/sed  -e "s,^[^/]*,,;q""
===> Creating toolchain wrappers for flightgear-0.9.3
Syntax error: expecting "in"

*** Failed target:  /usr/pkgsrc/wip/flightgear/work/.buildlink/.buildlink_simgear_done
*** Failed command: case in *not_found) echo "simgear is not installed; can't buildlink files."; false; ;; esac
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/wip/flightgear

*** Failed target:  /usr/pkgsrc/wip/flightgear/work/.wrapper_done
*** Failed command: cd /usr/pkgsrc/wip/flightgear && /usr/bin/env PATH=/usr/pkgs
rc/wip/flightgear/work/.wrapper/bin:/usr/pkgsrc/wip/flightgear/work/.buildlink/b
in:/usr/pkgsrc/wip/flightgear/work/.gcc/bin:/usr/pkgsrc/wip/flightgear/work/.too
ls/bin:/usr/pkg/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/
usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin /usr/bin/make _MAKE=/u
sr/bin/make OPSYS=NetBSD OS_VERSION=3.0 LOWER_OS_VERSION=3.0 LOWER_OPSYS=netbsd 
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20050731 PKGTOOLS_VERSION=20051122 _PK
GSRCDIR=/usr/pkgsrc _CC=/usr/bin/cc _PATH_ORIG=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin real-wrapper PKG_PHASE=wrapper
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/flightgear


After that from /usr/pkgsrc/wip/simgear a 'make' completed ok and
after 'make install' pkg_info simgear indicates it was installed
but on going back to flightgear I get same error as above.

Information for simgear-0.3.4:
Comment:
Simulator Construction Tools

Requires:
jpeg>=6bnb2


David