Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  Installing R13B02-1: Questions on curses and gcc

Guest
Posted: Fri Oct 23, 2009 10:08 pm Reply with quote
Guest
Hi, Sorry if these are FAQs. I am trying to install R13B02-1 on
opensuse 11.0.

The following curses libraries are installed
# locate ncurses
/lib/libncurses.so.5
/lib/libncurses.so.5.6
/lib/libncursesw.so.5
/lib/libncursesw.so.5.6
/lib64/libncurses.so.5
/lib64/libncurses.so.5.6
/lib64/libncursesw.so.5
/lib64/libncursesw.so.5.6

but when I try to configure with the command

script -c "./configure" configure.log

the log ends with
checking for kstat_open in -lkstat... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltermlib... no
configure: error: No curses library functions found

Question 1: Which curses library do I need for R13B02-1?

I tried configuring without termcap:

script -c "./configure --without-termcap" configure.log

but now the log ends:

checking size of long long... 8
checking if we should add -fno-tree-copyrename to CFLAGS for
computed gotos to work properly... yes
checking for broken gcc-4.3.0 compiler... yes
configure: error: This gcc miscompiles the Erlang runtime system;
please use a different version

The README says "gcc-4.3.0 has a serious optimizer bug. It produces
an Erlang emulator that will crash immediately. The bug is supposed
to be fixed in gcc-4.3.1."

My gcc is at version 4.3.1:

# gcc --version
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]

Question2: Which gcc do I need to compile R13B02-1?

Roger

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org

Post received from mailinglist
Guest
Posted: Fri Oct 23, 2009 11:19 pm Reply with quote
Guest
On Fri, Oct 23, 2009 at 11:39:46PM +0200, Roger Price wrote:
> Hi, Sorry if these are FAQs. I am trying to install R13B02-1 on opensuse
> 11.0.
>
> The following curses libraries are installed
> # locate ncurses
> /lib/libncurses.so.5
> /lib/libncurses.so.5.6
> /lib/libncursesw.so.5
> /lib/libncursesw.so.5.6
> /lib64/libncurses.so.5
> /lib64/libncurses.so.5.6
> /lib64/libncursesw.so.5
> /lib64/libncursesw.so.5.6
>
> but when I try to configure with the command
>
> script -c "./configure" configure.log
>
> the log ends with checking for kstat_open in -lkstat... no
> checking for tgetent in -lncurses... no
> checking for tgetent in -lcurses... no
> checking for tgetent in -ltermcap... no
> checking for tgetent in -ltermlib... no
> configure: error: No curses library functions found
>
> Question 1: Which curses library do I need for R13B02-1?
>
> I tried configuring without termcap:
>
> script -c "./configure --without-termcap" configure.log
>
> but now the log ends:
>
> checking size of long long... 8
> checking if we should add -fno-tree-copyrename to CFLAGS for computed
> gotos to work properly... yes
> checking for broken gcc-4.3.0 compiler... yes
> configure: error: This gcc miscompiles the Erlang runtime system;
> please use a different version
>
> The README says "gcc-4.3.0 has a serious optimizer bug. It produces an
> Erlang emulator that will crash immediately. The bug is supposed to be
> fixed in gcc-4.3.1."
>
> My gcc is at version 4.3.1:
>
> # gcc --version
> gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
>
> Question2: Which gcc do I need to compile R13B02-1?
>
> Roger
>
________________________________________________________________


Perhaps you need to install libncurses5-dev

Don't know about which gcc is required for R13B02-1 but
for R13B01 I used

$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3

and it worked fine.

~Michael


________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org

Post received from mailinglist
Guest
Posted: Sat Oct 24, 2009 10:25 am Reply with quote
Guest
Roger Price writes:
> Hi, Sorry if these are FAQs. I am trying to install R13B02-1 on
> opensuse 11.0.
>
> The following curses libraries are installed
> # locate ncurses
> /lib/libncurses.so.5
> /lib/libncurses.so.5.6
> /lib/libncursesw.so.5
> /lib/libncursesw.so.5.6
> /lib64/libncurses.so.5
> /lib64/libncurses.so.5.6
> /lib64/libncursesw.so.5
> /lib64/libncursesw.so.5.6

