Also plodding, gopher help needed.
Don Gilbert
gilbertd at sunflower.bio.indiana.edu
Thu Feb 20 11:43:57 EST 1992
> I'VE BEEN TRYING TO GET THE GOPHER CLIENT TO RUN ON A SUN SPARC-2. SO
...
>ld: -lBSD: No such file or directory
To make the Gopher Unix Curses client for a Sun, edit the Makefile
and set it to look like this:
#MACHDEFS = -DIS_A_IRIS
MACHDEFS = -DIS_A_SUN
OBJS = manager.o gopher.o util.o error.o globals.o ourutils.o cso.o \
subprocs.o
CC = cc
CCFLAGS = -g -DGOPHERHELP=\"$(HELPFILE)\" \
-DDEFAULT_HOST=\"$(DEFAULT_HOST)\" -DGOPHER_PORT=$(DEFAULT_PORT)
LDFLAGS =
#
# HP needs -lBSD Ultrix uses -lcursesX instead of -lcurses
# UMAX needs -lresolv
#
#LIBS = -lcurses -ltermcap -lBSD
LIBS = -lcurses -ltermcap
TARGET = gopher
- - - - - - - - - - - - - - - - - - - - - - - - - -
For those of you making the curses client on a Silicon Graphics
with Irix version 4.x, edit the file "conf.h" to look like this:
#ifdef IS_A_IRIS3
# define tolower
# define SYSVCURSES
# define USE_DIRENT
# define PRINTER_COMMAND "lp <"
#endif
/* New Irix v.4.0 */
#ifdef IS_A_IRIS4
# define USE_DIRENT
# define PRINTER_COMMAND "lp <"
#endif
And edit the "Makefile" to look like this:
#MACHDEFS = -DIS_A_IRIS3 # Irix 3.x
MACHDEFS = -DIS_A_IRIS4 # Irix 4.x
#MACHDEFS = -DIS_A_SUN
OBJS = manager.o gopher.o util.o error.o globals.o ourutils.o cso.o \
subprocs.o
CC = cc
##CCFLAGS = -g -DGOPHERHELP=\"$(HELPFILE)\" \
CCFLAGS = -g -cck -DGOPHERHELP=\"$(HELPFILE)\" \
-DDEFAULT_HOST=\"$(DEFAULT_HOST)\" -DGOPHER_PORT=$(DEFAULT_PORT)
LDFLAGS =
#
# HP needs -lBSD Ultrix uses -lcursesX instead of -lcurses
# UMAX needs -lresolv
#
#LIBS = -lcurses -ltermcap -lBSD
LIBS = -lcurses -ltermcap
TARGET = gopher
--
Don Gilbert gilbert at bio.indiana.edu
biocomputing office, biology dept., indiana univ., bloomington, in 47405
More information about the Bio-soft
mailing list
Send comments to us at biosci-help [At] net.bio.net