|
|
| Author |
Message |
|
| Qrilka |
Posted: Wed Nov 22, 2006 9:46 pm |
|
|
|
User
Joined: 21 Sep 2006
Posts: 141
|
I'm a Linux newbie (at last I have installed it ) and now I'm trying to install Erlang on my Kubunttu. There were some problems with packages but I've solved them. Right now I can not |
|
|
| Back to top |
|
| Guest |
Posted: Wed Nov 22, 2006 10:34 pm |
|
|
|
Guest
|
Kirill Zaborski writes:
> I'm a Linux newbie (at last I have installed it ) and now I'm trying to
> install Erlang on my Kubunttu. There were some problems with packages but
> I've solved them. Right now I can not run make, it says:
> hipe/hipe_mkliterals.c:351: error: 'X86_LEAF_WORDS' undeclared here (not in
> a function)
> hipe/hipe_mkliterals.c:352: error: 'X86_NR_ARG_REGS' undeclared here (not in
> a function)
> There is just 1 link in Google about this issue and it says that I need to
> disable HiPE with ./configure --disable-hipe. I've tried this but I get the
> same error.
> I'm stuck
> Maybe I miss something else?
Post a build log from a freshly unpacked OTP R11B-2 tar ball,
complete with the initial ./configure command and the subsequent
make command.
The errors could be caused by 'm4' failures earlier in the build.
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| Qrilka |
Posted: Wed Nov 22, 2006 11:41 pm |
|
|
|
User
Joined: 21 Sep 2006
Posts: 141
|
On 11/23/06, Mikael Pettersson <mikpe@it.uu.se (mikpe@it.uu.se)> wrote:Quote: Kirill Zaborski writes:
> I'm a Linux newbie (at last I have installed it  ) and now I'm trying to
> install Erlang on my Kubunttu. There were some problems with packages but
> I've solved them. Right now I can not |
|
|
| Back to top |
|
| Guest |
Posted: Thu Nov 23, 2006 5:31 am |
|
|
|
Guest
|
I think it is easier to use the packages and building the unstable
packages in a stable Kubuntu is a matter of a couple of commands. Add
the unstable repo to /etc/apt/sources.list, aptitude update, fakeroot
apt-get source --build erlang, wait some time and voila!
Yes, this is rough, if you need more info I can write a detailed
tutorial in my blog.
On Thu, 2006-11-23 at 00:35 +0300, Kirill Zaborski wrote:
> I'm a Linux newbie (at last I have installed it ) and now I'm
> trying to install Erlang on my Kubunttu. There were some problems with
> packages but I've solved them. Right now I can not run make, it says:
> hipe/hipe_mkliterals.c:351: error: 'X86_LEAF_WORDS' undeclared here
> (not in a function)
> hipe/hipe_mkliterals.c:352: error: 'X86_NR_ARG_REGS' undeclared here
> (not in a function)
> There is just 1 link in Google about this issue and it says that I
> need to disable HiPE with ./configure --disable-hipe. I've tried this
> but I get the same error.
> I'm stuck
> Maybe I miss something else?
>
> BR,
> Kirill.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-questions
--
Pupeno <pupeno@pupeno.com> (http://pupeno.com)
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Nov 23, 2006 10:04 am |
|
|
|
Guest
|
Kirill Zaborski writes:
> On 11/23/06, Mikael Pettersson <mikpe@it.uu.se> wrote:
> >
> > Kirill Zaborski writes:
> > > I'm a Linux newbie (at last I have installed it ) and now I'm trying
> > to
> > > install Erlang on my Kubunttu. There were some problems with packages
> > but
> > > I've solved them. Right now I can not run make, it says:
> > > hipe/hipe_mkliterals.c:351: error: 'X86_LEAF_WORDS' undeclared here (not
> > in
> > > a function)
> > > hipe/hipe_mkliterals.c:352: error: 'X86_NR_ARG_REGS' undeclared here
> > (not in
> > > a function)
> > > There is just 1 link in Google about this issue and it says that I need
> > to
> > > disable HiPE with ./configure --disable-hipe. I've tried this but I get
> > the
> > > same error.
> > > I'm stuck
> > > Maybe I miss something else?
> >
> > Post a build log from a freshly unpacked OTP R11B-2 tar ball,
> > complete with the initial ./configure command and the subsequent
> > make command.
> >
> > The errors could be caused by 'm4' failures earlier in the build.
>
>
> Yep there was an error about m4, but I've installed it (as some other
> packages). It looks like there were some wrong intermediate result resulting
> in this error. But I didn't find a way to clean up directory after erroneous
> ./configure.
That explains it. You got broken intermediate generated files that weren't
regenerated once you installed m4, and this lead to the build errors you
quoted above. An rm -rf of the Erlang/OTP source tree followed by a fresh
unpack/configure/make sequence should have worked.
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|