[mapguide-users] RE: Unable to compile MGOS 2.2 on Linux (newbie)

ar_gaeta ar_gaeta at yahoo.it
Fri Apr 1 09:47:49 EDT 2011


Hi all.

I've successful installed MGOS 2.2 on Lubuntu 10 (virtual machine with
VMWare), and on a server machine of my agency that is on RedHat (I don't
know the version: how to know the version by shell?).
I've token the binary files from:
http://download.osgeo.org/mapguide/releases/2.2.0/RC4/

On RedHat there is yet a Apache going on. So I try to explain my situation
with 2 scenarios:

1)First Scenario:
I launch all the processes (Apache, Tomcat and MGServer) from my MGOS
directory.
In this case, I'm able to connect to my site with mapadmin and mapagent (via
browser web), but when I try to connect to my site with MapGuideMaestro I
cannot modify any contents and I received these errors:
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_1.jpg 
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_2.jpg 
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_1-lubuntu.jpg 
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_2-lubuntu.jpg 

Why I get these errors? What do they mean?


2)Second Scenario:
I try to utilize the Apache that is yet working on the machine, modifying
the httpd.conf including my mapguide.conf, and copying some modules.
In this case I'm not able to start the httpd service. It gives me these 2
errors:

[root at ss05-02 conf]# httpd -k restart
httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load
/etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so:
wrong ELF class: ELFCLASS32

And, when I comment this line, I get this other error:

[root at ss05-02 conf]# httpd -k restart
httpd: Syntax error on line 1006 of /etc/httpd/conf/httpd.conf: Syntax error
on line 6 of /etc/httpd/conf/mapguide.conf: Cannot load
/etc/httpd/modules/mod_mgmapagent.so into server:
/etc/httpd/modules/mod_mgmapagent.so: wrong ELF class: ELFCLASS32


I've searched on Google and it seems that this error is because my httpd is
in 64bit and my MG libraries are in 32bit. It's exact? In any case, how can
I resolve this?

Thanks again at all.

Riccardo
 



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Unable-to-compile-MGOS-2-2-on-Linux-newbie-tp6203409p6230864.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list