Results 1 to 4 of 4
I don't get it, I've got mandriva, it's loaded with lots of great stuff, but has no make, I thought linux was all open source and stuff but I can't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-02-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 1
No Make!? Wtf
I don't get it, I've got mandriva, it's loaded with lots of great stuff, but has no make, I thought linux was all open source and stuff but I can't even get the tool online, so I can't install apache and that's just unacceptable, because I love messing around with apache, and I'm now banned from ever using micro products ever again.
- 02-02-2008 #2Just Joined!
- Join Date
- Jan 2007
- Location
- Sydney, Australia
- Posts
- 86
I suggest you install make if you want to use it. Using urpmi it is quite easy. It is in the main/release directory. I dare say it is even on your install dvd (but I have not checked). Just looking at any of the Mandriva mirrors and you will find it. Here is an exact link to the make rpm, you may need to install dependencies as well of course.
ftp://ftp.riken.go.jp/Linux/mandrake...008.0.i586.rpm
- 02-02-2008 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 3
solution for madriva daisy
Website Downloads Documentation Knowledgebase Wiki Issue tracker Commercial support
Daisy 2.2-RC cocoondev.org Home | Wiki Home
User: guest
Change login Register Change locale Tools
Query Search Book publishing Document basket Recent Changes
Actions
Add to basket Changes Versions Referrers Hide navigation PDF
Variants (1)
>> main - en How-to Install/Config on Mandriva Linux
Daisy install on Mandriva Linux :
System configuration = Mandriva 10.x server 2005LE - Apache 2.0xx avec Virtual Hosts - Java 1.5x - Tomcat 5.x - mod-jk 1.2x
Version française du document : Forums Apache France • Afficher le sujet - Daisy (cocoondev.org)
Step 1 - Create Databases & Users - (syntax issue fixed here)
CREATE DATABASE daisyrepository
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
GRANT ALL ON daisyrepository.* TO daisy@'localhost' IDENTIFIED BY 'daisy'
CREATE DATABASE openjms
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
GRANT ALL ON openjms.* TO openjms@'localhost' IDENTIFIED BY 'openjms'
Step 2 - Download & tar
console as root
$: cd /usr/share/
Download « daisy-<version>.tar.gz” from Index of /dist/daisy
$: tar xvzf daisy-<version>.tar.gz
>> Get : /usr/share/daisy-<version>
>> Rename: /usr/share/daisy
$: chown if necessary: « chown –R root :root daisy (root or other user)
Step 3 - OpenJMS - configuration
1° environment parameters
“DAISY_HOME /usr/share/daisy”“OPENJMS_HOME /usr/share/daisy/openjms”So, as root :
$: export DAISY_HOME=/usr/share/daisy$: export OPENJMS_HOME=/usr/share/daisy/openjmsVerify ..
$: echo $DAISY_HOME$: echo $OPENJMS_HOME2° configuration
$: cd /usr/share/daisy/install (go directory <DAISY_HOME>/install)Launch configuration script (as root)
$: ./daisy-openjms-configInformation required :
Choose database = 1
Database driver class default = com.mysql.jdbc.Driver (accept)
database driver location /usr/share/daisy/lib/mysql/jars/mysql-connector-java-xx .jar (accept)
database url (enter) jdbc:mysql//localhost/openjms
database user default (enter) openjms
password (as you want)
(updating files in) ../openjms/.&. /config/openjms.xml & /bin/setenv.sh cocoon.xconf
3° create tables inside openjms database
$: cd /usr/share/daisy/openjms/bin = go to directory <OPENJMS_HOME>/bin Launch configuration script (console as root)
$: ./dbtool.sh -create -config $OPENJMS_HOME/config/openjms.xmlDlog4j.configuration=$DAISY_HOME/misc/openjms-log4j.propertiesI Get an error : >=== "pooled connection" try to connect as daisy@mandrake - host name not choosed as localhost but as ‘mandrake’ whose name is Mandriva Linux hostname
Solution >=== as Webmin/servers/Mysql - Global Options / Host permissions - Add host 'mandrake'
We retry configuration script:
$:./dbtool.sh -create -config $OPENJMS_HOME/config/openjms.xmlDlog4j.configuration=$DAISY_HOME/misc/openjms-log4j.propertiesSuccessfully created tables4° start OpenJMS:
go directory <OPENJMS_HOME>/bin
Launch script
$: ./startup.shSession is working and dedicated
Step 4 - Daisy Repository Server
1°) Open a new shell session
$: export DAISY_HOME=/usr/share/daisy2°) Install
go directory <DAISY_HOME>/install
$: ./daisy-repository-init(information suggested or/and requested)
> Database 1 mysql ((accept))
> driver class default = com.mysql.jdbc.Driver ((accept))
> database driver location /usr/share/daisy/lib/mysql/jars/mysql-connector-java-xx .jar ((accept))
> database url (enter) jdbc:mysql//localhost/daisyrepository
> database user/passw = daisy/daisy ((accept or choose))
> Enter initial Daisy user default = testuser/testuser ((accept or choose))
> creation database
> smtp = smtp.free.fr ((accept or choose your ISP smtp))
> from adress = toto@free.fr ((accept or choose))
> Daisy data directory location = /var/local/daisydata ((accept or choose))
> modify File cocoon.xconf (user/pass)
3° Start Daisy Repository Server
go directory <DAISY_HOME>/repository-server/bin & run daisy-repository-server
$: cd /usr/share/daisy/repository-server/bin$: ./daisy-repository-server /var/local/daisydatastarting Merlin 3.3.0 ...
Step 5 - Initialising the Daisy Wiki
1°) Start a new shell session
$: export DAISY_HOME=/usr/share/daisy2° Install Daisy Wiki
Go directory <DAISY_HOME>/install
$: ./daisy-wiki-initConfig Information requested :
> daisy repository listening cPanel® ((accept or choose))
> testuser/testuser ((same as last step choice))
> creation guest user & role, registrar user & update cocoon.xconf
> Acl default role guest (read) & for others (read/write)
3° Create Daisy Wiki Site
The Daisy Wiki has the concept of multiple sites, these are multiple views on top of the same repository. You need at least one site to do something useful with the Daisy Wiki, so we are now going to create one. Open a command prompt or shell and set an environment variable DAISY_HOME, pointing to the directory where Daisy is installed.
Go directory <DAISY_HOME>/install
$: ./daisy-wiki-add-site> daisy repository server listening htttp://localhost:9263
> testuser/testuser ((same as last step choice))
> Nom pour le site : wikitest (name collection, directory name) ((accept or choose))
> langage = default
> sites directory location = /usr/share/daisy/daisywiki/webapp/daisy/sites ((((accept or choose))
Create Daisy Wiki new site = collection docs, navigation, home page, siteconf.xml
Step 6 - Tomcat/Apache in place of Jetty
Two Solutions:
copy/move /DAISY_HOME/daisywiki
Use <host> <context> Tomcat parameter in « server.xml » (redirect Host or sub-dir to DAISY_HOME/daisywiki
6-1° copy/move /DAISY_HOME/daisywiki
Deploying on Tomcat The Daisy webapp can be freely moved out of the DAISY_HOME/daisywiki directory and deployed on another servlet container. It has no external dependencies: it needs no other stuff from DAISY_HOME, nor does it need access to the daisy data directory. Here is how you can deploy Daisy on Tomcat (this was tried with Tomcat 5.0.2
:
6-1-1°) copy
……from.:.Daisy's webapp directory - DAISY_HOME/daisywiki/webapp)
……to……:.TOMCAT_HOME/webapps/cocoon (thus the webapp directory gets renamed to cocoon)
6-1-2°) Check versions of xerces and xalan in /endosed library path of Tomcat directory):
$: ls common/endorsed/xercesImpl.jar xml-apis.jar$: rm common/endorsed/*$: cp webapps/cocoon/WEB-INF/lib/xercesImpl-<version>.jar common/endorsed/$: cp webapps/cocoon/WEB-INF/lib/xml-apis.jar common/endorsed/$: cp webapps/cocoon/WEB-INF/lib/xalan-<version>.jar common/endorsed/ Releases in Mandriva 2005LE working :
xerces-j2-2.6.2-6jpp - /usr/share/java/xerces-j2.jar - 13/06/05
xalan-j2-2.6.0-3jpp - /usr/share/java/xalan-j2.jar - 27/05/05
6-1-3°) Launch Tomcat ,
… if ‘autodeploy’, you’ll find application
… if not, deploy
… if ‘jk-mod.conf’ autogenerate, don’t forget to stop/start apache after generation of file
6-2° Solution – server.xml de Tomcat redirection to /DAISY_HOME/daisywiki
See this article Ici . Forums Apache France • Afficher le sujet - Tomcat 5 Java 1.5 Mandriva mod_jk 1.2 - Translation comes later for this how-to
Step 7 – Process Start/Stop
1°) Start OpenJMS
$: export DAISY_HOME=/usr/share/daisy$: export OPENJMS_HOME=$DAISY_HOME/openjms$: cd $DAISY_HOME/openjms/bin$: ./startup.sh2) Start Daisy Repository Server
$: export DAISY_HOME=/usr/share/daisy$: cd $DAISY_HOME/repository-server/bin$: ./daisy-repository-server /var/local/daisydata3°) start Tomcat OR Jetty
Daisy requires an expanded webapp, not a war archive.
4°) Web Browser access to application
http://localhost:8080/cocoon/daisy/ if Tomcat
http://localhost/cocoon/daisy/ if Apache/Tomcat
Other Port if you had configured others ..
5) STOP
1° - Daisy Wiki
2° - Daisy Repository Server - kill process ...??
3° - OpenJMS.
$: cd <OPENJMS_HOME>/bin$: ./shutdown -u admin -p <your-password>Comments (0)
Comments Hide
There are no comments.
Add a comment
Please log in to be able to add comments.
Home
Live sites
SVN upgrade actions
Skinning Daisy
Google Summer of Code 2007
Frontend (wiki) tutorials & extensions
Repository tutorials & extensions
Install & config
Auto Start/Stop Services on Mandriva Linux
Connecting to Jetty via mod_jk
How-to Install/Config on Mandriva Linux
Integrating DaisyWiki and JAAS
PostgreSQL installation
PostgreSQL Installation Notes
URL management for daisy sites
Miscellaneous
Design documents & proposals
More design documents & proposals
Advertisement
Daisy hosting, installation, support. Workshops and turnkey Daisy CMS projects. Get Daisy from its creators.
outerthought.org
Downloads provided by
Open source stats
- 02-02-2008 #4
Make along with other development tools are not available on the live cd versions. You can however use EasyUrpmi to setup the various main, contrib, updates and plf repos and then use the package manager to install make. The full cd set or the dvd have the development tools so if using urpmi online repos is not an option, try to get a copy of the dvd or cd set.


Reply With Quote
