shanshi 发表于 2011-09-29 14:04

appweb 求助--- 编译通过,把哪些目录文件拷贝到开发板及如何设置就可以运行

我用交叉编译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 ) 这里面的内容以及 这里面的内容,复制到目标开发板上的了个目录下,然后我在目标板上的appweb所在的目录,运行./appwebappweb.conf   
失败!
不知如何办?   求解!!!!!

shanshi 发表于 2011-09-30 09:18

怎没有大侠回复啊? ????

shanshi 发表于 2011-09-30 15:59

???求助啊!!!

shanshi 发表于 2011-10-13 15:48

无语了,没有人帮我,终于今天搞定!

manpaizhou 发表于 2012-11-29 18:45

./appweb --config appweb.conf
页: [1]
查看完整版本: appweb 求助--- 编译通过,把哪些目录文件拷贝到开发板及如何设置就可以运行