phaylon / reactionx-jumpstart Goto Github PK
View Code? Open in Web Editor NEWA helper to bootstrap Reaction applications
A helper to bootstrap Reaction applications
For dev and experimentation, invoke like REACTIONX_JUMPSTART_SHAREDIR=share/ script/reaction-jumpstart You should see a series of questions and output Namespace of the project? (example: MyApp) MyApp Name of the UI? (example: Web for MyApp::Web) [default Web] Descriptive name of the application? [default MyApp] -> writing package MyApp::Web Name of the View? (example: Site for MyApp::Web::View::Site) [default Site] -> writing package MyApp::Web::View::Site -> writing file test/myapp/share/skin/defaults.conf Name of your application's Skin? [default myapp_web] Name of the Skin from which your Skin inherits? [default /Reaction/default] -> creating directory test/myapp/share/skin/myapp_web/layout -> creating directory test/myapp/share/skin/myapp_web/web -> writing file test/myapp/share/skin/myapp_web/skin.conf Create a Root Controller? (The Controller managing '/') [default y] Name of the Controller? (example: Root for MyApp::Web::Controller::Root) [default Root] Do you want a base action to push the SiteLayout ViewPort? (y or n) [default y] Do you want a customized SiteLayout ViewPort, Widget and LayoutSet? (y or n) [default y] -> writing package MyApp::Web::ViewPort::SiteLayout -> writing package MyApp::Web::View::Site::Widget::SiteLayout -> writing file test/myapp/share/skin/myapp_web/layout/site_layout.tt -> writing package MyApp::Web::Controller::Root -> writing file test/myapp/etc/myapp_web.conf The application will be generated below test/
Hello phaylon,
While trying to run reactionx-jumpstart I get this:
Could not load class (ReactionX::Jumpstart::Generating) because :ReactionX/Jumpstart/Generating.pm did not return a true value at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 129 at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 114
This is on a trunk checkout of Reaction, and everything else came two days ago from CPAN.
I tried to make this report as complete as possible, please let me know if you need additional information.
Regards,
Nuba
nuba@nubatop2:reactionx-jumpstart (master)> date Fri Oct 9 00:51:01 BRT 2009 nuba@nubatop2:reactionx-jumpstart (master)> git pull Already up-to-date. nuba@nubatop2:reactionx-jumpstart (master)> make distclean rm -f \ blib/script/reaction-jumpstart rm -f \ *.a core \ core.[0-9] blib/arch/auto/ReactionX/Jumpstart/extralibs.all \ core.[0-9][0-9] Jumpstart.bso \ pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ Jumpstart.x \ perl tmon.out \ *.o pm_to_blib \ blib/arch/auto/ReactionX/Jumpstart/extralibs.ld blibdirs.ts \ core.[0-9][0-9][0-9][0-9][0-9] *perl.core \ core.*perl.*.? Makefile.aperl \ perl Jumpstart.def \ core.[0-9][0-9][0-9] mon.out \ libJumpstart.def perlmain.c \ perl.exe so_locations \ Jumpstart.exp rm -rf \ blib mv Makefile Makefile.old > /dev/null 2>&1 rm -f \ Makefile.old Makefile rm -rf \ MYMETA.yml ReactionX-Jumpstart-0.01 rm -f ReactionX-Jumpstart-0.01.tar.gz rm -f MANIFEST.bak _build /usr/bin/perl "-Iinc" "-Ilib" "-MModule::Install::Admin" -e "remove_meta()" rm -rf inc /usr/bin/perl "-Iinc" "-MExtUtils::Manifest=fullcheck" -e fullcheck Problem opening MANIFEST: No such file or directory at /usr/local/share/perl/5.8.8/ExtUtils/Manifest.pm line 344. Problem opening MANIFEST: No such file or directory at /usr/local/share/perl/5.8.8/ExtUtils/Manifest.pm line 344. Not in MANIFEST: lib/ReactionX/Jumpstart.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Application.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Config.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Controller.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Controller/Root.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Generating.pm Not in MANIFEST: lib/ReactionX/Jumpstart/LayoutSet.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Meta/Attribute/Trait/Prompted.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Namespacing.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Stashing.pm Not in MANIFEST: lib/ReactionX/Jumpstart/SubBuilding.pm Not in MANIFEST: lib/ReactionX/Jumpstart/View.pm Not in MANIFEST: lib/ReactionX/Jumpstart/ViewGroup.pm Not in MANIFEST: lib/ReactionX/Jumpstart/ViewPort.pm Not in MANIFEST: lib/ReactionX/Jumpstart/Widget.pm Not in MANIFEST: Makefile.PL Not in MANIFEST: README Not in MANIFEST: script/reaction-jumpstart Not in MANIFEST: share/application.conf.tt Not in MANIFEST: share/application.tt Not in MANIFEST: share/controller.tt Not in MANIFEST: share/defaults.conf.tt Not in MANIFEST: share/layout_set.tt Not in MANIFEST: share/skin.conf.tt Not in MANIFEST: share/view.tt Not in MANIFEST: share/viewport.tt Not in MANIFEST: share/widget.tt nuba@nubatop2:reactionx-jumpstart (master)> perl Makefile.PL include /home/nuba/github/reactionx-jumpstart/inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm Cannot determine perl version info from lib/ReactionX/Jumpstart.pm Cannot determine author info from lib/ReactionX/Jumpstart.pm Cannot determine license info from lib/ReactionX/Jumpstart.pm include inc/Module/Install/Scripts.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/Share.pm include inc/Module/Install/WriteAll.pm include inc/Module/Install/Win32.pm include inc/Module/Install/Can.pm include inc/Module/Install/Fetch.pm Writing Makefile for ReactionX::Jumpstart Writing META.yml No license specified, setting license = 'unknown' nuba@nubatop2:reactionx-jumpstart (master)> make Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/layout_set.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/view.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/defaults.conf.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/controller.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/skin.conf.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/viewport.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/application.conf.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/widget.tt Installing blib/lib/auto/share/dist/ReactionX-Jumpstart/application.tt cp lib/ReactionX/Jumpstart/Config.pm blib/lib/ReactionX/Jumpstart/Config.pm cp lib/ReactionX/Jumpstart/SubBuilding.pm blib/lib/ReactionX/Jumpstart/SubBuilding.pm cp lib/ReactionX/Jumpstart/Generating.pm blib/lib/ReactionX/Jumpstart/Generating.pm cp lib/ReactionX/Jumpstart/Controller.pm blib/lib/ReactionX/Jumpstart/Controller.pm cp lib/ReactionX/Jumpstart/View.pm blib/lib/ReactionX/Jumpstart/View.pm cp lib/ReactionX/Jumpstart/ViewGroup.pm blib/lib/ReactionX/Jumpstart/ViewGroup.pm cp lib/ReactionX/Jumpstart/LayoutSet.pm blib/lib/ReactionX/Jumpstart/LayoutSet.pm cp lib/ReactionX/Jumpstart/Controller/Root.pm blib/lib/ReactionX/Jumpstart/Controller/Root.pm cp lib/ReactionX/Jumpstart/Application.pm blib/lib/ReactionX/Jumpstart/Application.pm cp lib/ReactionX/Jumpstart/ViewPort.pm blib/lib/ReactionX/Jumpstart/ViewPort.pm cp lib/ReactionX/Jumpstart.pm blib/lib/ReactionX/Jumpstart.pm cp lib/ReactionX/Jumpstart/Widget.pm blib/lib/ReactionX/Jumpstart/Widget.pm cp lib/ReactionX/Jumpstart/Stashing.pm blib/lib/ReactionX/Jumpstart/Stashing.pm cp lib/ReactionX/Jumpstart/Namespacing.pm blib/lib/ReactionX/Jumpstart/Namespacing.pm cp lib/ReactionX/Jumpstart/Meta/Attribute/Trait/Prompted.pm blib/lib/ReactionX/Jumpstart/Meta/Attribute/Trait/Prompted.pm cp script/reaction-jumpstart blib/script/reaction-jumpstart /usr/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/reaction-jumpstart nuba@nubatop2:reactionx-jumpstart (master)> make test No tests defined for ReactionX::Jumpstart extension. nuba@nubatop2:reactionx-jumpstart (master)> make install !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/bin' Do not have write permissions on '/usr/local/bin' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1 make: *** [pure_site_install] Error 13 nuba@nubatop2:reactionx-jumpstart (master)> sudo make install Appending installation info to /usr/lib/perl/5.8/perllocal.pod nuba@nubatop2:reactionx-jumpstart (master)> REACTIONX_JUMPSTART_SHAREDIR=share/ script/reaction-jumpstart Could not load class (ReactionX::Jumpstart::Generating) because : ReactionX/Jumpstart/Generating.pm did not return a true value at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 129. at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 114 Class::MOP::load_first_existing_class('ReactionX::Jumpstart::Generating') called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 135 Class::MOP::load_class('ReactionX::Jumpstart::Generating') called at /usr/local/share/perl/5.8.8/Moose/Util.pm line 99 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x9258920)', 'undef', 'ReactionX::Jumpstart::Generating', 'ReactionX::Jumpstart::Stashing', 'ReactionX::Jumpstart::SubBuilding', 'ReactionX::Jumpstart::Namespacing') called at /usr/local/share/perl/5.8.8/Moose/Util.pm line 84 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x9258920)', 'ReactionX::Jumpstart::Generating', 'ReactionX::Jumpstart::Stashing', 'ReactionX::Jumpstart::SubBuilding', 'ReactionX::Jumpstart::Namespacing') called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 55 require ReactionX/Jumpstart/ViewPort.pm called at (eval 510) line 1 ReactionX::Jumpstart::ViewGroup::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval 'package ReactionX::Jumpstart::ViewGroup; use ReactionX::Jumpstart::ViewPort;' called at /usr/local/share/perl/5.8.8/aliased.pm line 50 aliased::_load_alias('ReactionX::Jumpstart::ViewPort', 'ReactionX::Jumpstart::ViewGroup') called at /usr/local/share/perl/5.8.8/aliased.pm line 20 aliased::import('aliased', 'ReactionX::Jumpstart::ViewPort') called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewGroup.pm line 13 ReactionX::Jumpstart::ViewGroup::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 require ReactionX/Jumpstart/ViewGroup.pm called at (eval 455) line 1 ReactionX::Jumpstart::Controller::Root::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval 'package ReactionX::Jumpstart::Controller::Root; use ReactionX::Jumpstart::ViewGroup;' called at /usr/local/share/perl/5.8.8/aliased.pm line 50 aliased::_load_alias('ReactionX::Jumpstart::ViewGroup', 'ReactionX::Jumpstart::Controller::Root') called at /usr/local/share/perl/5.8.8/aliased.pm line 20 aliased::import('aliased', 'ReactionX::Jumpstart::ViewGroup') called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/Controller/Root.pm line 9 ReactionX::Jumpstart::Controller::Root::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 require ReactionX/Jumpstart/Controller/Root.pm called at (eval 454) line 1 ReactionX::Jumpstart::Application::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval 'package ReactionX::Jumpstart::Application; use ReactionX::Jumpstart::Controller::Root;' called at /usr/local/share/perl/5.8.8/aliased.pm line 50 aliased::_load_alias('ReactionX::Jumpstart::Controller::Root', 'ReactionX::Jumpstart::Application') called at /usr/local/share/perl/5.8.8/aliased.pm line 20 aliased::import('aliased', 'ReactionX::Jumpstart::Controller::Root') called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/Application.pm line 14 ReactionX::Jumpstart::Application::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 require ReactionX/Jumpstart/Application.pm called at (eval 452) line 1 ReactionX::Jumpstart::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval 'package ReactionX::Jumpstart; use ReactionX::Jumpstart::Application;' called at /usr/local/share/perl/5.8.8/aliased.pm line 50 aliased::_load_alias('ReactionX::Jumpstart::Application', 'ReactionX::Jumpstart') called at /usr/local/share/perl/5.8.8/aliased.pm line 20 aliased::import('aliased', 'ReactionX::Jumpstart::Application') called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart.pm line 15 ReactionX::Jumpstart::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 require ReactionX/Jumpstart.pm called at script/reaction-jumpstart line 10 main::BEGIN() called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 eval {...} called at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewPort.pm line 0 Compilation failed in require at (eval 510) line 1. BEGIN failed--compilation aborted at (eval 510) line 1. BEGIN failed--compilation aborted at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/ViewGroup.pm line 13. Compilation failed in require at (eval 455) line 1. BEGIN failed--compilation aborted at (eval 455) line 1. BEGIN failed--compilation aborted at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/Controller/Root.pm line 9. Compilation failed in require at (eval 454) line 1. BEGIN failed--compilation aborted at (eval 454) line 1. BEGIN failed--compilation aborted at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart/Application.pm line 14. Compilation failed in require at (eval 452) line 1. BEGIN failed--compilation aborted at (eval 452) line 1. BEGIN failed--compilation aborted at /home/nuba/github/reactionx-jumpstart/lib/ReactionX/Jumpstart.pm line 15. Compilation failed in require at script/reaction-jumpstart line 10. BEGIN failed--compilation aborted at script/reaction-jumpstart line 10. nuba@nubatop2:reactionx-jumpstart (master)> perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.24-19-server, archname=i486-linux-gnu-thread-multi uname='linux palmer 2.6.24-19-server #1 smp sat jul 12 00:40:01 utc 2008 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.2.3 (Ubuntu 4.2.3-2ubuntu7)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8 gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Jan 14 2009 22:34:36 @INC: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . nuba@nubatop2:reactionx-jumpstart (master)>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.