Re: [autotools-idl] IDLC undefined
Brought to you by:
gbrdead
From: <na...@gm...> - 2011-12-30 18:45:16
|
Vlado, Your insight was correct; I managed to install autoconf-orb and its macros went to /usr/share/aclocal, just as you said. I then installed automake-idl with --prefix /usr/local. Subsequent invocations of autoreconf produced the error message that I reported in my first email. The problem did not resolve itself until I re-installed autoconf-orb, just as you predicted. Now, I've got your autotools examples configuring and making beautifully. I didn't know that I could have avoided this by installing automake-idl before autoconf-orb. How exactly does this order work to fix the problem? In any case, thanks in advance for adding this particular point to the documentation for future reference. Also, thank you very, /very/ much for this extremely useful tool. If autoconf-orb and automake-idl work well for my projects, you will have literally saved me months of m4 hacking my own inferior solution. Thanks again! On Fri 2011 Dec 30 19:49, Vladimir Panov wrote: > Hi, N. > > The problem is that the autoconf-orb's macros are not installed > where automake-idl expects them to be. The correct location can be > obtained with this command: > > aclocal --print-ac-dir > > Please, check whether ai_orb.m4, et al. are there. If not then > reinstall autoconf-orb using method 2. from the documentation: > http://autotools-idl.sourceforge.net/autoconf-orb.html#installation > > Here is my hypothesis on what has happened: > You have had automake installed in /usr (from your distro, without > IDL support). Then you have installed autoconf-orb. Its macros went > to /usr/share/aclocal. Then you have installed automake-idl in > /usr/local. Now your default automake has IDL support but it expects > autoconf-orb's scripts in /usr/local/share/aclocal and they are not > there. > > Installing automake-idl before autoconf-orb would have avoided this > problem. I will now improve the documentation to state this order > explicitly. > > Please, tell me if this does not help you. And thanks for your > interest in autotools-idl :-) > > Vlado > > P.S. Usually, packages from your distro will install their autoconf > scripts in /usr/share/aclocal even if you use non-distro automake > installed in /usr/local. So it is a good idea to combine > /usr/share/aclocal and /usr/local/share/aclocal into one directory > (one to be a link to the other). > > > N wrote: > >Vladimir, > > > >I've installed autoconf-orb and automake-idl, but I'm getting an error > >message when I try to autogenerate your examples: > > > > > >nroza@lilith:/tmp/autotools-idl-examples-1.2.1$ ./autogen.sh > >Makefile.am: IDL source seen but `IDLC' is undefined > >autoreconf: automake failed with exit status: 1 > >ln: creating symbolic link `./idlfix': File exists > >ln: creating symbolic link `./config.sub': File exists > >ln: creating symbolic link `./config.guess': File exists > >ln: creating symbolic link `./install-sh': File exists > >ln: creating symbolic link `./idlfix': File exists > >ln: creating symbolic link `./config.sub': File exists > >ln: creating symbolic link `./config.guess': File exists > >ln: creating symbolic link `./install-sh': File exists > > > > > >Any idea what's happening? > > > > -- Neil |