Projects / cksfv / Comments

Comments for cksfv

23 Oct 2005 11:11 shaihulud

Re: error on make (gmake) on OS X


> after i did ./configure i edited the

> Makefile to remove /local

> from teh dirs (/usr/bin &

> /usr/share/man) for the proper os

> x directories.

Why? Use ./configure --prefix=/usr

> but when I tried:

>

> $ sudo make install

> make: `install' is up to date.

That's odd. The 'install' rule in Makefile has no dependencies so it should be executed every time.

> $ cd src/

> $ make clean

>

> something odd, when i went to test/ and

> did:

>

> $ ./test.sh

> test case 1 unsuccessful. should report

> correct checksum.

The correct procedure is:

1. make

2. make check

I suspect the binary (src/cksfv) did not exist when you ran the test.sh script, and the script failed because it uses the binary from that path.

23 Oct 2005 11:01 1NUY4SH4

Re: error on make (gmake) on OS X


> thanx! 1.3.6 works great now, after some quirks during

the installation.

>

> after i did ./configure i edited the Makefile to remove /

local from teh dirs (/usr/bin & /usr/share/man) for the

proper os x directories. but when I tried:

>

> $ sudo make install

> make: `install' is up to date.

>

> -not sure what that meant exactly, except that it didn't

install properly, i looked in the Makefile and did:

>

> $ sudo install src/cksfv /usr/bin

> $ sudo install cksfv.1

> /usr/share/man/man1/

>

> not sure if the rest was necessarry, i also (from the

Makefile looked like I was supposed to):

>

> $ cd src/

> $ make clean

>

> something odd, when i went to test/ and did:

>

> $ ./test.sh

> test case 1 unsuccessful. should report correct checksum.

>

> - however, when i $ cksfv -f c1.sfv a (test 1) and 2/b 3/c

they all were fine, so don't know why this errored on test

case 1 in the test.sh script

for some reason, it didn't put my last post on seperate lines

23 Oct 2005 10:58 1NUY4SH4

Re: error on make (gmake) on OS X
thanx! 1.3.6 works great now, after some quirks during the
installation.

after i did ./configure i edited the Makefile to remove /local
from teh dirs (/usr/bin & /usr/share/man) for the proper os
x directories. but when I tried:

$ sudo make install
make: `install' is up to date.

-not sure what that meant exactly, except that it didn't install
properly, i looked in the Makefile and did:

$ sudo install src/cksfv /usr/bin
$ sudo install cksfv.1 /usr/share/man/man1/

not sure if the rest was necessarry, i also (from the Makefile
looked like I was supposed to):

$ cd src/
$ make clean

something odd, when i went to test/ and did:

$ ./test.sh
test case 1 unsuccessful. should report correct checksum.

- however, when i $ cksfv -f c1.sfv a (test 1) and 2/b 3/c
they all were fine, so don't know why this errored on test
case 1 in the test.sh script

20 Oct 2005 02:29 shaihulud

Re: error on make (gmake) on OS X


> gcc -DVERSION=\"1.3\" -Wall

> -Werror -O2 -g -o cksfv cksfv.c

> print.c crc32.c readsfv.c newsfv.c

> ...

> gmake[1]: *** [cksfv] Error 1

> gmake: *** [all] Error 2

Try compiling the latest version (1.3.6) or the cvs version.

19 Oct 2005 08:42 1NUY4SH4

Re: error on make (gmake) on OS X
i wantd to add, i run this on my linux server and it rox, which is
why i wanted to run it on my home computers in os x. Figured
if it runs in BSD, should be a way to get it running in OS X, just
not sure exactly what I should do (or if it's even possible at this
point).

19 Oct 2005 08:39 1NUY4SH4

error on make (gmake) on OS X
$ gmake

cd src && gmake VERSION="1.3"

gcc -DVERSION=\"1.3\" -Wall -Werror -O2 -g -o cksfv cksfv.c

print.c crc32.c readsfv.c newsfv.c

cc1: warnings being treated as errors

print.c: In function 'pnsfv_head':

print.c:33: warning: pointer targets in passing argument 1 of

'localtime' differ in signedness

gmake[1]: *** [cksfv] Error 1

gmake: *** [all] Error 2

21 Jul 2005 19:44 shaihulud

Re: cygwin compatible


> The only needed dependency will be

> cygwin1.dll so the Windows binary

> version could even be distributed too.

If you will put that binary on your web page, I can link there from the official site.

24 Mar 2005 14:25 lordbbk

cygwin compatible
Great work, thanx!

I tried to compile on Windows using gcc, mingw and GNU make from Cygwin (standard install, no other settings required) and I can tell that it works like a snap :-)

The only needed dependency will be cygwin1.dll so the Windows binary version could even be distributed too.

Keep up the good work,

sincerely,

BBK

24 Jan 2005 08:31 shaihulud

Re: No Man Page?


> The documentation would add to the

> software.

Will start doing that. Taking a man page from Debian.

24 Jan 2005 08:28 shaihulud

Re: Making cksfv run on AMD64


> cksfv can be compiled on AMD64 without

> errors but the computed checksum is

> wrong. After i included stdint.h from

> glibc and replaced int by int32_t in the

> source everything seems to work fine.

> Maybe this can be applied in an upcoming

> version?

I fixed that problem in last April for Gentoo and Debian. Today I started to maintain this program. If Bryan Call doesn't contact me, I'll keep on maintaining it. The newest version fixes that problem.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.