erl_interface/ ig
luc
ltaesch@REDACTED
Sun Oct 29 12:32:37 CET 2000
thks, its now installed properly.
are there any way to have thes patch available on the fix section of the web ?
i thought wongg put some in the spc file of its rpm, but currently, the sourceforge is still empty.
maybe it would be nice to have the patch on the erlang.org site ?
Raimo Niskanen wrote:
> This might be the problem with erl_connect.c not compiling due to that
> autoconf fails to set HAVE_STRDUP correctly, which happens if strdup()
> is defined as a macro. Check the output from building erl_interface.
>
> If this is the case, the simplest correction would be to patch
> OTPROOT/lib/erl_interface/erl_connect.c:
> 23,28c23
> < # include "config.h" /* FIXME: Autoconf Info prefers
> <config.h> */
> < #else
> < # define HAVE_STRDUP 1 /* we, uh, know that everyone's
> got strdup() */
> < # ifdef VXWORKS
> < # undef HAVE_STRDUP /* ...'cept for VxWorks */
> < # endif
> ---
> > # include "config.h" /* FIXME: Autoconf Info prefers <config.h> */
> 30a26,30
> > # define HAVE_STRDUP 1 /* we, uh, know that everyone's got strdup() */
> > #ifdef VXWORKS
> > # undef HAVE_STRDUP /* ...'cept for VxWorks */
> > #endif
> >
>
> / Raimo Niskanen, Erlang/OTP
>
> luc wrote:
> >
> > im trying to build ig, and i discovered erl_interface is not built and
> > installed in the global make process (R7b).
> > is that normal ?
> >
> > all i have in the target dir is a dir with some doc, but no include ,
> > src or lib dir, as in R6b (but i installed R6 from the rpm, not the
> > source)
> >
> > this is a linux, mandrake installation.
> > can anybody confirm on another platform that erl_interface build
> > correctly ?
> >
> > --
> > First, they ignore you.
> > Then, they laugh at you.
> > Then, they fight you.
> > Then, you win.
> > --- Gandhi
> > Working code is what matter, not your market capitalization.--Kurt granroth
> > This is not a matter of waiting for something to happen. Instead, it is a matter of making something happen. -- Matthias:
> >
> >
--
First, they ignore you.
Then, they laugh at you.
Then, they fight you.
Then, you win.
--- Gandhi
Working code is what matter, not your market capitalization.--Kurt granroth
This is not a matter of waiting for something to happen. Instead, it is a matter of making something happen. -- Matthias:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20001029/8bfa99ef/attachment.htm>
More information about the erlang-questions
mailing list