Failed to build dfui backend.

Chris Pressey cpressey at catseye.mine.nu
Sat Jan 15 10:26:15 PST 2005


On Sat, 15 Jan 2005 22:49:37 +0800
sam <samwun at xxxxxxxxxxxxxxxx> wrote:

> Hi,
> 
> I extracted the CVS source from bsdinstaller website. Most of the 
> components have built perfectly fine. These components include 
> libaura-2.0, dfuife-lua, and others, but building lua-5.0 failed. Then I 
>   tried to build it in the src/backend/ directory with the make command, 
> and it does failed with the following message:
> 
> # make
> ===> installer
> cc -O -pipe  -Wall -I/usr/local/include  -c fn_disk.c
> fn_disk.c: In function `fn_select_disk':
> fn_disk.c:90: warning: implicit declaration of function 
> `disk_get_device_name'
> [...]
> What should I do to fix the above problem?

Build and install the libraries (libaura, libdfui, libinstaller) first.

> When compile lua package in the lua/ directory, I got the following error:
> 
> # make
> [ -d so ] || mkdir so
> cc -O -pipe  -Wall -I/usr/local/include common.c  bitwise.c  dfui.c 
> progress.c  pipe.c fs.c  lua_gettext.c -static -L/usr/loc
> al/lib/ -ldfui -laura -lm -llua -llualib -shared -o so/dfuibe_lua.so
> common.c:64:17: lua.h: No such file or directory
> common.c:65:21: lauxlib.h: No such file or directory
> common.c:66:20: lualib.h: No such file or directory

Build and install Lua first.

-Chris





More information about the Submit mailing list