Opened 13 years ago

Closed 13 years ago

#742 closed defect (fixed)

Problem Compiling OpenSource_FDO on Debian Lenny

Reported by: dbx2011 Owned by: gregboone
Priority: major Milestone: 3.6.0
Component: Build System Version: 3.6.0
Severity: 2 Keywords: Debian Lenny Compiling
Cc: External ID:

Description

I'm new here so a big Hello to you all.

I've been trying to get OpenSource FDO to compile for a couple of days now without success its time to shout HELP! hopefully someone can help me solve this one.

I think the issue might be something to do with gcc 4.2 in lenny, as when I try to compile versions 3.4 or 3.5 I run into this issue :

http://osgeo-org.1803224.n2.nabble.com/RE-mapguide-users-Compile-fdo-3-4-0-on-debian-lenny-td2164124.html

there is no rule to make xml-xalan apache module. I also get the same error when I try to compile any version of xml-xalan from source, although xalan installs fine from the .deb package or apt-get I think its version libxalan110-dev.

Anyway I've tried setting the env vars

FDO = [FDO OpenSource]/Fdo FDOUTILITIES = [FDO OpenSource]/Providers/Utilities FDOTHIRDPARTY = [FDO OpenSource]/ThirdParty

And have tried with the internal version of gdal, and the one compiled on my system which is 1.7.3 , nothing seems to gt me past the error compiling xml-xalan. I've also tried the svn version - same error.

I tried the cmake method as a last reort as detailed with versions 3.5 and 3.6 but the thing fails with errors about python libs not found even thougn I have set them :

-- Could not find module FindFDOInternal.cmake or a configuration file for package FDOInternal

-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_PATH)

Each time I try to compile with gcc the appropriate /usr/local/fdo-3.* folder gets created, but the include folder never gets created so I am unable to proceed with MapGuide installation. I'm close to giving up could someone please help.

I'm going to try to attach the output of my compile attempt with v3.6.0 as the problem is slightly different to that with the 3.3 and 3.5 version.

Thanks

Attachments (3)

build_thirdparty.rar (41.7 KB ) - added by dbx2011 13 years ago.
third party build output
build_linux.rar (4.9 KB ) - added by dbx2011 13 years ago.
build linux output
unmanaged.log (3.7 KB ) - added by dbx2011 13 years ago.

Download all attachments as: .zip

Change History (4)

by dbx2011, 13 years ago

Attachment: build_thirdparty.rar added

third party build output

by dbx2011, 13 years ago

Attachment: build_linux.rar added

build linux output

by dbx2011, 13 years ago

Attachment: unmanaged.log added

comment:1 by dbx2011, 13 years ago

Resolution: fixed
Status: newclosed

Apologies and thanks ... managed to get a sucessfull build when using the source form the trunk.

Possibly due to naievity on my part, but worth noting it isnt all that obvious from the FDO section of the website, or the downloads section that a trunk / svn version exists. It was only whilst reading a few other posts around the subject that it became obvious that a trunk version was available which I found a link to form here :

http://www.osgeo.org/files/fdo/docs/BuildFDOOpenSource/files/WS73099cc142f487555a82b2111d48f3663-72f5.htm

would consider linking to this from here

http://fdo.osgeo.org/

or here

http://fdo.osgeo.org/content/downloads

Anyway thanks guys and keep up the good work.

Note: See TracTickets for help on using tickets.