Forum Discussion
Altera_Forum
Honored Contributor
16 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"4 Replies
- Altera_Forum
Honored Contributor
What is "the appWeb" ?
-Michael - Altera_Forum
Honored Contributor
Appweb is an HTTP Server.
If you make menuconfig -> network -> then you'll see it on the top of the list. With this server, it seems like we can use PHP easily. - Altera_Forum
Honored Contributor
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.
Maybe you need to set some env. variables like./configure --help
and configure it likeexport 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/"
Maybe you need to change the 'mode' of some files. (I changed next files.)./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
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.chmod +x conf/config.sub chmod +x bin/bld chmod +x bin/incBuild
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# ################################################################################ # 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 - Altera_Forum
Honored Contributor
Thanks, Kazu.
I'll give it a try.