|
|
|
9:
Re: Re: Re: Re: problems with building LAMS from source
|
In response to 8
|
07/19/09 07:27 AM |
|
Alright... i have sorted out the mysql issue. Now the service is listening on port 3306, and i have successfully run rebuild-db.
However, upon running assemble-ear i get the following error:
BUILD FAILED
/home/navin/software/moodle/lams2.2_source/lams_build/build.xml:62: The following error occurred while executing this line:
/home/navin/software/moodle/lams2.2_source/lams_common/build.xml:168: Compile failed; see the compiler error output for details.
Where is the compiler error output?
I have pasted the complete output here:
http://pastebin.com/f36991665
Posted by Navin Jathan
|
|
|
10:
Re: Re: Re: Re: Re: problems with building LAMS from source
|
In response to 9
|
07/19/09 06:52 PM |
|
Cool about the mysql. The compile problem looks like it can't find some libraries that are in the jboss folder. In lams_build/unix.properties is configured the path to jboss, by default this is /usr/local/jboss-4.0.2 - have you extracted jboss 4.0.2 to this path?
Posted by Jun-Dir Liew
|
|
|
|
|
|
|
15:
Re: Re: Re: Re: Re: Re: Re: Re: Re: problems with building LAMS from source
|
In response to 14
|
07/22/09 01:44 PM |
|
Thanks a lot Ernie for this mini-guide!
From what it looks, lams 2.4 looks a little different from 2.2... please bear with me if the questions look a bit noobish..
One of the lines in the above link says "There are a few settings you would need to change in the file insert_lams_unix_config_data.sql under lams_common/db/sql/ directory. Some important that you want to review are: ServerURL, EARDir, TempDir, DumpDir."
What are the ideal values for these variables supposed to look like?
Say, i have just downloaded and have lams 2.4 directory tree in the directory /var/www/htdocs/lams , and jboss in /var/www/htdocs/jboss5.1.0GA... Thus i haven't got anything in /var/opt (as suggested by the TempDir, DumpDir in the sample insert_lams_unix_config_data.sql .
Also, is the ServerURL supposed to be something like http://lams.local , where i have defined something like this in the httpd.conf file:
<VirtualHost *:80>
ServerAdmin navin@lams.local
DocumentRoot /var/www/htdocs/lams/
<Directory "/var/www/htdocs/lams">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ServerName lams.local
</VirtualHost>
Where, again, i have the recently downloaded lams2.4 directory tree in /var/www/htdocs/lams ?
Posted by Navin Jathan
|
|
|
17:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: problems with building LAMS from source
|
In response to 15
|
07/22/09 02:43 PM |
|
I have compiled lams as per the hot-to, however, without correctly configuring the insert_lams_unix_config_data.sql i think.. i did not get any errors while executing the "ant" commands.. Does this mean the build was successful?
The last line in the how-to says "Go into your jboss-5 directory and start it". I ran the run.sh file in the jboss5.1.0GA directory. It looked to have started after a little more than 4 minutes... but now i dont know what next! how do i access lams?
Posted by Navin Jathan
|
|
|
|