bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: win32 building error with ncurses version 5.9-20130323...


From: daniel silva ferreira bruno
Subject: Re: win32 building error with ncurses version 5.9-20130323...
Date: Mon, 25 Mar 2013 06:26:09 -0700 (PDT)

Hi. Thanks.

I tested the ncurses version 5.9-20130324 and I found some errors.
The first error is the same of the ncurses version 5.9-20130323. It is described below.

(
linking mingw32-reset.exe to mingw32-tset.exe
(cd /d/ncurses/ultimate2widec/bin && ln -s -f `echo tset.exe|      sed 's/.exe$/
/'|sed 's,^,mingw32-,'|sed 's/$/.exe/'` `echo reset.exe|     sed 's/.exe$//'|sed
 's,^,mingw32-,'|sed 's/$/.exe/'`)
make[1]: Leaving directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-201303
24/progs'
cd panel && make DESTDIR="" RPATH_LIST="/d/ncurses/ultimate2widec/lib" install
make[1]: Entering directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-20130
324/panel'
installing ../lib/libpanelw.la as /d/ncurses/ultimate2widec/lib/libpanelw.la
cd ../lib; /mingw/bin/libtool --tag=CC --silent --mode=install /bin/install -c l
ibpanelw.la /d/ncurses/ultimate2widec/lib
libtool: install: warning: relinking `libpanelw.la'
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
libtool: install: error: relink `libpanelw.la' with the above command before ins
talling it
make[1]: *** [install] Error 1
make[1]: Leaving directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-201303
24/panel'
make: *** [install] Error 2
).

And I found another error, at c++ stage of the building, of this version of the ncurses:

(
make[1]: Leaving directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-201303
24/misc'
cd c++ && make DESTDIR="" RPATH_LIST="/d/ncurses/ultimate2widec/lib" all
make[1]: Entering directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-20130
324/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 1
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_IOSTREAM 1
... HAVE_TYPEINFO 1
... HAVE_VALUES_H 0
... IOSTREAM_NAMESPACE 1
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursesf.cc -o ../obj_lo/cursesf.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursesm.cc -o ../obj_lo/cursesm.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursesw.cc -o ../obj_lo/cursesw.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursespad.cc -o ../obj_lo/cursespad.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursesp.cc -o ../obj_lo/cursesp.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursslk.cc -o ../obj_lo/cursslk.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursesapp.cc -o ../obj_lo/cursesapp.lo
/mingw/bin/libtool --tag=CXX --silent --mode=compile mingw32-g++ -I../c++ -I../i
nclude -I. -DHAVE_CONFIG_H -I. -I../include -I/d/ncurses/ultimate2widec/include/
ncursesw   -D_XOPEN_SOURCE=500  -D_POSIX_C_SOURCE=199506L -DXTSTRINGDEFINES -O2
-W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Wsynth -Wold-s
tyle-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef -Weffc++ -Wn
o-unused -c ../c++/cursesmain.cc -o ../obj_lo/cursesmain.lo
cd ../lib && /mingw/bin/libtool --tag=CXX --silent --mode=link mingw32-g++  ming
w32-g++ -O2 -W -Wall -Wabi -fabi-version=0 -Woverloaded-virtual -Wsign-promo -Ws
ynth -Wold-style-cast -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wundef
-Weffc++ -Wno-unused \
                -o libncurses++w.la ../obj_lo/cursesf.lo ../obj_lo/cursesm.lo ..
/obj_lo/cursesw.lo ../obj_lo/cursespad.lo ../obj_lo/cursesp.lo ../obj_lo/cursslk
.lo ../obj_lo/cursesapp.lo ../obj_lo/cursesmain.lo \
                -rpath /d/ncurses/ultimate2widec/lib \
                -version-number 5:9 -no-undefined -L../lib -lformw -lmenuw -lpan
elw -lncursesw  -L../lib ../lib/libformw.la ../lib/libmenuw.la ../lib/libpanelw.
la ../lib/libncursesw.la     -lgnurx
g++.exe: error: E:/msys/1.0/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../dllc
rt2.o: Permission denied
g++.exe: error: E:/msys/1.0/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/crtbegin.o: P
ermission denied
g++.exe: error: E:/msys/1.0/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/crtend.o: Per
mission denied
make[1]: *** [../lib/libncurses++w.la] Error 1
make[1]: Leaving directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-201303
24/c++'
make: *** [all] Error 2
make: *** No rule to make target `check'.  Stop.
cd man && make DESTDIR="" RPATH_LIST="/d/ncurses/ultimate2widec/lib" install
make[1]: Entering directory `/d/c_backup/Sources/linux/ncurses/ncurses-5.9-20130
324/man'
).

Best Regards,

Daniel Bruno.


--- Em dom, 24/3/13, Thomas Dickey <address@hidden> escreveu:

De: Thomas Dickey <address@hidden>
Assunto: Re: win32 building error with ncurses version 5.9-20130323...
Para: "Roumen Petrov" <address@hidden>
Cc: address@hidden, "daniel silva ferreira bruno" <address@hidden>, address@hidden
Data: Domingo, 24 de Março de 2013, 20:40

On Sun, Mar 24, 2013 at 07:47:44PM +0200, Roumen Petrov wrote:
> Thomas Dickey wrote:
> >On Sun, Mar 24, 2013 at 07:31:37AM -0700, daniel silva ferreira bruno wrote:
> >>Hi, I found an error for the ncurses library version 5.9-20130323 at win32 building.
> >>
> >>With the following 'configure' option:
> >...
> >>         --with-libtool \
> >I haven't tried libtool with win32 (is that a self-build, or from a package?).
>
> With this patch link of demo.exe fail with unresolved externals.
> Version 20130316 is fine.
> It seems to me libncurses++.la is not in library list and I have to
> add explicitly --with-cxx-shared.

The cause is a sed-_expression_ which failed due to an empty string on the left side.
It shows up in the configure stage, near the end.

Fixing that, I don't see anything in particular wrong otherwise (but my mingw
configuration doesn't have a working libtool, since I installed a 64-bit compiler
but didn't rebuild libtool... I can do that if further investigation is needed)

--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]