🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Eaton Thu, 29 Oct 1992 02:33
GNU finger-1.37 installation problems
#14
Author: John Eaton
Date: Thu, 29 Oct 1992 02:33
195 lines
5941 bytes
Compiling GNU finger 1.37 in a separate directory from the source
still doesn't work very well.

  * configure --prefix is not respected in the Makefiles.

  * various problems with --srcdir, vpath, and Makefile targets.

  * the use of $(SRC) in the Makefiles doesn't work.

  * some of the Makefile targets have $(CC)="$(CC)" instead of CC="$(CC)".

I was able to get clean builds after making the following changes.


diff -rc finger-1.37.orig//Makefile.in finger-1.37/Makefile.in
*** finger-1.37.orig//Makefile.in	Wed Oct 21 18:59:40 1992
--- finger-1.37/Makefile.in	Wed Oct 28 19:30:33 1992
***************
*** 4,10 ****
  VPATH = $(srcdir)
  SRC = $(srcdir)/src
  SUPPORT = $(srcdir)/support
! EXECUTABLES = $(SRC)/fingerd $(SRC)/finger $(SRC)/in.fingerd $(SRC)/in.cfingerd
  VERSION = "1.37"
  DEFS = @DEFS@
  CC = @CC@
--- 4,10 ----
  VPATH = $(srcdir)
  SRC = $(srcdir)/src
  SUPPORT = $(srcdir)/support
! EXECUTABLES = src/fingerd src/finger src/in.fingerd src/in.cfingerd
  VERSION = "1.37"
  DEFS = @DEFS@
  CC = @CC@
***************
*** 30,36 ****
  AUXOBJS = maildir.o version.o
  
  all:	$(AUXOBJS) lib/libfinger.a
! 	(cd $(SRC); $(MAKE) $(MFLAGS) CC="$(CC)" all)
  
  dummy:
  
--- 30,36 ----
  AUXOBJS = maildir.o version.o
  
  all:	$(AUXOBJS) lib/libfinger.a
! 	(cd src; $(MAKE) $(MFLAGS) CC="$(CC)" all)
  
  dummy:
  
***************
*** 40,46 ****
  # Subsequent lines contain targets that are correctly handled by inferior makefiles.
  
  $(EXECUTABLES): lib/libfinger.a
! 	(cd $(SRC); $(MAKE) $(MFLAGS) CC="$(CC)" all)
  
  install:
  	@echo
--- 40,46 ----
  # Subsequent lines contain targets that are correctly handled by inferior makefiles.
  
  $(EXECUTABLES): lib/libfinger.a
! 	(cd src; $(MAKE) $(MFLAGS) CC="$(CC)" all)
  
  install:
  	@echo
***************
*** 51,61 ****
  	false
  	
  server: $(AUXOBJS) $(EXECUTABLES)
! 	(cd $(SRC); $(MAKE) $(MFLAGS) $(CC)="$(CC)" server)
! 	(cd targets; $(MAKE) $(MFLAGS) $(CC)="$(CC)" server)
  
  client:	$(AUXOBJS) $(EXECUTABLES)
! 	(cd $(SRC); $(MAKE) $(MFLAGS) CC="$(CC)" client)
  	(cd targets; $(MAKE) $(MFLAGS) CC="$(CC)" client)
  
  realclean:	clean
--- 51,61 ----
  	false
  	
  server: $(AUXOBJS) $(EXECUTABLES)
! 	(cd src; $(MAKE) $(MFLAGS) CC="$(CC)" server)
! 	(cd targets; $(MAKE) $(MFLAGS) CC="$(CC)" server)
  
  client:	$(AUXOBJS) $(EXECUTABLES)
! 	(cd src; $(MAKE) $(MFLAGS) CC="$(CC)" client)
  	(cd targets; $(MAKE) $(MFLAGS) CC="$(CC)" client)
  
  realclean:	clean
***************
*** 64,70 ****
  
  clean:
  	rm -f version.o maildir.o 
! 	(cd $(SRC); $(MAKE) clean)
  	(cd lib; $(MAKE) clean)
  	(cd doc; $(MAKE) clean)
  	(cd targets; $(MAKE) clean)
--- 64,70 ----
  
  clean:
  	rm -f version.o maildir.o 
