On Mon, 2007-01-01 at 19:15 -0500, John Denker wrote:
(The FlightGear package refuses to
compile on my machine, x86 Debian etch, so I'm stuck with precompiled
binaries.)
What problems do you have? I find including more libraries in some of
the Makefile.am's does the trick for me... I'm attaching a diff of my
debian-etch build tree against today's CVS.
I have the latest CVS (OSG not PLIB) for Simgear and FlightGear and a
patched version of the release OSG as debian packages if you're
interested. Simgear and FlightGear together are about 4 MBytes, OSG is
32 MBytes.
Ron
Index: src/Airports/Makefile.am
===
RCS file: /var/cvs/FlightGear-0.9/source/src/Airports/Makefile.am,v
retrieving revision 1.9
diff -U 3 -r1.9 Makefile.am
--- src/Airports/Makefile.am 6 Oct 2006 17:36:32 - 1.9
+++ src/Airports/Makefile.am 2 Jan 2007 04:45:59 -
@@ -13,6 +13,6 @@
trafficcontrol.hxx trafficcontrol.cxx
calc_loc_SOURCES = calc_loc.cxx
-calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lz $(base_LIBS)
+calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lsgprops -lsgstructure -lsgxml -lz $(base_LIBS)
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
Index: src/FDM/YASim/Makefile.am
===
RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/YASim/Makefile.am,v
retrieving revision 1.18
diff -U 3 -r1.18 Makefile.am
--- src/FDM/YASim/Makefile.am 17 Dec 2006 10:12:39 - 1.18
+++ src/FDM/YASim/Makefile.am 2 Jan 2007 04:46:00 -
@@ -45,9 +45,9 @@
yasim_SOURCES = yasim-test.cpp $(SHARED_SOURCE_FILES)
-yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lplibul -lplibsg $(opengl_LIBS) $(base_LIBS)
+yasim_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lplibul -lplibsg $(opengl_LIBS) $(base_LIBS) -lz
proptest_SOURCES = proptest.cpp $(SHARED_SOURCE_FILES)
-proptest_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lplibul -lplibsg $(opengl_LIBS) $(base_LIBS)
+proptest_LDADD = -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -lplibul -lplibsg $(opengl_LIBS) $(base_LIBS) -lz
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
Index: src/GUI/Makefile.am
===
RCS file: /var/cvs/FlightGear-0.9/source/src/GUI/Makefile.am,v
retrieving revision 1.15
diff -U 3 -r1.15 Makefile.am
--- src/GUI/Makefile.am 1 Nov 2006 22:48:34 - 1.15
+++ src/GUI/Makefile.am 2 Jan 2007 04:46:00 -
@@ -21,4 +21,4 @@
layout_test_LDADD = libGUI.a \
-lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml \
--lplibpw -lplibpu -lplibfnt -lplibul $(opengl_LIBS)
+-lplibpw -lplibpu -lplibfnt -lplibul $(opengl_LIBS) -lz
Index: src/Input/Makefile.am
===
RCS file: /var/cvs/FlightGear-0.9/source/src/Input/Makefile.am,v
retrieving revision 1.7
diff -U 3 -r1.7 Makefile.am
--- src/Input/Makefile.am 4 Jul 2006 23:29:05 - 1.7
+++ src/Input/Makefile.am 2 Jan 2007 04:46:00 -
@@ -13,6 +13,7 @@
fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
fgjs_LDADD = -lplibjs $(base_LIBS) $(joystick_LIBS) -lplibul \
- -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz
+ -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz \
+ -lsgserial -lplibnet -lsgbucket
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/Main
Index: src/Main/Makefile.am
===
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/Makefile.am,v
retrieving revision 1.71
diff -U 3 -r1.71 Makefile.am
--- src/Main/Makefile.am 31 Oct 2006 06:19:53 - 1.71
+++ src/Main/Makefile.am 2 Jan 2007 04:46:01 -
@@ -113,6 +113,8 @@
metar_LDADD = \
-lsgenvironment -lsgio -lsgbucket -lsgmisc -lsgstructure -lsgdebug \
-lplibnet -lplibul $(network_LIBS) \
--lz $(base_LIBS)
+-lz $(base_LIBS) \
+ -lsgserial -lsgprops -lsgxml -lsgsky -losg -losgDB -losgUtil -lsgprops \
+ -lplibsg -lsgscreen -lsgmodel -lsgutil -lsgmath
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/FDM/JSBSim
Index: tests/Makefile.am
===
RCS file: /var/cvs/FlightGear-0.9/source/tests/Makefile.am,v
retrieving revision 1.6
diff -U 3 -r1.6 Makefile.am
--- tests/Makefile.am 31 Jan 2006 18:20:49 - 1.6
+++ tests/Makefile.am 2 Jan 2007 04:46:01 -
@@ -21,4 +21,6 @@
test_text_SOURCES = test-text.cxx
test_up_SOURCES = test-up.cxx
-test_up_LDADD = -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz $(base_LIBS)
+test_up_LDADD = -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz \
+ -lsgprops \
+ $(base_LIBS)
Index: utils/GPSsmooth/Makefile.am
===