[Pkg-ace-devel] Re: [libtao-doc] Compiling examples

Pascal Giard evilynux at gmail.com
Tue May 8 13:03:59 UTC 2007


Hello Thomas,

On 5/8/07, Thomas Girard <thomas.g.girard at free.fr> wrote:
[...]
> > That said, the GNUmakefile isn't updated... perhaps it's only because
> > it's already ok.
>
> Indeed; I have tried on my machine and it's not either. But there's no
> .mwc file in Quoter, only an .mpc file. I should probably have explained
> this better in the README (and will do) but this means that you should
> replace `mwc-ace' in the previous invocation with `mpc-ace'. Doing this
> updates the GNUmakefile.

Ah! Sounds obvious once you know about mpc/mwc.
I've just looked at the package but i don't really get the distinction
between a project and a workspace... a workspace may contain many
projects?

> After installing tao-idl and gperf-ace packages, which are needed as
> well for the Quoter example, the Quoter example now fails with:
>
[...]
> But that's because the Quoter example uses relative path; if you replace
> lines with ../.. in Quoter.mpc with $(TAO_ROOT), so that lines looking:
[...]
> Now run mpc-ace again; then make and it compiles fine.
>
> I hope it would have been easier with another example ;-)

I picked an example that look complicated so that we would more easily
encounter possible issues.

> I'll fix the README.Debian file.

Thanks! Please quickly introduce mpc/mwc.
Perhaps a quick word on good pratices...?

> > FWIW, i've created a minimalist configure.ac and Makefile.am for
> > libtao-doc/examples/Simple/echo and it works great.
> >
> > I've attached both files in case it's useful.
>
> I'll have a look at these, thanks!

I don't think it's relevant anymore... Isn't it better to take the
workspace file or project file route?

> > Finally, i can see that some examples include perl scripts that use a
> > PerlACE module. I couldn't find any debian package with it... is this
> > known to you maintainers?
>
> I have never felt the PerlACE was needed and understood it was only
> needed for unit tests, but I may be wrong. I'll have another look at
> it.

No, i think you're right... But the annoying thing is that the doc
refers to it...
So as a user i was expecting it to be there.

Perhaps the perl script should be killed... and/or you could drop a
note about this in the README.Debian...

Thanks a bunch for the clarifications and solutions!

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)



More information about the Pkg-ace-devel mailing list