Compile errors

15 views
Skip to first unread message

Hubert

unread,
Dec 21, 2011, 6:21:59 PM12/21/11
to WebROaR - Ruby Application Server
I'm trying to install WebROaR. First problem I had was that it
couldn't locate `libsqlite3.so`, which was in `/usr/lib/i386-linux-
gnu` while the installer looked only at `/usr/lib`. I've got past this
one.

Now when I run `webroar install` I get this message:


...
Creating directory structure ... done.
Compiling C source files ... failed.
Compilation error. Please refer 'install.log' for details.


Contents of `install.log`:


ln: creating symbolic link `/var/lib/gems/1.9.1/gems/webroar-0.7.0/
admin_panel': File exists
rm -r pkg
rm -r /var/lib/gems/1.9.1/gems/webroar-0.7.0/obj
rm -r /var/lib/gems/1.9.1/gems/webroar-0.7.0/bin/webroar-head
rm -r /var/lib/gems/1.9.1/gems/webroar-0.7.0/bin/webroar-worker
/var/lib/gems/1.9.1/gems/webroar-0.7.0/obj/worker doesn't exist.
Creating it...Created.
/var/lib/gems/1.9.1/gems/webroar-0.7.0/obj/head doesn't exist.
Creating it...Created.
/var/lib/gems/1.9.1/gems/webroar-0.7.0/obj/helper doesn't exist.
Creating it...Created.
Required directories created successfully. Building executables...
checking for sys/select.h... rake aborted!
wrong number of arguments (3 for 2)

Tasks: TOP => default => compile => /var/lib/gems/1.9.1/gems/
webroar-0.7.0/bin/webroar-head => /var/lib/gems/1.9.1/gems/
webroar-0.7.0/obj/head/wr_application.o
(See full trace by running task with --trace)


What should I do?
I'm using Ruby 1.9.2.

Nikunj Limbaseeya

unread,
Dec 22, 2011, 1:39:24 AM12/22/11
to web...@googlegroups.com
WebROaR uses Ruby development header files to compile the code. So please make sure Ruby 1.9.2-dev is also installed with Ruby 1.9.2.

Also refer previous thread http://groups.google.com/group/webroar/browse_thread/thread/e30a7fc0718fc258?pli=1

Still you face the same problem please send the full trace by executing 'rake --trace' command form the WebROaR install directory.

Thank you
Nikunj Limbaseeya
Reply all
Reply to author
Forward
0 new messages