Re: texi2dvi error in make

Robert J Goedman <[email protected]> Mon, 13 May 2013 08:26:17 -0700
Newsgroups gmane.comp.gnu.mcsim.bugs
Message-ID <[email protected]>
--Apple-Mail=_CCC3D188-2346-44F2-8267-7DEDDE8F7C2B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Hi Frederic,

After taking out the '-o $@' in the build lines for .texinfo.dvi and =
.texinfo.pdf in Makefile.in in the docs subdirectory, the build =
completes without problems, including the mcsim.pdf & mcsim.dvi. i.e.:

make distclean
./configure CC=3Dclang
make
make install


I added the 'CC=3Dclang' to make sure the right compiler was selected.

make check fails, but manually perc.model works as per the =
documentation. Not sure about the Makefile in that directory, the =
Makefile in samples/1cpt might be a better starting point for me. The =
R/deSolve examples work great!

Regards,
Rob J. Goedman
[email protected]




On May 13, 2013, at 6:56 AM, Robert J Goedman <[email protected]> =
wrote:

> Hi Frederic,
>=20
> Thank you for the answer. I'll play around with it a bit more, but as =
you state, the error is not affecting the usage of the package.
>=20
> Regards,
> Rob J. Goedman
> [email protected]
>=20
>=20
>=20
>=20
> On May 13, 2013, at 1:29 AM, Frederic Bois <[email protected]> =
wrote:
>=20
>> Hi,
>>=20
>> I don't know, I don't get it and I see nothing wrong with the command =
given.
>> Building the doc automatically is more problems that I imagined for =
automake...
>> In any case, the doc is made last; so if it fails it's no big deal. =
The compiled doc is in the distributed package
>> anyway and you don't even need to redo it. If you want the info file =
installed, the best is then to
>> do "install-info mcsim.info" yourself.
>>=20
>> Sorry about that. Maybe I should remove the troubled makefile from =
the doc directory...
>>=20
>> Frederic Bois
>>=20
>>=20
>>=20
>> On 10/05/2013 19:21, Robert J Goedman wrote:
>>> Hi,
>>>=20
>>> To install mcsim-5.5.0 I'm using texi2dvi (GNU Texinfo 4.8) 1.34 on =
Mac OSX 10.8 and get below error message.
>>>=20
>>> I wonder if there is a workaround for that.
>>>=20
>>> Rob J. Goedman
>>> [email protected]
>>>=20
>>>=20
>>> ...
>>> libtool: link: ranlib .libs/libmcsim.a
>>> libtool: link: ( cd ".libs" && rm -f "libmcsim.la" && ln -s =
"../libmcsim.la" "libmcsim.la" )
>>> Making all in doc
>>> TEXINPUTS=3D".:$TEXINPUTS" \
>>> 	MAKEINFO=3D'/bin/sh /Users/rob/Projects/mcsim-5.5.0/missing =
makeinfo   -I .' \
>>> 	texi2dvi  --build-dir=3Dmcsim.t2d -o mcsim.dvi  \
>>> 	mcsim.texinfo
>>> /usr/bin/texi2dvi: Can't use option `--output' with more than one =
argument.
>>> make[2]: *** [mcsim.dvi] Error 2
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>> robs-15inch-2:mcsim-5.5.0 rob$
>>>=20
>>>=20
>>>=20
>>=20
>=20


--Apple-Mail=_CCC3D188-2346-44F2-8267-7DEDDE8F7C2B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi =
Frederic,<div><br></div><div>After taking out the '-o $@' in the build =
lines for .texinfo.dvi and .texinfo.pdf in Makefile.in in the docs =
subdirectory, the build completes without problems, including the =
mcsim.pdf &amp; mcsim.dvi. i.e.:</div><div><br></div><div>make =
distclean</div><div>./configure CC=3Dclang</div><div>make</div><div>make =
install</div><div><br></div><div><br></div><div>I added the 'CC=3Dclang' =
to make sure the right compiler was =
selected.</div><div><br></div><div>make check fails, but manually =
perc.model works as per the documentation. Not sure about the Makefile =
in that directory, the Makefile in samples/1cpt might be a better =
starting point for me.&nbsp;The R/deSolve examples work =
great!</div><div><br></div><div>Regards,<br><div =
apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px; "><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>Rob J. Goedman</div><div><a =
href=3D"mailto:[email protected]">[email protected]</a></div><div><br></=
div></div></span><br class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br><div><div>On May 13, 2013, at 6:56 AM, Robert J Goedman &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi =
Frederic,<div><br></div><div>Thank you for the answer. I'll play around =
with it a bit more, but as you state, the error is not affecting the =
usage of the package.</div><div><br></div><div>Regards,<br><div =
apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div>Rob J. =
Goedman</div><div><a =
href=3D"mailto:[email protected]">[email protected]</a></div><div><br></=
div></div></span><br class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br><div><div>On May 13, 2013, at 1:29 AM, Frederic Bois &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite">Hi,<br><br>I don't know, I don't get it and I see nothing =
wrong with the command given.<br>Building the doc automatically is more =
problems that I imagined for automake...<br>In any case, the doc is made =
last; so if it fails it's no big deal. The compiled doc is in the =
distributed package<br>anyway and you don't even need to redo it. If you =
want the info file installed, the best is then to<br>do "install-info =
mcsim.info" yourself.<br><br>Sorry about that. Maybe I should remove the =
troubled makefile from the doc directory...<br><br>Frederic =
Bois<br><br><br><br>On 10/05/2013 19:21, Robert J Goedman =
wrote:<br><blockquote type=3D"cite">Hi,<br><br>To install mcsim-5.5.0 =
I'm using texi2dvi (GNU Texinfo 4.8) 1.34 on Mac OSX 10.8 and get below =
error message.<br><br>I wonder if there is a workaround for =
that.<br><br>Rob J. Goedman<br><a =
href=3D"mailto:[email protected]">[email protected]</a><br><br><br>...<b=
r>libtool: link: ranlib .libs/libmcsim.a<br>libtool: link: ( cd ".libs" =
&amp;&amp; rm -f "libmcsim.la" &amp;&amp; ln -s "../libmcsim.la" =
"libmcsim.la" )<br>Making all in doc<br>TEXINPUTS=3D".:$TEXINPUTS" =
\<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>MAKEINFO=3D'/bin/sh /Users/rob/Projects/mcsim-5.5.0/missing =
makeinfo &nbsp;&nbsp;-I .' \<br><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>texi2dvi =
&nbsp;--build-dir=3Dmcsim.t2d -o mcsim.dvi &nbsp;\<br><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>mcsim.texinfo<br>/usr/bin/texi2dvi: Can't use option `--output' =
with more than one argument.<br>make[2]: *** [mcsim.dvi] Error =
2<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error =
2<br>robs-15inch-2:mcsim-5.5.0 =
rob$<br><br><br><br></blockquote><br></blockquote></div><br></div></div></=
blockquote></div><br></div></body></html>=

--Apple-Mail=_CCC3D188-2346-44F2-8267-7DEDDE8F7C2B--