! 	(cd src; $(MAKE) clean)
  	(cd lib; $(MAKE) clean)
  	(cd doc; $(MAKE) clean)
  	(cd targets; $(MAKE) clean)
diff -rc finger-1.37.orig//lib/Makefile.in finger-1.37/lib/Makefile.in
*** finger-1.37.orig//lib/Makefile.in	Thu Oct 22 14:22:12 1992
--- finger-1.37/lib/Makefile.in	Wed Oct 28 18:43:43 1992
***************
*** 26,32 ****
  	$(CC) -c $(CFLAGS) $(INCFLAGS) $(DEFS) $<
  
  x_shface.o:
! 	$(CC) -c $(CFLAGS) $(INCFLAGS) -I/usr/X11R5/include $(DEFS) $*.c
  
  OTHER_FILES = showxbm showmug any-to-any dither showface
  
--- 26,33 ----
  	$(CC) -c $(CFLAGS) $(INCFLAGS) $(DEFS) $<
  
  x_shface.o:
! 	$(CC) -c $(CFLAGS) $(INCFLAGS) -I/usr/X11R5/include $(DEFS) \
! 	$(srcdir)/$*.c
  
  OTHER_FILES = showxbm showmug any-to-any dither showface
  
diff -rc finger-1.37.orig//lib/site/Makefile.in finger-1.37/lib/site/Makefile.in
*** finger-1.37.orig//lib/site/Makefile.in	Wed Oct 21 19:00:38 1992
--- finger-1.37/lib/site/Makefile.in	Wed Oct 28 18:45:20 1992
***************
*** 31,37 ****
  all: site.o $(ExtraProgs)
  
  .c.o:
! 	$(CC) -c $(CFLAGS) $(INCFLAGS) $(DEFS) $*.c
  
  site.o: $(OBJECTS)
  	ld -o site.o -r $(OBJECTS)
--- 31,37 ----
  all: site.o $(ExtraProgs)
  
  .c.o:
! 	$(CC) -c $(CFLAGS) $(INCFLAGS) $(DEFS) $(srcdir)/$*.c
  
  site.o: $(OBJECTS)
  	ld -o site.o -r $(OBJECTS)
diff -rc finger-1.37.orig//src/Makefile.in finger-1.37/src/Makefile.in
*** finger-1.37.orig//src/Makefile.in	Wed Oct 21 19:00:16 1992
--- finger-1.37/src/Makefile.in	Wed Oct 28 18:49:58 1992
***************
*** 4,11 ****
  
  SHELL = /bin/sh
  
! BINDIR = /usr/local/bin
! ETCDIR = /usr/local/etc
  INCFLAGS = -I$(srcdir)/.. -I$(srcdir)/../include
  INCLUDES = $(srcdir)/../include
  SUPPORT = $(srcdir)/../support
--- 4,13 ----
  
  SHELL = /bin/sh
  
! prefix = /usr/local
! 
! BINDIR = $(prefix)/bin
! ETCDIR = $(prefix)/etc
  INCFLAGS = -I$(srcdir)/.. -I$(srcdir)/../include
  INCLUDES = $(srcdir)/../include
  SUPPORT = $(srcdir)/../support
***************
*** 35,41 ****
  
  CCFLAGS = $(CFLAGS) $(INCFLAGS) $(LASTLOG_DEFINE) $(DEFS)
  
! AUXOBJS = $(srcdir)/../version.o $(srcdir)/../maildir.o
  NXLIBR =  $(FINGERLIB)/libfinger.a $(AUXOBJS) $(LIBOBJS) $(LIBS)
  LIBR = $(NXLIBR) $(WINDOWLIB)
  
--- 37,43 ----
  
  CCFLAGS = $(CFLAGS) $(INCFLAGS) $(LASTLOG_DEFINE) $(DEFS)
  
! AUXOBJS = ../version.o ../maildir.o
  NXLIBR =  $(FINGERLIB)/libfinger.a $(AUXOBJS) $(LIBOBJS) $(LIBS)
  LIBR = $(NXLIBR) $(WINDOWLIB)
  
--
DEC Fortran brings VAX FORTRAN quality to RISC | John W. Eaton 
ULTRIX and DEC OSF/1.   -- DEC catalog (1992). | jwe@che.utexas.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads