compilation failed for package ‘nloptr’

648 views
Skip to first unread message

Ama Noel

unread,
Jul 20, 2014, 4:49:34 PM7/20/14
to shiny-...@googlegroups.com
Hi,

I'm using Caret and ggplot2. Under Win 8 

When I try to deploy my appplication to Shiny.
I get the following error message: Error building nloptr (1.0.0). Build exited with non-zero status: 1
With the following log message:

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make[1]: Entering directory `/tmp/Rtmpb4ZKPw/R.INSTALLc45392f46/nloptr/src/nlopt-2.4'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/tmp/Rtmpb4ZKPw/R.INSTALLc45392f46/nloptr/src/nlopt-2.4'
make[1]: Entering directory `/tmp/Rtmpb4ZKPw/R.INSTALLc45392f46/nloptr/src/nlopt-2.4'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `install'.  Stop.
make[1]: Leaving directory `/tmp/Rtmpb4ZKPw/R.INSTALLc45392f46/nloptr/src/nlopt-2.4'
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -I`pwd`/nlopt-2.4/include -fpic  -O3 -pipe  -g  -c nloptr.c -o nloptr.o
nloptr.c:42:19: fatal error: nlopt.h: No such file or directory
compilation terminated.
make: *** [nloptr.o] Error 1
ERROR: compilation failed for package ‘nloptr’
* removing ‘/usr/local/lib/R/site-library/nloptr’

Erika Gomes

unread,
Jan 6, 2015, 1:16:55 PM1/6/15
to shiny-...@googlegroups.com
Can you fix it?

Joe Cheng

unread,
Jan 6, 2015, 2:30:28 PM1/6/15
to Erika Gomes, shinyap...@googlegroups.com
(cc shinyapps-users, bcc shiny-discuss)


--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/f491c5dc-605e-4731-bb0c-b3784abc8f0e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages