Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

appWeb

Altera_Forum
Honored Contributor II
1,360 Views

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"
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
661 Views

What is "the appWeb" ? 

 

-Michael
0 Kudos
Altera_Forum
Honored Contributor II
661 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
661 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
661 Views

Thanks, Kazu. 

 

I'll give it a try.
0 Kudos
Reply