[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't build from source



Hi Lawrence, 

On Fri, 2006-06-23 at 15:49 +0800, Lawrence Li wrote:
> When trying to compile from source, I follow these steps:
> 
> # tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)
> # cd package
> # ./configure
> # make
> # make install
> 
> But somehow I always ended up stuck at "./configure" or "make". The
> error msg for the former is usually "No such file or directory", while
> for "make", it's usually this:
> 
> make: *** No targets specified and no makefile found.  Stop.

Most packets come with a INSTALL and/or README file. One of these files
usually describes how to compile and install the program/library.

> Another program (namely Privoxy) prompted with the following msg when
> I entered "make":
> 
> To build this program, you must run
> *** autoheader && autoconf && ./configure and then run GNU make.
> *** Shall I do this for you now? (y/n) y
> 
> So I chose "y", only to get a new error msg:
> 
> /bin/sh: line 1: autoheader: command not found

Autoheader comes with package autoconf. You should install this packet.

-- Lothar



Reply to: