Q:
Thank you for offering VAT free to scientific community. A few users of our cluster requested this software to be installed on our 6000 node cluster.
But I ran into problem while trying to compile it. Hopefully you can provide some help.Thank you in advance.
I have followed your instruction on
http://vat.gersteinlab.org/documentation.php
But when I try to make vat, I got following errors. I have attached the
config.log file.:
/data/rl/vat-2.0.0> env | eg FLAGS
LDFLAGS=-L/usr/local/gsl-1.14/lib -L/usr/local/gd-2.0.35/lib
-L/usr/local/libs3-2.0/lib -L/usr/local/bios/lib
CPPFLAGS=-I/usr/local/gsl-1.14/include -I/usr/local/gd-2.0.35/include
-I/usr/local/libs3-2.0/include -I/usr/local/bios/include
/data/rl/vat-2.0.0> make
make all-recursive
make[1]: Entering directory `/gs1/users/rl/vat-2.0.0′
Making all in lib
make[2]: Entering directory `/gs1/users/rl/vat-2.0.0/lib’
GEN alloca.h
GEN configmake.h
GEN langinfo.h
GEN stdlib.h
GEN unistd.h
GEN wchar.h
GEN wctype.h
make all-recursive
make[3]: Entering directory `/gs1/users/rl/vat-2.0.0/lib’
make[4]: Entering directory `/gs1/users/rl/vat-2.0.0/lib’
CC localcharset.o
AR libgnu.a
make[4]: Leaving directory `/gs1/users/rl/vat-2.0.0/lib’
make[3]: Leaving directory `/gs1/users/rl/vat-2.0.0/lib’
make[2]: Leaving directory `/gs1/users/rl/vat-2.0.0/lib’
Making all in src
make[2]: Entering directory `/gs1/users/rl/vat-2.0.0/src’
CC vcf.o
CC util.o
CC shutil.o
CC cfio.o
CC md5.o
CC growbuffer.o
CC s3.o
AR libvat.a
CC gencode2interval.o
CCLD gencode2interval
CC interval2sequences.o
CCLD interval2sequences
CC snpMapper.o
CCLD snpMapper
CC indelMapper.o
CCLD indelMapper
CC svMapper.o
CCLD svMapper
CC genericMapper.o
CCLD genericMapper
CC vcf2images.o
CCLD vcf2images
vcf2images.o: In function `generateLegend’:
/data/rl/vat-2.0.0/src/vcf2images.c:516: undefined reference to `gdImagePng’
vcf2images.o: In function `main’:
/data/rl/vat-2.0.0/src/vcf2images.c:564: undefined reference to `gdImagePng’
collect2: ld returned 1 exit status
make[2]: *** [vcf2images] Error 1
make[2]: Leaving directory `/gs1/users/rl/vat-2.0.0/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gs1/users/rl/vat-2.0.0′
make: *** [all] Error 2
/data/rl/vat-2.0.0> echo $?
A:
Thank you for your interest in VAT. It appears that the compiler is unable to find the reference for gdImagePng, which is part of the GD library.
It is important to install and configure the GD library before installing VAT.