[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Webalizer Compiling Problems
- Subject: Re: [cobalt-users] Webalizer Compiling Problems
- From: Bobby Hancock <bobby@xxxxxxxxxxxxxx>
- Date: Thu Jan 10 11:50:19 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Ok, I have figured it out. Since nobody seems to know the answer to this,
this is how I solved it
Login
su -
cd /usr/local/src
wget 4 files
-------------
gd-1.8.4 - wget http://www.boutell.com/gd/http/gd-1.8.4.tar.gz
jpeg.v6b - wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
zlib - wget ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.tar.gz
libpng - wget
ftp://swrinde.nde.swri.edu/pub/png/src/libpng-1.2.1.tar.gz
-------------
Then.... In this order.
tar -zxpvf zlib.tar.gz
cd ./zli*
./configure
make test
*** zlib test OK ***
make install
cd ..
tar -zxpvf jpegsrc.v6b.tar.gz
cd ./jp*
./configure
make
make install
cd ..
tar -zxpvf gd-1.8.4.tar.gz
cd ./gd*
make
make install
cd ..
tar -zxpvf libpng-1.2.1.tar.gz
cd ./lib*
cp scripts/makefile.std makefile
make test
make install
cd ..
------------------------------
Then start the Webalizer install.
tar -zxpvf webalizer-2.01-09-src.tgz
cd ./web*
./configure --with-gdlib=/usr/local/lib
./configure --with-gd=/usr/local/include
make
make install
That worked perfectly for me on a RAQ4i
Here is a good reference page.
http://list.cobalt.com/pipermail/cobalt-developers/2000-November/024952.html
Bobby Hancock wrote:
> I am installing Webalizer on a Raq4i. I installed and compiled pnglib,
> GD graphics library, zlib and jpeg-6 with no problems. I can run
> ./configure and get my makefile for webalizer, but when I try to compile
> it, I get these errors.
>
> [root webalizer-2.01-09]# make
> gcc -L/usr/lib -o webalizer webalizer.o hashtab.o linklist.o preserve.o
> parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
> graphs.o: In function `year_graph6x':
> graphs.o(.text+0xd36): undefined reference to `gdImagePng'
> graphs.o: In function `month_graph6':
> graphs.o(.text+0x1ac9): undefined reference to `gdImagePng'
> graphs.o: In function `day_graph3':
> graphs.o(.text+0x2119): undefined reference to `gdImagePng'
> graphs.o: In function `pie_chart':
> graphs.o(.text+0x26f7): undefined reference to `gdImagePng'
> collect2: ld returned 1 exit status
> make: *** [webalizer] Error 1
>
> I have searched and found other Raq users with this problem, even in the
> archives of this group, but it seems they get it fixed before a solution
> was posted. Any ideas?
>
> --
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
--
%>%>%>%>%>%>%>%>%>%>%>%>%>%
Bobby Hancock
Technical Administrator
CGI/PERL Development
NAVCOM, Inc
%>%>%>%>%>%>%>%>%>%>%>%>%>%
bobby@xxxxxxxxxxxxxx
http://www.navi-gator.com
%>%>%>%>%>%>%>%>%>%>%>%>%>%