Altera_Forum
Honored Contributor
15 years agoappWeb
Does any one know how to get the appWeb to work? I assume I just need to set the ./configure correctly... Currently, I am getting error as "No rule to make target"
Hi,
--- Quote Start --- Does any one know how to get the appWeb to work? I assume I just need to set the ./configure correctly... Currently, I am getting error as "No rule to make target" --- Quote End --- Please enter the folder of appWeb and see the 'configure' switches.
./configure --help
Maybe you need to set some env. variables like
export CC=nios2-wrs-linux-gnu-gcc
export LD=nios2-wrs-linux-gnu-ld
export CPPFLAGS="-I/<your adequate directory >/include/"
export CFLAGS="-I/<your adequate directory >/include"
export LDFLAGS="-L/<your adequate directory >/lib/"
and configure it like
./configure --host=nios2-wrs-linux-gnu --prefix=/<your adequate directory >/usr/ --docDir=/<your adequate directory >/usr/share/doc/appWeb-1.1.3 --incDir=/<your adequate directory >/usr/include/appWeb --libDir=/<your adequate directory >/usr/lib --sbinDir=/<your adequate directory >/usr/sbin --srcDir=/<your adequate directory >/usr/usr/src/appWeb-1.1.3 --webDir=/<your adequate directory >/usr/var/appWeb/web
Maybe you need to change the 'mode' of some files. (I changed next files.)
chmod +x conf/config.sub
chmod +x bin/bld
chmod +x bin/incBuild
If the configuration has ended successfully, please check the result of it by the 'config.make' file. For example, the result will be like this. # ################################################################################ # Standard programs# # If the user specifies the flags to configure (eg. CFLAGS=-Y ./configure) # those take precedence. Otherwise, we use the factory defaults if the # user supplies no such flags.#
BLD_AR := ar
BLD_CC := nios2-wrs-linux-gnu-gcc
BLD_CC_FOR_BUILD := cc
BLD_JAVAC := javac
BLD_LD := nios2-wrs-linux-gnu-ld
BLD_LD_FOR_BUILD := ld
BLD_RANLIB := true
After that, please make, but I have experienced one compile error in the file 'http.h'. By revising it, I got the binaries in the 'bin' folder, but of course, I don't know whether those will run well or not.:) Kazu