Re: [gopher] Gopherus - a console-mode gopher client
Hi Denis,
That's really odd, because it's compiling just fine for me (I'm running
Linux x86_64, too). I'm using the standard GNU make and gcc.
I double checked right now, by downloading the source from my website,
and there seem to be nothing wrong with it.
Could you please send me the output of your "make -f Makefile.lin"
command? (preferably to my direct mail, to not pollute the mailing list
too much) :)
I'm attaching the text log of my test (maybe it will help you find the
problem on your side).
cheers,
Mateusz
On 03/16/2013 01:51 PM, Denis BERNARD wrote:
I tried to compile the source for Linux amd64. Make utility doesn't work against
Makefile.lin. I tried to compile it manually and I found the file "dnscache.c"
was missing.
Regards,
-- Denis
mateusz@mateusz:~> mkdir temp_dir
mateusz@mateusz:~> cd temp_dir
mateusz@mateusz:~/temp_dir> wget http://www.viste-family.net/mateusz/software/gopherus/gopherus10.tgz
--2013-03-16 14:12:37-- http://www.viste-family.net/mateusz/software/gopherus/gopherus10.tgz
Resolving www.viste-family.net (www.viste-family.net)... 192.168.191.241
Connecting to www.viste-family.net (www.viste-family.net)|192.168.191.241|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 233542 (228K) [application/x-gzip]
Saving to: `gopherus10.tgz'
100%[===================================================================>] 233,542 --.-K/s in 0.03s
2013-03-16 14:12:37 (7.35 MB/s) - `gopherus10.tgz' saved [233542/233542]
mateusz@mateusz:~/temp_dir> tar xzf gopherus10.tgz
mateusz@mateusz:~/temp_dir> cd gopherus10
mateusz@mateusz:~/temp_dir/gopherus10> make -f Makefile.lin
gcc -c gopherus.c -o gopherus.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c dnscache.c -o dnscache.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c history.c -o history.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c int2str.c -o int2str.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c net-lin.c -o net.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c parseurl.c -o parseurl.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c startpg.c -o startpg.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c ui-sdl.c -o ui.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc -c wordwrap.c -o wordwrap.o -std=gnu89 -O3 -Wall -Wextra -pedantic -g
gcc gopherus.o dnscache.o history.o int2str.o net.o parseurl.o startpg.o ui.o wordwrap.o -o gopherus -lSDL -std=gnu89 -O3 -Wall -Wextra -pedantic -g
upx --best --lzma --all-filters gopherus
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2011
UPX 3.08 Markus Oberhumer, Laszlo Molnar & John Reiser Dec 12th 2011
File size Ratio Format Name
-------------------- ------ ----------- -----------
135380 -> 47076 34.77% linux/ElfAMD gopherus
Packed 1 file.
mateusz@mateusz:~/temp_dir/gopherus10> ll gopherus
-rwxr-xr-x 1 mateusz users 47076 Mar 16 14:13 gopherus
mateusz@mateusz:~/temp_dir/gopherus10>
_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project
Reply to: