erro ao instalar o sarg 2.2.5

1. erro ao instalar o sarg 2.2.5

Derci Santos Lima
dercilima

(usa Debian)

Enviado em 21/08/2009 - 15:38h

ola galera..

eu aki di novo neh.. rsrs
eh o seguinte..
eu to instalando o sarg para gerar relatorios de acessos do squid para o webmim..
soh q da dando o seguinte erro:

grepday.o: In function `I18NgdImageStringFT':
/usr/firewall/sarg-2.2.1/grepday.c:66: undefined reference to `gdImageStringFTEx'
grepday.o: In function `bar':
/usr/firewall/sarg-2.2.1/grepday.c:183: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:184: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:185: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:186: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:187: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:199: undefined reference to `gdImageFilledRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:209: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:211: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:212: undefined reference to `gdImageFilledRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:213: undefined reference to `gdImageRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:227: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:178: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:179: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:180: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:168: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:169: undefined reference to `gdImageColorAllocate'
grepday.o:/usr/firewall/sarg-2.2.1/grepday.c:170: more undefined references to `gdImageColorAllocate' follow
grepday.o: In function `greport_day':
/usr/firewall/sarg-2.2.1/grepday.c:257: undefined reference to `gdImageCreate'
/usr/firewall/sarg-2.2.1/grepday.c:259: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:260: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:261: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:262: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:263: undefined reference to `gdImageColorAllocate'
grepday.o:/usr/firewall/sarg-2.2.1/grepday.c:264: more undefined references to `gdImageColorAllocate' follow
grepday.o: In function `greport_day':
/usr/firewall/sarg-2.2.1/grepday.c:268: undefined reference to `gdImageRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:269: undefined reference to `gdImageFilledRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:279: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:289: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:291: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:292: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:293: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:294: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:295: undefined reference to `gdImageLine'
grepday.o:/usr/firewall/sarg-2.2.1/grepday.c:296: more undefined references to `gdImageLine' follow
grepday.o: In function `greport_day':
/usr/firewall/sarg-2.2.1/grepday.c:451: undefined reference to `gdImagePng'
/usr/firewall/sarg-2.2.1/grepday.c:453: undefined reference to `gdImageDestroy'
collect2: ld returned 1 exit status
make: *** [sarg] Error 1



ja tentei com duas versoes de sarg .. e ambas deram o msmo erro ..
isso acontece quando eu digito make...
quando eu digito make install aparece assim:

root@firewall:/usr/firewall/sarg-2.2.1# make install
gcc -g util.o log.o report.o topuser.o email.o sort.o html.o totger.o index.o getconf.o usage.o decomp.o ip2name.o useragent.o exclude.o convlog.o totday.o repday.o datafile.o indexonly.o splitlog.o lastlog.o topsites.o siteuser.o css.o smartfilter.o denied.o authfail.o language.o charset.o squidguard_log.o squidguard_report.o auth.o download.o grepday.o dansguardian_log.o dansguardian_report.o realtime.o -o sarg
grepday.o: In function `I18NgdImageStringFT':
/usr/firewall/sarg-2.2.1/grepday.c:66: undefined reference to `gdImageStringFTEx'
grepday.o: In function `bar':
/usr/firewall/sarg-2.2.1/grepday.c:183: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:184: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:185: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:186: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:187: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:199: undefined reference to `gdImageFilledRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:209: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:211: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:212: undefined reference to `gdImageFilledRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:213: undefined reference to `gdImageRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:227: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:178: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:179: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:180: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:168: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:169: undefined reference to `gdImageColorAllocate'
grepday.o:/usr/firewall/sarg-2.2.1/grepday.c:170: more undefined references to `gdImageColorAllocate' follow
grepday.o: In function `greport_day':
/usr/firewall/sarg-2.2.1/grepday.c:257: undefined reference to `gdImageCreate'
/usr/firewall/sarg-2.2.1/grepday.c:259: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:260: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:261: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:262: undefined reference to `gdImageColorAllocate'
/usr/firewall/sarg-2.2.1/grepday.c:263: undefined reference to `gdImageColorAllocate'
grepday.o:/usr/firewall/sarg-2.2.1/grepday.c:264: more undefined references to `gdImageColorAllocate' follow
grepday.o: In function `greport_day':
/usr/firewall/sarg-2.2.1/grepday.c:268: undefined reference to `gdImageRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:269: undefined reference to `gdImageFilledRectangle'
/usr/firewall/sarg-2.2.1/grepday.c:279: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:289: undefined reference to `gdImageFilledPolygon'
/usr/firewall/sarg-2.2.1/grepday.c:291: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:292: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:293: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:294: undefined reference to `gdImageLine'
/usr/firewall/sarg-2.2.1/grepday.c:295: undefined reference to `gdImageLine'
grepday.o:/usr/firewall/sarg-2.2.1/grepday.c:296: more undefined references to `gdImageLine' follow
grepday.o: In function `greport_day':
/usr/firewall/sarg-2.2.1/grepday.c:451: undefined reference to `gdImagePng'
/usr/firewall/sarg-2.2.1/grepday.c:453: undefined reference to `gdImageDestroy'
collect2: ld returned 1 exit status
make: *** [sarg] Error 1
..
gostaria de saber ..
q q eu estou fazendo de errado .. ??
pq eu segui alguns tutoriais .. mas nao deu certo .. .

grande abraçoo a todos..


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts