installing Gnump3d

installing Gnump3d

Posted by: koobi
Posted on: 2006-09-12 07:20:00

i'm trying to install gnump3d but i need admin previlages i believe.
so to get about that, i have this in my .bashrc:

PATH=$HOME/packages/bin:$PATH




i downloaded, extracted and edited the top portion of the Makefile to this:

PREFIX      = $(HOME)/packages/usr
CONFDIR = $(HOME)/packages/etc/gnump3d
CACHEDIR = $(HOME)/packages/var/cache/gnump3d
SERVEDIR = $(HOME)/packages/var/cache/gnump3d/serving
LOGDIR = $(HOME)/packages/var/log/gnump3d
LIBDIR = `perl bin/getlibdir`

i added the '$(HOME)/packages' part to all of them.
subdirectories like var and etc don't exist in my packages folder but i'm pretty sure the installers would create them, right?






i ran a 'make test' but i got the following errors:

[lemonhead]$ make test
prove --shuffle tests/
tests/gnump3d-request......ok 4/0# Failed test (tests/gnump3d-request.t at line 49)
# got: '/?foo=bar'
# expected: '/'
tests/gnump3d-request......ok 10/0# Looks like you failed 1 tests of 10.
tests/gnump3d-request......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/10 tests, 90.00% okay
tests/gnump3d-files........ok 1/0# Failed test (tests/gnump3d-files.t at line 19)
# Tried to require 'gnump3d::filetypess'.
# Error: Can't locate gnump3d/filetypess.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . lib) at (eval 2) line 2.
tests/gnump3d-files........ok 3/0Use of uninitialized value in concatenation (.) or string at lib/gnump3d/config.pm line 140.
Use of uninitialized value in concatenation (.) or string at lib/gnump3d/config.pm line 140.
Can't read configuration in : No such file or directory
tests/gnump3d-files........ok 4/0# Looks like you failed 1 tests of 4.
# Looks like your test died just after 4.
tests/gnump3d-files........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/4 tests, 75.00% okay
tests/pod..................skipped
all skipped: Test::Pod 1.00 required for testing POD
tests/modules..............ok 1/0# Failed test (tests/modules.t at line 14)
# Tried to use 'ConfigFile'.
# Error: Can't locate ConfigFile.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . lib/) at (eval 2) line 2.
tests/modules..............ok 41/0# Failed test (tests/modules.t at line 15)
tests/modules..............NOK 42# Tried to require 'ConfigFile'.
# Error: Can't locate ConfigFile.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . lib/) at (eval 61) line 2.
tests/modules..............ok 80/0# Looks like you failed 2 tests of 80.
tests/modules..............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2, 42
Failed 2/80 tests, 97.50% okay
tests/gnump3d-config.......ok
tests/gnump3d-md5..........ok
tests/template-handling....ok
tests/executable...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed

Tags: perl 5share perlusrliblocalbashrccachepath