<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Greg,<br>
<br>
There is a build script in the directory where the source is located.
Were there compile problems?<br>
<br>
<br>
Greg Boone wrote:
<blockquote
cite="mid:C58680A9E35DCE45A8F1A3CA451C4DA33CF1C943C1@ADSK-NAMSG-01.MGDADSK.autodesk.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Right now
the mkcatdefs issue is
blocking progress. Jack/Traian, if you can provide any steps on how to
build it
on macosx, that would be appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Greg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:fdo-internals-bounces@lists.osgeo.org">mailto:fdo-internals-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Traian
Stanev<br>
<b>Sent:</b> Saturday, February 14, 2009 2:43 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a><br>
<b>Subject:</b> [fdo-internals] RE: mkcatdefs/gencat message
catalogue files on
OSX<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I *<b>think</b>*
I recompiled
mkcatdefs for OSX and generated the message file on my Mac. I forgot
how I did
it, but I can go through it again to retrace my steps. As far as I
remember, it
wasn’t too painful.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">At the
time, I was actually
going to complain about the whole process of generating the message
catalog
like that instead of having all the messages in a header of some sort…
A
related question, do FDO error messages from the generated catalog ever
get
localized to languages other than English?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Another
thing that is really bad
(at least on OSX) is that the Fdo/Nls code has header files which have
the same
names as standard C headers!! This was confusing the hell out of g++
since
other standard C headers end up including those header files from FDO
rather
than from e.g. /usr/include. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I never
really got FDO to
compile cleanly on OSX, but admittedly I didn’t spend too long on it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Traian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div
style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:fdo-internals-bounces@lists.osgeo.org">mailto:fdo-internals-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Greg
Boone<br>
<b>Sent:</b> Saturday, February 14, 2009 2:31 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a><br>
<b>Subject:</b> [fdo-internals] mkcatdefs/gencat message catalogue
files on OSX<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When generating our FDO message catalogue files
on Linux we
use the following Makefile.am specification which in turn relies on
mkcatdefs
and gencat. However on OSX, mkcatdefs is not available. Are there any
suggestions out there on how we can modify the message catalogue
compilation
process to work with OSX?<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">AUTOMAKE_OPTIONS =
foreign<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">EXTRA_DIST =
FDOMessage.mc
resource.h MessageStatic.rc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">CATDIR =
../../nls/linux/en_US<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">CATALOGS =
FDOMessage.mc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">CATALOGS_CAT =
$(patsubst
%.mc,$(CATDIR)/%.cat,$(CATALOGS))<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">all: catalog_init
$(CATALOGS_CAT)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">clean:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@rm -rf $(CATDIR)/*.cat <o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@rm -rf *.msf<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">catalog_init::<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@if [ ! -d $(CATDIR) ]; then mkdir -p $(CATDIR); fi<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">$(CATALOGS_CAT) :
$(CATDIR)/%.cat :
%.msf<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@rm -f "../../Inc/$(basename $(notdir $<)).h"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@echo "$(FDOTHIRDPARTY)/linux/mkcatdefs/mkcatdefs $(basename $(notdir
$<)) $< | gencat $@"; \<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
$(FDOTHIRDPARTY)/linux/mkcatdefs/mkcatdefs $(basename $(notdir $<))
$<
> $(addsuffix .tmp, $(basename $(notdir $<))); \<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
gencat $@ $(addsuffix .tmp, $(basename $(notdir $<))); \<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
sed -e
'/#include/d' -e '/MF_/s/"\(.*\)\.cat"/\1_cat/' \<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
$(addsuffix
_msg.h, $(basename $(notdir $<))) > \<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
../../Inc/$(addsuffix _msg.h, $(basename $(notdir $<)))<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@rm $(addsuffix _msg.h, $(basename $(notdir $<))) \<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
$(addsuffix
.tmp, $(basename $(notdir $<)))<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@mv ../../Inc/$(basename $(notdir $<))_msg.h ../../Inc/FdoMessage.h<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">%.msf : %.mc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@../McToMsf/McToMsf $(basename $(notdir $<)).mc $(basename $(notdir
$<)).msf "*" FDO<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">INSTALL_DIR =
$(prefix)/nls<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">#install data<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">install :<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@if [ ! -d $(INSTALL_DIR) ]; then mkdir -p $(INSTALL_DIR); fi<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@cp -u -f $(CATDIR)/FDOMessage.cat $(INSTALL_DIR)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">uninstall :<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in;">
@rm -f $(INSTALL_DIR)/FDOMessage.cat<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
fdo-internals mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/fdo-internals">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a>
</pre>
</blockquote>
<br>
</body>
</html>