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 -0000	1.9
+++ src/Airports/Makefile.am	2 Jan 2007 04:45:59 -0000
@@ -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 -0000	1.18
+++ src/FDM/YASim/Makefile.am	2 Jan 2007 04:46:00 -0000
@@ -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 -0000	1.15
+++ src/GUI/Makefile.am	2 Jan 2007 04:46:00 -0000
@@ -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 -0000	1.7
+++ src/Input/Makefile.am	2 Jan 2007 04:46:00 -0000
@@ -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 -0000	1.71
+++ src/Main/Makefile.am	2 Jan 2007 04:46:01 -0000
@@ -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 -0000	1.6
+++ tests/Makefile.am	2 Jan 2007 04:46:01 -0000
@@ -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
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/utils/GPSsmooth/Makefile.am,v
retrieving revision 1.10
diff -U 3 -r1.10 Makefile.am
--- utils/GPSsmooth/Makefile.am	11 Nov 2006 18:43:18 -0000	1.10
+++ utils/GPSsmooth/Makefile.am	2 Jan 2007 04:46:01 -0000
@@ -6,7 +6,8 @@
 
 GPSsmooth_LDADD = \
 	-lsgtiming -lsgmisc -lsgdebug -lplibnet -lplibul \
-	$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
+	$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz \
+	-lsgprops -lsgstructure -lsgxml
 
 MIDGsmooth_SOURCES = \
 	MIDG-II.cxx MIDG-II.hxx \
@@ -15,7 +16,8 @@
 MIDGsmooth_LDADD = \
 	-lsgio -lsgserial -lsgtiming -lsgmath -lsgbucket -lsgmisc -lsgdebug \
 	-lplibnet -lplibul \
-	$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
+	$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz \
+	-lsgprops -lsgstructure -lsgxml
 
 UGsmooth_SOURCES = \
         UGear.cxx UGear.hxx \
@@ -24,7 +26,8 @@
 UGsmooth_LDADD = \
         -lsgio -lsgserial -lsgtiming -lsgmath -lsgbucket -lsgmisc -lsgdebug \
         -lplibnet -lplibul \
-        $(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
+        $(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz \
+	-lsgprops -lsgstructure -lsgxml
 
 
 INCLUDES = -I$(top_srcdir)/src
Index: utils/Modeller/Makefile.am
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/utils/Modeller/Makefile.am,v
retrieving revision 1.8
diff -U 3 -r1.8 Makefile.am
--- utils/Modeller/Makefile.am	17 Dec 2006 10:12:38 -0000	1.8
+++ utils/Modeller/Makefile.am	2 Jan 2007 04:46:01 -0000
@@ -8,4 +8,5 @@
 animassist_LDADD = $(base_LIBS)
 
 normalmap_SOURCES = normalmap.cxx
-normalmap_LDADD = -lsgscreen $(opengl_LIBS) $(base_LIBS) -lz
+normalmap_LDADD = -lsgscreen $(opengl_LIBS) $(base_LIBS) -lz \
+	-lsgdebug
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to