- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is "the appWeb" ?
-Michael- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Kazu.
I'll give it a try.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page