Re: Config error

Willy Sudiarto Raharjo <[email protected]> Sat, 18 Apr 2015 03:46:23 +0700
Newsgroups gmane.linux.slackware
Message-ID <CAJ+QsaJjATOnVf2_rLX5apnRvKp95pPtFKpBHR+AB2pmNbRB7g@mail.gmail.com>
> freesweep

Is this what you mean?
http://www.upl.cs.wisc.edu/~hartmann/sweep/

if yes, then so far it worked for me

tar xvf freesweep-0.90.tar.gz
freesweep-0.90/clear.c
freesweep-0.90/drawing.c
freesweep-0.90/error.c
freesweep-0.90/fgui.c
freesweep-0.90/files.c
freesweep-0.90/game.c
freesweep-0.90/gpl.c
freesweep-0.90/main.c
freesweep-0.90/pbests.c
freesweep-0.90/play.c
freesweep-0.90/sl.c
freesweep-0.90/stats.c
freesweep-0.90/tick.c
freesweep-0.90/utils.c
freesweep-0.90/image.c
freesweep-0.90/README
freesweep-0.90/Makefile
freesweep-0.90/sweeprc
freesweep-0.90/install-sh
freesweep-0.90/configure.in
freesweep-0.90/Makefile.in
freesweep-0.90/config.guess
freesweep-0.90/configure
freesweep-0.90/config.sub
freesweep-0.90/sweep.h.in
freesweep-0.90/freesweep.6.in
freesweep-0.90/CHANGES
freesweep-0.90/config.h.in
freesweep-0.90/sweep.h
freesweep-0.90/defaults.h
freesweep-0.90/acconfig.h
willysr@desktop:~$ cd freesweep-0.90
willysr@desktop:~/freesweep-0.90$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for tar... /usr/bin/tar
checking for gzip... /usr/bin/gzip
checking for rm... /usr/bin/rm
checking for initscr in -lncurses... yes
checking for ncurses include dir... /usr/include/ncurses
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for limits.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for sys/file.h... yes
checking for getopt.h... yes
checking for errno.h... yes
checking for sys/types.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking return type of signal handlers... void
checking for strdup... yes
checking for memset... yes
checking for memmove... yes
checking for fileno... yes
checking for lockf... yes
checking for flock... yes
checking for get_current_dir_name... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sweep.h
config.status: creating freesweep.6
config.status: creating config.h
willysr@desktop:~/freesweep-0.90$ make
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c clear.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c drawing.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c error.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c fgui.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c files.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c game.c
game.c: In function ‘ReReadyGame’:
game.c:481:51: warning: variable ‘HViewable’ set but not used
[-Wunused-but-set-variable]
  int MinesToSet=0, RandX=0, RandY=0, VViewable=0, HViewable=0;
                                                   ^
game.c:481:38: warning: variable ‘VViewable’ set but not used
[-Wunused-but-set-variable]
  int MinesToSet=0, RandX=0, RandY=0, VViewable=0, HViewable=0;
                                      ^
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c gpl.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c main.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c pbests.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c play.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c sl.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c stats.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c tick.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c utils.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 -c image.c
gcc -Wall -DVERSION=\"0.90\" -g -O2 clear.o drawing.o error.o fgui.o
files.o game.o gpl.o main.o pbests.o play.o sl.o stats.o tick.o
utils.o image.o  -lm -lncurses  -o freesweep

i didn't continue to make install, but it should work



-- 
Willy Sudiarto Raharjo
Personal Blog : http://willysr.blogspot.com
Linux Blog: http://slackblogs.blogspot.com

_______________________________________________
slackware mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/slackware