
acustodio
(usa Slackware)
[1] Enviado em 18/12/2008 - 17:42h:
GD 2.0.35 + Sarg 2.2.5
Simplesmente não instala o sarg.
Ele dá pau (ja vi MUITAS pessoas da net com esse mesmo problema) com essa msg:
/opt/sarg/sarg-2.2.5/grepday.c:289: undefined reference to `gdImageLine'
/opt/sarg/sarg-2.2.5/grepday.c:290: undefined reference to `gdImageLine'
/opt/sarg/sarg-2.2.5/grepday.c:291: undefined reference to `gdImageLine'
/opt/sarg/sarg-2.2.5/grepday.c:292: undefined reference to `gdImageLine'
/opt/sarg/sarg-2.2.5/grepday.c:293: undefined reference to `gdImageLine'
/opt/sarg/sarg-2.2.5/grepday.c:449: undefined reference to `gdImagePng'
/opt/sarg/sarg-2.2.5/grepday.c:451: undefined reference to `gdImageDestroy'
collect2: ld returned 1 exit status
make: *** [sarg] Error 1
Pedro Orso, o "Pai" do sarg diz nuns foruns que 'precisa instalar GD > 2.0... pois bem, coloquei a 2.0.35 sem erros no meu sistema, e continuo com problemas...
o que fazer???
não quero usar versão antiga do sarg nao, queria usar essa mais nova.
alguém já matou isso?
uso slack 12.1, ja instalei o php 5 (o nativo é o 3) na esperança de funcionar... mas não rolou.
to travado nisso.
Agradeço a ajuda antecipadamente...
Andre

mtarcinalli
(usa Slackware)
[2] Enviado em 23/06/2009 - 13:13h:
Aqui no Slack 12.2 tive o mesmo problema (também com o mrtg).
Para resolver instalei novamente as bibliotecas libpng e gd.
Removi as 2:
removepkg libpng
removepkg gd
Instalei a libpng (libpng-1.2.37)
./configure
make
make install
Instalei a gd (gd-2.0.35):
./configure --with-jpeg=/usr/include/ --no-recursion
make
make install
Depois disso pude instalar o sarg (sarg-2.2.5):
./configure --enable-htmldir=/home/intranet/sarg/ --prefix=/usr/local/sarg
make
make install