Re: Problems with installation of 4.2 release

Johannes Wienke <[email protected]> Mon, 19 Nov 2012 17:12:35 +0100
Newsgroups gmane.network.spread.user
Message-ID <[email protected]>
On 11/19/2012 04:00 PM, John Schultz wrote:
> No, that won't do it. Go down to the compile lines for spmonitor, it should look something like this:
> 
> spmonitor$(EXEEXT): $(MONITOR_OBJS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a
>         $(LD) -o $@ $(LDFLAGS) $(MONITOR_OBJS) $(LIBS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a
> 
> sptmonitor$(EXEEXT): $(TMONITOR_OBJS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a
>         $(LD) $(THLDFLAGS) -o $@ $(TMONITOR_OBJS) $(THLIBS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a
> 
> Try changing it to:
> 
> spmonitor$(EXEEXT): $(MONITOR_OBJS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a
>         $(LD) -o $@ $(LDFLAGS) $(MONITOR_OBJS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a $(LIBS) 
> 
> sptmonitor$(EXEEXT): $(TMONITOR_OBJS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a
>         $(LD) $(THLDFLAGS) -o $@ $(TMONITOR_OBJS) $(LIBSPREADUTIL_DIR)/lib/libspread-util.a  $(THLIBS)


Yes, that fixed the compilation problem and also the installation to to
sbin. However, in the first place the Makefile should actually fail if
something cannot be built.

Cheers,
Johannes

_______________________________________________
Spread-users mailing list
[email protected]
http://lists.spread.org/mailman/listinfo/spread-users
signature.asc (application/pgp-signature, 259 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCqWnMACgkQBFcR5UV/ccIEaACfSmYlGbF09FPKcFPJBrdT4mp2
m4MAoOV5Afncx4wBdHX8McJ/AVzzIcF8
=PMis
-----END PGP SIGNATURE-----