PDA

View Full Version : Webalizer problem


ahk
05-25-2006, 02:55 PM
I couldn't make webalizer from customapache:

cd /usr/local/directadmin/customadmin
./build clean
./build update
./build all

...

File already exists: webalizer-2.01-10-src.tgz
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for db_185.h... no
checking for errno.h... yes
checking for socket... no
checking for main in -lsocket... no
checking for sys/socket.h... yes
checking for main in -lnsl... no
checking for main in -l44bsd... no
checking for main in -lm... no
checking for main in -lz... no
configure: error: z library not found... please install zlib.
Trying to make webalizer...
make: no target to make.

---

./build zlib
File already exists: zlib-1.2.3.tar.gz
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.3 with gcc.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
Trying to make libz...
gcc -fPIC -O3 -DUSE_MMAP -c example.c
gcc -fPIC -O3 -DUSE_MMAP -c adler32.c
gcc -fPIC -O3 -DUSE_MMAP -c compress.c
gcc -fPIC -O3 -DUSE_MMAP -c crc32.c
gcc -fPIC -O3 -DUSE_MMAP -c gzio.c
gcc -fPIC -O3 -DUSE_MMAP -c uncompr.c
gcc -fPIC -O3 -DUSE_MMAP -c deflate.c
gcc -fPIC -O3 -DUSE_MMAP -c trees.c
gcc -fPIC -O3 -DUSE_MMAP -c zutil.c
gcc -fPIC -O3 -DUSE_MMAP -c inflate.c
gcc -fPIC -O3 -DUSE_MMAP -c infback.c
gcc -fPIC -O3 -DUSE_MMAP -c inftrees.c
gcc -fPIC -O3 -DUSE_MMAP -c inffast.c
gcc -shared -o libz.so.1.2.3 adler32.o compress.o crc32.o gzio.o uncompr.o defla
te.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
rm -f libz.so libz.so.1
ln -s libz.so.1.2.3 libz.so
ln -s libz.so.1.2.3 libz.so.1
gcc -fPIC -O3 -DUSE_MMAP -o example example.o -L. libz.so.1.2.3
gcc -fPIC -O3 -DUSE_MMAP -c minigzip.c
gcc -fPIC -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.so.1.2.3
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.so.1.2.3 /usr/local/lib
cd /usr/local/lib; chmod 755 libz.so.1.2.3
cd /usr/local/lib; if test -f libz.so.1.2.3; then rm -f libz.so libz.so.1; ln
-s libz.so.1.2.3 libz.so; ln -s libz.so.1.2.3 libz.so.1; (ldconfig || true) >
/dev/null 2>&1; fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3


My system: FreeBSD 6.1-RELEASE

---

Kind Regards, Alex

HH-Steve
06-12-2006, 01:08 AM
I'm having exactly the same problem as ahk with webalizer and zlib.

Is anyone else having this problem on FreeBSD 6.1? I didn't even notice it until I had a look at /var/log/directadmin/errortaskq.log where it said:

Unable to run webalizer for domain.com: /usr/local/bin/webalizer: not found

Steve

SeLLeRoNe
06-13-2006, 12:11 PM
i've made

./build clean
./build update
./build all y

when i put my eeye on the screen (after maybe 3 mins) i got this

Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.
Trying to make webalizer...
make: no target to make.

i think is the same problem...

HH-Steve
06-14-2006, 02:59 AM
It probably is the same problem, I went out for a smoke during the install so I must have missed that.

Steve

pera
06-14-2006, 04:27 PM
Me to webalizer not working?
can I install from port?

mdr
06-27-2006, 05:20 AM
Did anyone find a solution yet concerning this webalizer problem?

mdr
06-27-2006, 08:05 AM
ok, this seemed to work for me:

wget -O /usr/local/bin/webalizer http://files.directadmin.com/service...d6.0/webalizer

chmod 755 /usr/local/bin/webalizer

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

pucky
09-15-2006, 10:15 PM
What is the resolution?

http://www.directadmin.com/forum/showthread.php?s=&postid=82796#post82796

patrik
09-17-2006, 11:16 AM
Originally posted by mdr
ok, this seemed to work for me:

wget -O /usr/local/bin/webalizer http://files.directadmin.com/service...d6.0/webalizer

chmod 755 /usr/local/bin/webalizer

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue Could you please update the link?

patrik
09-17-2006, 11:18 AM
I found it myself by looking in the setup.sh file.
http://files.directadmin.com/services/freebsd6.0/

pucky
09-28-2006, 01:31 AM
** BUMP **

Chrysalis
10-12-2006, 04:12 PM
interesting its happened here also, has anyone notified john yet?