|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Installing R13B02-1: Questions on curses and gccHi, 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 |
|
|
Re: Installing R13B02-1: Questions on curses and gccOn 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 |
|
|
Re: Installing R13B02-1: Questions on curses and gccRoger 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 |
|
|
Re: Installing R13B02-1: Questions on curses and gccThanks 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 |
| Free embeddable forum powered by Nabble | Forum Help |