Note that there are some explanatory texts on larger screens.

plurals
  1. POmaking the Makefile of rApache gives me errors
    primarykey
    data
    text
    <p>Apologize in advance, I am a newbie in Linux and these stuffs.</p> <p>I have to install rApache 1.2.0, but when I write on the terminal:</p> <pre><code>make -f ~/Makefile.am </code></pre> <p>it gives me many errors, such as:</p> <pre><code>make: *** No rule to make target "mod_R.h", needed by "mod_R.so". </code></pre> <p>or</p> <pre><code>make: *** No rule to make target "@DOCROOT@/httpd.conf.in", needed by "@DOCROOT@/httpd.conf". </code></pre> <p>Here is the Makefile.am (<a href="https://github.com/jeffreyhorner/rapache/blob/master/Makefile.am" rel="nofollow" title="rapache/Makefile.am at master · jeffreyhorner/rapache · GitHub">link</a>):</p> <pre><code># DARWIN has to be different than everyone else # and define their autoconf $shlibpath_var to be DYLD_LIBRARY_PATH SHLIBPATH_VAR=@SHLIBPATH_VAR@ ACLOCAL_AMFLAGS = -I m4 APXS=@APXS@ HTTPD=@HTTPD@ DOCROOT=@DOCROOT@ APREQ=@APREQ@ APREQ_COMPILE=@APREQ_COMPILE@ APREQ_INSTALL=@APREQ_INSTALL@ APREQ_CLEAN=@APREQ_CLEAN@ APREQ_LIB_DIR=@APREQ_LIB_DIR@ APREQ_INCLUDES=@APREQ_INCLUDES@ APREQ_LINKLD=@APREQ_LINKLD@ RPROG=@RPROG@ RPROGBATCH=R_DEFAULT_PACKAGES=NULL @RPROG@ --vanilla --no-readline --slave -f R_HOME = `$(RPROG) RHOME` R_LD_LIBRARY_PATH = $(R_HOME)/lib RINCLUDES=@RINCLUDES@ RLINKLD=@RLINKLD@ INCLUDES = $(RINCLUDES) $(APREQ_INCLUDES) LDFLAGS = $(RLINKLD) $(APREQ_LINKLD) LD_LIBRARY_PATH=$(R_LD_LIBRARY_PATH):$(APREQ_LIB_DIR) RPATH=@RPATH@ all: mod_R.so $(DOCROOT)/httpd.conf mod_R.so: .apreq-config mod_R.c mod_R.h @echo @echo Compiling mod_R @echo $(APXS) $(INCLUDES) -c mod_R.c $(RPATH) $(LDFLAGS) .apreq-config: @echo @echo Configuring libapreq2 @echo $(APREQ_COMPILE) touch .apreq-config install: all $(APXS) -i -n R mod_R.la $(APREQ_INSTALL) $(DOCROOT)/httpd.conf: $(DOCROOT)/httpd.conf.in $(RPROGBATCH) tools/config_http.R --args $(APXS) $(HTTPD) itest: all @echo @echo Point your browser to http://localhost:8181/index.html @echo $(SHLIBPATH_VAR)=$(LD_LIBRARY_PATH) R_HOME=$(R_HOME) $(HTTPD) -X -f $(DOCROOT)/httpd.conf test: all $(DOCROOT)/httpd.conf stop: all $(SHLIBPATH_VAR)=$(LD_LIBRARY_PATH) R_HOME=$(R_HOME) $(HTTPD) -X -f $(DOCROOT)/httpd.conf -k stop valgrind: all $(SHLIBPATH_VAR)=$(LD_LIBRARY_PATH) R_HOME=$(R_HOME) valgrind $(HTTPD) -X -f $(DOCROOT)/httpd.conf debug: all @echo @echo Copy/paste the following line to gdb @echo @echo run -X -f $(DOCROOT)/httpd.conf @echo $(SHLIBPATH_VAR)=$(LD_LIBRARY_PATH) R_HOME=$(R_HOME) gdb $(HTTPD) clean: rm -rf $(OBJS) core mod_R.o mod_R.so *~ .libs *.o *.slo *.lo *.la .apreq-config $(APREQ_CLEAN) distclean: clean rm -rf mod_R.h Makefile .depend .install libtool config.log config.status test/httpd.conf test/access_log test/error_log test/httpd.pid test/accept.lock* aclocal.m4 autom4te.cache libapreq2/library/t/Makefile libapreq2/config.nice libapreq2/module/apache/Makefile $(APREQ_CLEAN) </code></pre> <p>Any help would be greatly appreciated.</p> <p>Thanks, Sho</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload