Building on NetBSD

From Gnash Project Wiki

Jump to: navigation, search

As of mid Feb, 2008, Gnash builds out of the box on NetBSD 4.0, using g++ 4.1.2. Here's the data on my system's configuration. This is a completely up to date NetBSD installation, so if you have any problems, some of your packages may be out of date, or missing.

$ uname -a
NetBSD x86-netbsd40.welcomehome.org 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 2007  builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
$ head -1 /etc/motd
NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 2007
$ g++ -v 
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf4.99.3 --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 4.1.2 20061021 prerelease (NetBSD nb3 20061125)

Gnash has several dependencies on system libraries to compile. These are primarily

$ pkg_info | & egrep "curl|agg|boost|gtk|kde|qt|atk|pango|cairo|sdl|jpeg|png|gstreamer"
atk-1.20.0          Set of interfaces for accessibility
glitz-0.5.6nb2      OpenGL 2D graphics library and a backend for gl output in cairo
png-1.2.23          Library for manipulating PNG images
cairo-1.4.12        Vector graphics library with cross-device output support
pango-1.18.3        Library for layout and rendering of text
jpeg-6bnb4          IJG's jpeg compression utilities
gtk2+-2.12.3        GIMP Toolkit v2 - libraries for building X11 user interfaces
gtkglext-1.2.0nb2   OpenGL extension to GTK
kde3-dirs-1.0       Shared KDE (v3) directories
qt3-libs-3.3.8nb7   C++ X GUI toolkit
kdelibs-3.5.8nb2    Support libraries for the KDE integrated X11 desktop
kdebase-3.5.8nb3    Base modules for the KDE 3 integrated X11 desktop
boost-headers-1.33.1 Free, peer-reviewed portable C++ source libraries (build-time headers)
boost-libs-1.33.1   Free, peer-reviewed portable C++ source libraries (binary libraries)
gstreamer0.10-0.10.15 Open source multimedia framework
boost-build-1.33.1nb2 Free, peer-reviewed portable C++ source libraries (Boost.Build framework)
curl-7.17.1         Client that groks URLs