[guppi-list] Patch to get guppi to compile on Solaris 5.8



Hi,

In order to get guppi to compile on solaris 5.8 I needed to apply the
following patch.  In particular, this re-orders some libraries so that
the linker will find libguile.a after it tries to link in libguppiuseful.

I didn't fix the Automake code, but hopefully the following patch
to Makefile.in will show what needs to be done.

Thanks,

-derek

--- Guppi-0.35.2/src/guppi/Makefile.in~	Fri Dec 22 00:34:24 2000
+++ Guppi-0.35.2/src/guppi/Makefile.in	Sat Oct 27 19:15:37 2001
@@ -205,7 +205,7 @@
 
 # A hack: we include STANDARD_LDFLAGS twice.  This *might* fix a problem
 # with static linking against certain system libraries (like python).
-guppi_LDADD = $(STANDARD_LDFLAGS) $(BONOBO_LIB) 	../guile-server/libcorbaguile.a 	../libguppispecfns/libguppispecfns.la 	../libguppiuseful/libguppiuseful.la 	../libguppimath/libguppimath.la 	../libguppistat/libguppistat.la 	../libguppidata/libguppidata.la 	../libguppidataui/libguppidataui.la 	../libguppiplot/libguppiplot.la 
+guppi_LDADD = 	../guile-server/libcorbaguile.a 	../libguppispecfns/libguppispecfns.la 	../libguppiuseful/libguppiuseful.la 	../libguppimath/libguppimath.la 	../libguppistat/libguppistat.la 	../libguppidata/libguppidata.la 	../libguppidataui/libguppidataui.la 	../libguppiplot/libguppiplot.la $(STANDARD_LDFLAGS) $(BONOBO_LIB)
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../../config.h


-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord MIT EDU                        PGP key available



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]