oetiker / remOcular

your eyes in the cloud
GNU General Public License v3.0
44 stars 10 forks source link

Won't 'build' as-is; .gitignore possibly to blame #2

Closed ttelford closed 12 years ago

ttelford commented 12 years ago

When I checkout the code via git, and attempt to build it, I run into a problem: ./configure works fine, but 'make' does not:

Making all in frontend make[1]: Entering directory /home/ttelford/src/remocular/remOcular/frontend' make[1]: Nothing to be done forall'. make[1]: Leaving directory /home/ttelford/src/remocular/remOcular/frontend' Making all in backend make[1]: Entering directory/home/ttelford/src/remocular/remOcular/backend' make[1]: * No rule to make target public/script/remocular.js', needed byall-am'. Stop. make[1]: Leaving directory `/home/ttelford/src/remocular/remOcular/backend' make: * [all-recursive] Error 1

It appears that the git repository doesn't have backend/public.

.gitignore has backend/public listed, which is probably why it's not in git.

The question is: Should backed/public be in the git repo? If not, how is it generated?

ttelford commented 12 years ago

Ah; found the issue: The README doesn't state that PERL5LIB needs to be set to a valid value.

oetiker commented 12 years ago

Hi Troy,

backend/public will be built if you have the qooxdoo sdk installed ... in the tar distro I provide a pre built version ...

I guess the error message shoud be better ... :-) will look at it.

cheers tobi

Yesterday Troy Telford wrote:

When I checkout the code via git, and attempt to build it, I run into a problem: ./configure works fine, but 'make' does not:

Making all in frontend make[1]: Entering directory /home/ttelford/src/remocular/remOcular/frontend' make[1]: Nothing to be done forall'. make[1]: Leaving directory /home/ttelford/src/remocular/remOcular/frontend' Making all in backend make[1]: Entering directory/home/ttelford/src/remocular/remOcular/backend' make[1]: * No rule to make target public/script/remocular.js', needed byall-am'. Stop. make[1]: Leaving directory `/home/ttelford/src/remocular/remOcular/backend' make: * [all-recursive] Error 1

It appears that the git repository doesn't have backend/public.

.gitignore has backend/public listed, which is probably why it's not in git.

The question is: Should backed/public be in the git repo? If not, how is it generated?


Reply to this email directly or view it on GitHub: https://github.com/oetiker/remOcular/issues/2

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900

ttelford commented 12 years ago

I would be happy to document my experiences so the README can be improved. I think this could be valuable as it seems the README is "missing" steps that are probably obvious to you, but aren't obvious to me.

Notes:

--> Working on MojoX::Dispatcher::Qooxdoo::Jsonrpc Fetching http://search.cpan.org/CPAN/authors/id/M/MB/MBP/MojoX-Dispatcher-Qooxdoo-Jsonrpc-0.83.tar.gz ... OK backend/thirdparty/work/1328459900.7702: No such file or directory at /loader/0x262b9a8/App/cpanminus/script.pm line 858.

The script does work if I give it no arguments, however... then I move the thirdparty directory into backend. I'm not sure if this is the right thing to do, but it seems to work.

I've also attempted to configure Apache to run remocular; however the README doesn't really cover this step. It seems my problems with Apache are at least partly due to the fact I can't run the daemon from the installation ${PREFIX}

oetiker commented 12 years ago

I just pushed some updates ... does this help ?

ttelford commented 12 years ago

On Feb 5, 2012, at 1:35 PM, Tobias Oetiker wrote:

I just pushed some updates ... does this help ?

It is most helpful; I'm now able to run it as a daemon from the installe prefix. The only thing left for me is figuring out how to configure Apache to use it...

Troy Telford troy.telford@gmail.com

oetiker commented 12 years ago

I have added some notes on apache configuration.