From: Chris W. <la...@us...> - 2005-02-08 01:54:40
|
Update of /cvsroot/openinteract/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31456 Modified Files: BUILDING_FROM_CVS Log Message: OIN-124: update the build instructions to get rid of package building Index: BUILDING_FROM_CVS =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/BUILDING_FROM_CVS,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BUILDING_FROM_CVS 31 Jan 2005 14:06:46 -0000 1.3 --- BUILDING_FROM_CVS 8 Feb 2005 01:54:30 -0000 1.4 *************** *** 6,18 **** by-version distribution. ! Quick Help --------------- ! > cd /path/to/OpenInteract2-CVS/ > perl build_docs > perl build_bricks - > cd pkg/ - > ./export_all - > cd .. > perl Makefile.PL or perl Build.PL > make or ./Build --- 6,15 ---- by-version distribution. ! Quick Start --------------- ! > cd /path/to/OpenInteract2-CVS > perl build_docs > perl build_bricks > perl Makefile.PL or perl Build.PL > make or ./Build *************** *** 33,40 **** > make install or ./Build install ! But you'll run into three problems building from CVS vs. from a ! distribution. The first is related to documentation, the second to ! inlined resource files used to build packages and websites, and the ! third to package distributions. --- 30,36 ---- > make install or ./Build install ! But you'll run into two problems building from CVS vs. from a ! distribution. The first is related to documentation and the second to ! inlined resource files used to build packages and websites. *************** *** 67,123 **** This should output something like: ! Generated lib/OpenInteract2/Brick/Messages.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/WebsiteConfig.pm with 6 inlined files ! Generated lib/OpenInteract2/Brick/Daemon.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/Package.pm with 8 inlined files ! Generated lib/OpenInteract2/Brick/Apache.pm with 5 inlined files ! Generated lib/OpenInteract2/Brick/CGI.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/Widgets.pm with 57 inlined files ! Generated lib/OpenInteract2/Brick/Apache2.pm with 2 inlined files ! ! ! Problem: Packages ! --------------- ! ! When you check OpenInteract out from CVS you get all the packages ! distributed with OpenInteract in their respective directories. But ! they're not in the distribution (.zip) format that the build/test ! procedures expect. ! ! How do you know this has happened? You try to build OpenInteract in ! the normal Perl method and get something like the following: ! ! > perl Makefile.PL ! Checking if your kit is complete... ! Warning: the following files are missing in your kit: ! pkg/base-2.22.zip ! pkg/base_box-1.13.zip ! pkg/base_error-2.13.zip ! ... ! Please inform the author. ! Writing Makefile for OpenInteract ! ! To build the packages for the OI2 distribution (also necessary for ! testing), just run: ! ! > cd /path/to/OpenInteract-CVS/pkg ! > ./export_all ! ! This will result in a number of messages from the 'oi2_manage export_package' ! command to let you know whether there are too many or too few files in ! each package and the filename of the package written out. ! ! After running the command, you should have a number of .zip files in ! the pkg/ directory. Try to run the procedure from above again: ! ! > cd .. ! > make clean or ./Build realclean ! > perl Makefile.PL or perl Build.PL ! ! You should then see the pleasing: ! ! Checking if your kit is complete... ! Looks good ! Writing Makefile for OpenInteract Now you can go ahead and build the distribution and test it out --- 63,91 ---- This should output something like: ! Generated lib/OpenInteract2/Brick/Daemon.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/Package.pm with 8 inlined files ! Generated lib/OpenInteract2/Brick/Widgets.pm with 57 inlined files ! Generated lib/OpenInteract2/Brick/Apache.pm with 5 inlined files ! Generated lib/OpenInteract2/Brick/Messages.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/CGI.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/WebsiteConfig.pm with 6 inlined files ! Generated lib/OpenInteract2/Brick/PackageCPAN.pm with 4 inlined files ! Generated lib/OpenInteract2/Brick/Apache2.pm with 2 inlined files ! Generated lib/OpenInteract2/Brick/AppBase.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseBox.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseError.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseGroup.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBasePage.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseSecurity.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseTemplate.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseTheme.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppBaseUser.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppComments.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppFullText.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppLookup.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppNews.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppObjectActivity.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppSystemDoc.pm with 1 inlined files ! Generated lib/OpenInteract2/Brick/AppWhatsNew.pm with 1 inlined files Now you can go ahead and build the distribution and test it out |