Logo Hardware.com.br
maielo
maielo Super Participante Registrado
524 Mensagens 3 Curtidas

sarg: Erro na instalação, alguem da um help ... :(

#1 Por maielo 16/01/2007 - 09:05
[EMAIL="root@gateway:/home/squid/sarg-2.2.3.1"]root@gateway:/home/squid/sarg-2.2.3.1[/EMAIL]# make
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(.text+0x8a): In function `I18NgdImageStringFT':
/home/squid/sarg-2.2.3.1/grepday.c:65: undefined reference to `gdImageStringFTEx'
grepday.o(.text+0x15d): In function `bar':
/home/squid/sarg-2.2.3.1/grepday.c:181: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x17c):/home/squid/sarg-2.2.3.1/grepday.c:182: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x195):/home/squid/sarg-2.2.3.1/grepday.c:183: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x1b4):/home/squid/sarg-2.2.3.1/grepday.c:184: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x1d3):/home/squid/sarg-2.2.3.1/grepday.c:185: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x262):/home/squid/sarg-2.2.3.1/grepday.c:197: undefined reference to `gdImageFilledRectangle'
grepday.o(.text+0x2ae):/home/squid/sarg-2.2.3.1/grepday.c:207: undefined reference to `gdImageFilledPolygon'
grepday.o(.text+0x2da):/home/squid/sarg-2.2.3.1/grepday.c:209: undefined reference to `gdImageLine'
grepday.o(.text+0x306):/home/squid/sarg-2.2.3.1/grepday.c:210: undefined reference to `gdImageFilledRectangle'
grepday.o(.text+0x32a):/home/squid/sarg-2.2.3.1/grepday.c:211: undefined reference to `gdImageRectangle'
grepday.o(.text+0x3d2):/home/squid/sarg-2.2.3.1/grepday.c:225: undefined reference to `gdImageFilledPolygon'
grepday.o(.text+0x416):/home/squid/sarg-2.2.3.1/grepday.c:176: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x42d):/home/squid/sarg-2.2.3.1/grepday.c:177: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x44a):/home/squid/sarg-2.2.3.1/grepday.c:178: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x468):/home/squid/sarg-2.2.3.1/grepday.c:171: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x47f):/home/squid/sarg-2.2.3.1/grepday.c:172: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x499):/home/squid/sarg-2.2.3.1/grepday.c:173: more undefined references to `gdImageColorAllocate' follow
grepday.o(.text+0x6ac): In function `greport_day':
/home/squid/sarg-2.2.3.1/grepday.c:255: undefined reference to `gdImageCreate'
grepday.o(.text+0x6c6):/home/squid/sarg-2.2.3.1/grepday.c:257: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x6e8):/home/squid/sarg-2.2.3.1/grepday.c:258: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x707):/home/squid/sarg-2.2.3.1/grepday.c:259: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x729):/home/squid/sarg-2.2.3.1/grepday.c:260: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x740):/home/squid/sarg-2.2.3.1/grepday.c:261: undefined reference to `gdImageColorAllocate'
grepday.o(.text+0x75d):/home/squid/sarg-2.2.3.1/grepday.c:262: more undefined references to `gdImageColorAllocate' follow
grepday.o(.text+0x7b7): In function `greport_day':
/home/squid/sarg-2.2.3.1/grepday.c:266: undefined reference to `gdImageRectangle'
grepday.o(.text+0x7d9):/home/squid/sarg-2.2.3.1/grepday.c:267: undefined reference to `gdImageFilledRectangle'
grepday.o(.text+0x845):/home/squid/sarg-2.2.3.1/grepday.c:277: undefined reference to `gdImageFilledPolygon'
grepday.o(.text+0x8af):/home/squid/sarg-2.2.3.1/grepday.c:287: undefined reference to `gdImageFilledPolygon'
grepday.o(.text+0x8d0):/home/squid/sarg-2.2.3.1/grepday.c:289: undefined reference to `gdImageLine'
grepday.o(.text+0x8f5):/home/squid/sarg-2.2.3.1/grepday.c:290: undefined reference to `gdImageLine'
grepday.o(.text+0x917):/home/squid/sarg-2.2.3.1/grepday.c:291: undefined reference to `gdImageLine'
grepday.o(.text+0x936):/home/squid/sarg-2.2.3.1/grepday.c:292: undefined reference to `gdImageLine'
grepday.o(.text+0x95d):/home/squid/sarg-2.2.3.1/grepday.c:293: undefined reference to `gdImageLine'
grepday.o(.text+0x987):/home/squid/sarg-2.2.3.1/grepday.c:294: more undefined references to `gdImageLine' follow
grepday.o(.text+0x17ac): In function `greport_day':
/home/squid/sarg-2.2.3.1/grepday.c:449: undefined reference to `gdImagePng'
grepday.o(.text+0x17c6):/home/squid/sarg-2.2.3.1/grepday.c:451: undefined reference to `gdImageDestroy'
collect2: ld returned 1 exit status
make: *** [sarg] Error 1


Alguem sabe o que esta rolando ?cool.png eek.png

Desde já, obrigado !smile.png
Sibilio
Sibilio Membro Junior Registrado
113 Mensagens 0 Curtidas
#3 Por Sibilio
17/01/2007 - 11:47
Vc seguiu a sequência:
./configure
make
make install
Tenta isso. Outra coisa tem que observar as dependências, será que não está faltando nada? Se estiver tem que instalar antes de compilar. Veja também se não falta um link simbólico pois as vezes os diretórios de destino mudam dependendo da distribuição.
Boa sorte!
Sempron 2.8 - 512 Mb - Debian 3.1r
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal