- 论坛徽章:
- 0
|
我用交叉编译appweb,
DIR=/opt/codesourcery ; \
AR=$DIR/bin/mipsel-linux-gnu-ar \
CC=$DIR/bin/mipsel-linux-gnu-gcc \
LD=$DIR/bin/mipsel-linux-gnu-ld \
NM=$DIR/bin/mipsel-linux-gnu-nm \
RANLIB=$DIR/bin/mipsel-linux-gnu-ranlib \
STRIP=$DIR/bin/mipsel-linux-gnu-strip \
LD_LIBRARY_PATH=/home/appweb-3.3.1/bin \
./configure --type=RELEASE --host=mipsel-linux-gnu --target=mipsel-linux-gnu --disable-shared --enable-static --port=80 --disable-test --disable-samples --disable-log --prefix=/home/mips_appweb --webDir=/home/web
Configure后, 结果如下:
# Configuration for this build:
#
# Configuring Product: appweb
# Base configuration: build/standard.defaults
# Version: 3.3.1-0
# Host system: mipsel-unknown-linux, LINUX, mipsel
# Build system: i686-pc-linux, LINUX, i686
# Debug Type: RELEASE
# Tune for: MPR_TUNE_SIZE
# Threading multi-threaded
# Linking static
# Build components: ar cc make nm strip ranlib regexp mpr sqlite
# ejs appweb
# Host components: ar cc make nm strip ranlib regexp mpr sqlite ejs appweb
# Directories:
# PRD /home/mips_appweb/lib/appweb
# VER /home/mips_appweb/lib/appweb
# CFG /etc/appweb
# BIN /home/mips_appweb/lib/appweb/bin
# JEM /home/mips_appweb/lib/appweb/jems
# LIB /home/mips_appweb/lib/appweb/lib
# MOD /home/mips_appweb/lib/appweb/modules
# WEB /var/www/appweb-default
# INC /home/mips_appweb/lib/appweb/inc
--------------------------------------------------------------------
并且MAKE , MAKE INSTALL 成功!
我把所成的
(--prefix=/home/mips_appweb ) 这里面的内容以及 [WEB /var/www/appweb-default] 这里面的内容,复制到目标开发板上的了个目录下,然后我在目标板上的appweb所在的目录,运行./appweb appweb.conf
失败!
不知如何办? 求解!!!!! |
|