These are ncurses runtime libraries.

> but when I try to configure with the command
>
> script -c "./configure" configure.log
>
> the log ends with
> checking for kstat_open in -lkstat... no
> checking for tgetent in -lncurses... no
> checking for tgetent in -lcurses... no
> checking for tgetent in -ltermcap... no
> checking for tgetent in -ltermlib... no
> configure: error: No curses library functions found
>
> Question 1: Which curses library do I need for R13B02-1?

You need the ncurses development packages, which contain
include files and sometimes additional library files. They
would typically be called something like ncurses-dev or -devel.

> I tried configuring without termcap:
>
> script -c "./configure --without-termcap" configure.log
>
> but now the log ends:
>
> checking size of long long... 8
> checking if we should add -fno-tree-copyrename to CFLAGS for
> computed gotos to work properly... yes
> checking for broken gcc-4.3.0 compiler... yes
> configure: error: This gcc miscompiles the Erlang runtime system;
> please use a different version
>
> The README says "gcc-4.3.0 has a serious optimizer bug. It produces
> an Erlang emulator that will crash immediately. The bug is supposed
> to be fixed in gcc-4.3.1."
>
> My gcc is at version 4.3.1:
>
> # gcc --version
> gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]

Note that it says "prerelease". The bug in question (PR tree-optimization/36339)
was fixed on the gcc-4_3-branch 2008-05-28 in revision 136101.

You need a gcc update.

> Question2: Which gcc do I need to compile R13B02-1?

Most gcc versions work, so use whatever your Linux vendor tests and ships.
If they ship broken crap like gcc-4.3.0 and don't offer updates, use gcc-4.3.4
or gcc-4.4.2.

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org

Post received from mailinglist
Guest
Posted: Sat Oct 24, 2009 12:21 pm Reply with quote
Guest
Thanks Michael, Thanks Mikael, I installed ncurses-devel and
used broken gcc 4.3.1 to compile gcc 4.3.2 which is acceptable to
R13B02-1 configure.

Roger

On Sat, 24 Oct 2009, Mikael Pettersson wrote:
> You need a gcc update.
> > Question2: Which gcc do I need to compile R13B02-1?
_______________

By the way, is top-posting acceptable in this list?

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org

Post received from mailinglist
timrila
Posted: Tue Jun 12, 2012 7:37 am Reply with quote
User Joined: 28 Mar 2012 Posts: 32
good article always make people feel happy, Useful information. This is going to save me a lot of time. I like your site.
Soccer Jerseys
Football Shirts
Netherlands Soccer Jersey
Barcelona Jersey
Cheap Soccer Jerseys
Germany Soccer Shirt
Spain Soccer Jersey
View user's profile Send private message
wuji
Posted: Wed Aug 15, 2012 8:44 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
so hot.""I didn't feel that was a come-on," Hunter said, said, Cheap Ralph Lauren Shirts said, adding that the comment "just flew out of my
Hunter said the couple has been worn down by the the cheap designer *beep* the scrutiny and pressure brought on by their high profile
that began while Edwards was running for the 2008 presidential presidential cheap Ralph Lauren Polo presidential nomination."For me, for my part in it, it's because
no longer interested in hiding, hiding our relationship," she said. said. cheap Ralph Lauren said. "I don't know if you've noticed, but we've had
lot of media scrutiny. It's complicated and it's hard. hard. cheap polo shirts hard. It wears you down after a while."Hunter, 48,
say whether one of them made the break."That's private. We We [h4]discount designer *beep*[/h4] We decided together to end it. It's hard.
painful," she said.She rejected a suggestion that the relationship may may cheap replica *beep* may have been a mistake."I know many things in the
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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