Here is the English translation of "How to Make an Open Qube" slides by Jake MORRISON, 7 Feb. 2004. It is verified by Yutaka Yasuda of Cobalt Users Group, 15 Feb. 2004. Thanks Jake, your translation is very correct. The original slides had been written by Hisao Shibuya, Sep. 2003. The original PDF are; http://open.cobaltqube.org/docs/HowToCreateOpenQube.pdf http://open.cobaltqube.org/docs/index-j.html (Please take atteion, it was based on Qube3 source code in September version. Not for 550, not current.) ----------------------------- How to Make an Open Qube Sep, 11, 2003 Hisao SHIBUYA ----------------------------- What is Open Qube? * The open-sourced GUI component (Sausalito) of the Sun Cobalt Qube3 Plus * The above GUI components installed on a PC running Red Hat Linux * An open source version of the Qube -> Open Qube ----------------------------- Where is Sausalito? ----------------------------- Red Hat Linux 9 Install * Use "Server" install If you will be developing, also install development tools * Required packages * expat (required by activity monitor) ----------------------------- Points to notice for installation * Put /home, /var on different partitions * Required by disk usage status monitor * /home should have quotas enabled * Check /etc/fstab /dev/mdi /home ext3 defaults,usrquota,grpquota 1 2 * quotacheck -a ----------------------------- Other required packages * re2c (a tool for writing regular expression lexers in C) * perl modules (from CPAN) * Jcode * Quota * Cobalt patched glib (not glibc) * GHashIter function added (In RaQ550, it is included in cced code) * Get it from: ftp://ftp.cobalt.sun.com/pub/products/qube3/OS-6.4/SRPMS/ * Other * swatch (activity monitor) ----------------------------- Before you start development * Install necessarily packages to develop * rpm -Uvh * ----------------------------- Quick Start just for use it * ftp://open.cobaltqube.org/pub/OpenQube/redhat/RPMS/ * rpm -ivh * * Reboot if you don't want to think more, or; * /etc/init.d/cced.init start * /etc/init.d/httpd restart * touch /etc/build * Open http://FQDN:444/ in web browser ----------------------------- Getting the Source (Anonymous CVS) * Getting the source from anonymous CVS $ cvs -d:pserver:anonymous@open.cobaltqube.org:/cvsroot login Password is empty (null password) * $ cvs -d:pserver:anonymous@open.cobaltqube.org:/cvsroot co -r DEV_OpenQube module_name ----------------------------- Getting the Source (CVS Account) * Environment setup export RSH=ssh export CVSROOT=:ext:username@open.cobaltqube.org:/cvsroot * cvs co -r DEV_OpenQube module_name ----------------------------- Starting the Build * Start with ui/devel-tools * Basic build method # cd ui/devel-tools # make rpm * Copy rpms to RPMS directory rpms = *.i386.rpm as_rpms = *.noarch.rpm ----------------------------- The way to Login * Install a few more modules * Build order: ui/devel-tools ui/i18n cce ui/base-winshare ui/sauce-basic ui/palette ui/gallery ui/carmel.mod ui/base-user.mod ----------------------------- Oh, it is dependencies problem... * rpm complained error about dependencies... I gave up and installed with rpm --nodeps * devel-tools, i18n, cce has dependency loop ----------------------------- Changes * for PHP 4.1.x and above * The API for PHP 4.1 is different * PHP for Qube3 is 4.0.6 * Message catalog encoding change * Real code shoule be EUC-JP but CVS tree is all SJIS -> Change to EUC-JP ----------------------------- Changes * Additions to PHP configuration file * Under Red Hat Linux 9, any configuration settings placed in /etc/php.d will be automatically included * Much nicer to handle :-) * Contents of changes * cce.ini, i18n.ini are added * cce.so, i18n.so are setted as extension * set include_path * Deal with security problem from register_globals On ----------------------------- Changes * Additions to Apache configuration file * Under Red Hat Linux 9, any configuration settings placed in /etc/httpd/conf.d will be automatically included * Much nicer to handle :-) * Contents of changes * sausalito.conf added * VirtualHost setting uses port 444 * log file setting * Alias setting * I hope 81 port will be available for SSL ----------------------------- Try to Log In * Access http://FQDN:444/ * What is the admin password? * Now initialized to 'admin' * Can't become root? * root password is now also 'admin' ----------------------------- Trouble after installation... * Newly installed modules will not appear in menu until you restart: /etc/init.d/cced.init restart * You need restart again if you add new module ----------------------------- Things to pay attention to * Do 'make rpm' as root It's ok, but... * 'rpm -ta' is not available * Change to 'rpmbuild -ta' * http://www.rpm.org/hintskinks/rpmbuild * Path info of configuration files are wrong, sometimes ----------------------------- Things to pay attention to (packages) * ftp now uses vsftpd * Don't create user before installing Open Qube * Home directories should be under /home/users * gettext version differences * msgfmt, msgunfmt have no -e option zh_CN, zh_TW will not be able to build * Due to format change, msgunfmt doesn't work properly ----------------------------- Future Topics * autoconf, automake configuration * Make an ISO image * Your help would be appreciated * More time would be appreciated * FHS support ----------------------------- Joining the Development Team * Mailing lists * coba-o@open.cobaltqube.org 156 subscribers (Sept 11, 2003) * cvs-commits@open.cobaltqube.org 7 subscribers (Sept 11, 2003) * Anonymous CVS * CVS on the Web * http://open.cobaltqube.org/cgi-bin/cvsweb.cgi ----------------------------- Your help would be appreciated * People who do porting * People who test the result * People who write documents