public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ncurses
@ 1998-07-18 20:30 bytor
  0 siblings, 0 replies; 22+ messages in thread
From: bytor @ 1998-07-18 20:30 UTC (permalink / raw)
  To: gnu-win32

I have ported an ncurses application to win95 with cdk, but I am having
trouble with the terminfo stuff... I know it looks at the TERMINFO
environment variable under *nix, but what about win95? I would prefer this
to be a standalone app distributed with only the .exe, dll and terminfo
file(s)...

       +----------------------+----------------------------------------+
       | bytor@tucka.nmhu.edu | UNIX _is_ user-friendly. It's just not |
       |     By-Tor@EfNet     | ignorant-friendly and idiot-friendly.  |
       +----------------------+----------------------------------------+

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: NCurses
       [not found] <B7B82A8978F44899B941945E1CA4A5FC@paikea>
@ 2010-05-17 15:46 ` Dave Korn
  0 siblings, 0 replies; 22+ messages in thread
From: Dave Korn @ 2010-05-17 15:46 UTC (permalink / raw)
  To: Cygwin Mailing List; +Cc: Luis Vital

On 17/05/2010 15:50, Luis Vital wrote:
> Hi Dave,
> 
> I appologise for comming back to you but I am experiencing some problems
> with NCurses under Cygwin.

    Hi Luis,

  Please keep the discussion on the list, for all the reasons described at
http://cygwin.com/acronyms/#PPIOSPE.

> As they say on the documentation I wrote this program:
> 
> #include <ncurses.h>
> int main()
> {	
> 	initscr();			/* Start curses mode */
> 	printw("Hello World !!!");	/* Print Hello World */
> 	refresh();			/* Print it on to the real screen */
> 	getch();			/* Wait for user input */
> 	endwin();			/* End curses mode */
> 
> 	return 0;
> }
> 
> I compile it with: gcc Hello.c -lncurses
> 
> But I got the folowing error messages:
> 
> /tmp/ccnsdh1e.o:Hello.c:(.text+0x3c): undefined reference to `_stdscr'
> /tmp/ccnsdh1e.o:Hello.c:(.text+0x49): undefined reference to `_stdscr'

  That's peculiar, it shouldn't have worked at all.  The "ncurses.h" file
doesn't live in /usr/include directly, but in a subdir called
/usr/include/ncurses, so with your #include statement as you have it there, I get:

> $ gcc h.c  -lncurses
> h.c:1:21: error: ncurses.h: No such file or directory

when I try to compile your example.  If I change the example to #include
"ncurses/ncurses.h", I get a fully working compile.

  It seems possible you have a bogus ncurses.h in your /usr/include, for some
reason?  You should make sure you have installed the regular cygwin
libncurses-devel package (using setup.exe) to get the ncurses headers and link
libraries (maybe you should try reinstalling it even if you do already have it).

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
  2001-06-05  7:57 ` ncurses Andrew Markebo
@ 2001-06-05  8:07   ` Andrew Markebo
  0 siblings, 0 replies; 22+ messages in thread
From: Andrew Markebo @ 2001-06-05  8:07 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

/ Andrew Markebo <flognat@flognat.myip.org> wrote:
| [...]
| (Global problem.. how come configure put it here, is it something for
| cygwin to look into, or is it a bad configure that comews with
| litestep or whatever??)

Seems to be edb, they had hardcoded something like:

edb_vt_ed_LDFLAGS = -lncurses

in the Makefile.in

        /Andy

p.s. I don't know why I always typed litestep instead of edb
before.. ignore that :-) BTW What is edb?


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
  2001-06-05  7:52 ncurses Jerome David
@ 2001-06-05  7:57 ` Earnie Boyd
  2001-06-05  7:57 ` ncurses Andrew Markebo
  1 sibling, 0 replies; 22+ messages in thread
From: Earnie Boyd @ 2001-06-05  7:57 UTC (permalink / raw)
  To: Jerome David; +Cc: 'cygwin@cygwin.com', 'Andrew Markebo'

Jerome David wrote:
> 
> This was generated by ./configure
> Can I tweak the Makefile so that the command line args appear in
> the correct order ? If yes, could you explain me how (maybe it's
> too complicated to explain like that, but I'm still asking).
> 

I would suggest modifying the Makefile.in file in the source and
submitting a patch to the package maintainer.

---
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
  2001-06-05  7:52 ncurses Jerome David
  2001-06-05  7:57 ` ncurses Earnie Boyd
@ 2001-06-05  7:57 ` Andrew Markebo
  2001-06-05  8:07   ` ncurses Andrew Markebo
  1 sibling, 1 reply; 22+ messages in thread
From: Andrew Markebo @ 2001-06-05  7:57 UTC (permalink / raw)
  To: Jerome David; +Cc: 'cygwin@cygwin.com'

Yes you can do it in the makefile, how you do it.. hard to say if I
don't have it ;-) Send the makefile in my direction and I can throw an
eye at it.

(Global problem.. how come configure put it here, is it something for
cygwin to look into, or is it a bad configure that comews with
litestep or whatever??)

        /Andy


/ Jerome David <JDavid@lgc.com> wrote:
| This was generated by ./configure
| Can I tweak the Makefile so that the command line args appear in
| the correct order ? If yes, could you explain me how (maybe it's
| too complicated to explain like that, but I'm still asking).

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* RE: ncurses
@ 2001-06-05  7:52 Jerome David
  2001-06-05  7:57 ` ncurses Earnie Boyd
  2001-06-05  7:57 ` ncurses Andrew Markebo
  0 siblings, 2 replies; 22+ messages in thread
From: Jerome David @ 2001-06-05  7:52 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'; +Cc: 'Andrew Markebo'

This was generated by ./configure
Can I tweak the Makefile so that the command line args appear in
the correct order ? If yes, could you explain me how (maybe it's
too complicated to explain like that, but I'm still asking).


-----Original Message-----
From: Andrew Markebo [ mailto:flognat@flognat.myip.org ]
Sent: Tuesday, June 05, 2001 9:42 AM
To: Jerome David
Cc: 'cygwin@cygwin.com'
Subject: Re: ncurses


/ Jerome David <JDavid@lgc.com> wrote:
| gcc -g -O2 -o edb_vt_ed -lncurses edb_vt_ed.o ../src/.libs/libedb.a
| -L/usr/local/lib

*error* shoule be placed _after_ the .o-file.. 

| and
| 
| gcc  -g -O2 -L/usr/local/lib -L/usr/local/lib  -L/usr/X11R6/lib -o
[...]
| ttfont.o update.o warp.o windowmatch.o x.o zoom.o -lFnlib
| -lttf                                        -L/usr/local/lib -lcygipc
| -lImlib -ljpeg -ltiff -lpng -lz -lm -L/usr/X11R6/lib -lSM -lICE -lXext
-lX11
| -lXtst
| -lm -lXtst -lncurses

WHould be placed at the end of the final link.. above.. together with
the rest of the -l's.

        /Andy

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
  2001-06-05  7:36 ncurses Jerome David
@ 2001-06-05  7:42 ` Andrew Markebo
  0 siblings, 0 replies; 22+ messages in thread
From: Andrew Markebo @ 2001-06-05  7:42 UTC (permalink / raw)
  To: Jerome David; +Cc: 'cygwin@cygwin.com'

/ Jerome David <JDavid@lgc.com> wrote:
| gcc -g -O2 -o edb_vt_ed -lncurses edb_vt_ed.o ../src/.libs/libedb.a
| -L/usr/local/lib

*error* shoule be placed _after_ the .o-file.. 

| and
| 
| gcc  -g -O2 -L/usr/local/lib -L/usr/local/lib  -L/usr/X11R6/lib -o
[...]
| ttfont.o update.o warp.o windowmatch.o x.o zoom.o -lFnlib
| -lttf                                        -L/usr/local/lib -lcygipc
| -lImlib -ljpeg -ltiff -lpng -lz -lm -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
| -lXtst
| -lm -lXtst -lncurses

WHould be placed at the end of the final link.. above.. together with
the rest of the -l's.

        /Andy

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* RE: ncurses
@ 2001-06-05  7:36 Jerome David
  2001-06-05  7:42 ` ncurses Andrew Markebo
  0 siblings, 1 reply; 22+ messages in thread
From: Jerome David @ 2001-06-05  7:36 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'; +Cc: 'Andrew Markebo'

gcc -g -O2 -o edb_vt_ed -lncurses edb_vt_ed.o ../src/.libs/libedb.a
-L/usr/local/lib

and

gcc  -g -O2 -L/usr/local/lib -L/usr/local/lib  -L/usr/X11R6/lib -o
enlightenment  actions.o alert.o areas.o arrange.o atoms.o borders.o
buttons.o clone.o cmclass.o comms.o config.o containers.o coords.o cursors.o
desktops.o dialog.o dock.o draw.o events.o evhandlers.o file.o finders.o
focus.o fx.o globals.o gnome.o grabs.o groups.o handlers.o icccm.o iclass.o
iconify.o init.o ipc.o kde.o lists.o main.o memory.o menus.o misc.o
modules.o mwm.o network.o pager.o progress.o regex.o scursor.o session.o
settings.o setup.o size.o slideout.o snaps.o snprintf.o sound.o startup.o
sticky.o stripjoints.o strips.o tclass.o text.o theme.o timers.o tooltips.o
ttfont.o update.o warp.o windowmatch.o x.o zoom.o -lFnlib
-lttf                                        -L/usr/local/lib -lcygipc
-lImlib -ljpeg -ltiff -lpng -lz -lm -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
-lXtst
-lm -lXtst 

-----Original Message-----
From: Andrew Markebo [ mailto:flognat@flognat.myip.org ]
Sent: Tuesday, June 05, 2001 9:22 AM
To: Jerome David
Subject: Re: ncurses



How did the compilation/link command line look like?

        /A

/ Jerome David <JDavid@lgc.com> wrote:
| Hi all,
| I am trying to compile edb-1.0.2 and I am getting the following errors:
| 
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:13: undefined reference to
| `_imp__endwin'
| edb_vt_ed.o: In function `main':
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:23: undefined reference to
| `_imp__initscr'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:24: undefined reference to
| `_imp__stdscr'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:24: undefined reference to
| `_imp__keypad'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:25: undefined reference to
`_imp__nonl'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:26: undefined reference to
| `_imp__cbreak'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:27: undefined reference to
| `_imp__noecho'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:28: undefined reference to
| `_imp__has_colors'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:30: undefined reference to
| `_imp__start_color'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:32: undefined reference to
| `_imp__init_pair'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:33: undefined reference to
| `_imp__init_pair'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:34: undefined reference to
| `_imp__init_pair'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:35: undefined reference to
| `_imp__init_pair'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:36: undefined reference to
| `_imp__init_pair'
| edb_vt_ed.o:/usr/src/edb-1.0.2/tools/edb_vt_ed.c:37: more undefined
| references to `_imp__init_pair' follow
| edb_vt_ed.o: In function `main':
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:45: undefined reference to
| `_imp__stdscr'
| /usr/src/edb-1.0.2/tools/edb_vt_ed.c:45: undefined reference to
| `_imp__wgetch'
| collect2: ld returned 1 exit status
| make[2]: *** [edb_vt_ed] Error 1
| 
| Aren't those functions supposed to be in ncurses ?
| There's a #include<curses.h> in edb_vt_ed.c. Isn't that enough ?
| 
| 
| I have the same kind of things (I think) when compiling enlightenment:
| 
| memory.o: In function `_Emalloc':
| /usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to
| `_imp__gettext'
| /usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to
| `_imp__gettext'
| /usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to
| `_imp__gettext'
| /usr/src/enlightenment-0.16.5/src/memory.c:195: undefined reference to
| `_imp__gettext'
| /usr/src/enlightenment-0.16.5/src/memory.c:196: undefined reference to
| `_imp__gettext'
| memory.o:/usr/src/enlightenment-0.16.5/src/memory.c:208: more undefined
| references to `_imp__gettext' follow
| 
| these functions I think are supposed to be in libintl.
| I have tried adding #include <libintl.h>. All it does is removing the
_imp__
| in the error messages.
| 
| The gcc command line has -L/lib and /lib contains libintl.a libintl.dll.a,
| libcurses.a and
| libcurses.dll.a
| 
| What's wrong ??
| 
| J-D
| 
| --
| Want to unsubscribe from this list?
| Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
@ 2001-06-05  7:03 Jerome David
  0 siblings, 0 replies; 22+ messages in thread
From: Jerome David @ 2001-06-05  7:03 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi all,
I am trying to compile edb-1.0.2 and I am getting the following errors:

/usr/src/edb-1.0.2/tools/edb_vt_ed.c:13: undefined reference to
`_imp__endwin'
edb_vt_ed.o: In function `main':
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:23: undefined reference to
`_imp__initscr'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:24: undefined reference to
`_imp__stdscr'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:24: undefined reference to
`_imp__keypad'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:25: undefined reference to `_imp__nonl'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:26: undefined reference to
`_imp__cbreak'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:27: undefined reference to
`_imp__noecho'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:28: undefined reference to
`_imp__has_colors'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:30: undefined reference to
`_imp__start_color'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:32: undefined reference to
`_imp__init_pair'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:33: undefined reference to
`_imp__init_pair'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:34: undefined reference to
`_imp__init_pair'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:35: undefined reference to
`_imp__init_pair'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:36: undefined reference to
`_imp__init_pair'
edb_vt_ed.o:/usr/src/edb-1.0.2/tools/edb_vt_ed.c:37: more undefined
references to `_imp__init_pair' follow
edb_vt_ed.o: In function `main':
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:45: undefined reference to
`_imp__stdscr'
/usr/src/edb-1.0.2/tools/edb_vt_ed.c:45: undefined reference to
`_imp__wgetch'
collect2: ld returned 1 exit status
make[2]: *** [edb_vt_ed] Error 1

Aren't those functions supposed to be in ncurses ?
There's a #include<curses.h> in edb_vt_ed.c. Isn't that enough ?


I have the same kind of things (I think) when compiling enlightenment:

memory.o: In function `_Emalloc':
/usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to
`_imp__gettext'
/usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to
`_imp__gettext'
/usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to
`_imp__gettext'
/usr/src/enlightenment-0.16.5/src/memory.c:195: undefined reference to
`_imp__gettext'
/usr/src/enlightenment-0.16.5/src/memory.c:196: undefined reference to
`_imp__gettext'
memory.o:/usr/src/enlightenment-0.16.5/src/memory.c:208: more undefined
references to `_imp__gettext' follow

these functions I think are supposed to be in libintl.
I have tried adding #include <libintl.h>. All it does is removing the _imp__
in the error messages.

The gcc command line has -L/lib and /lib contains libintl.a libintl.dll.a,
libcurses.a and
libcurses.dll.a

What's wrong ??

J-D

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
  1999-11-11 15:20 ncurses Joseph
@ 1999-11-30 23:39 ` Joseph
  0 siblings, 0 replies; 22+ messages in thread
From: Joseph @ 1999-11-30 23:39 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

=I've mounted c:\ as / and I've got all the bin 
dir's and such in the path. I'm running win95 and im using b20
 
the cygcheck is
 
Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
 
  371k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll     5k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll    10k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll   600k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll   446k 1998/12/04 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll
 
I hope this covers what you wanted
 

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
@ 1999-11-11 15:20 Joseph
  1999-11-30 23:39 ` ncurses Joseph
  0 siblings, 1 reply; 22+ messages in thread
From: Joseph @ 1999-11-11 15:20 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

=I've mounted c:\ as / and I've got all the bin 
dir's and such in the path. I'm running win95 and im using b20
 
the cygcheck is
 
Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe Found: 
D:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
 
  371k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll     5k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll    10k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll   600k 1998/12/01 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll   446k 1998/12/04 
D:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll
 
I hope this covers what you wanted
 

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
       [not found] ` <m2iuey9fl1.fsf.cygnus.gnu-win32@forest.nuthouse.au>
@ 1998-12-28  7:42   ` Christopher G. Faylor
  0 siblings, 0 replies; 22+ messages in thread
From: Christopher G. Faylor @ 1998-12-28  7:42 UTC (permalink / raw)
  To: gnu-win32

In article <m2iuey9fl1.fsf.cygnus.gnu-win32@forest.nuthouse.au>,
Peter Moulder <reiter@netspace.net.au> wrote:
>Paul Wilson <fwibbly@earthlink.net> writes:
>> The problem with some GNU configure utils is that they pipe their
>> commands to /dev/null. Last I tried to create a /dev/null using mknod, I
>> couldn't create it with the exact major and minor device numbers, so
>> creating /dev/null won't fix the problem. Just edit out the >/dev/null
>> from the configure script where configure checks for gcc.
>
>On b20.0 / NT, /dev/null does work even if ls doesn't see it.
>
>Try doing `sh -x configure' instead of `./configure', to see what it
>is trying to do and why it thinks gcc doesn't work.
>
>(You might try Paul's suggestion first, though, just to check whether
>I'm speaking garbage.)

Actually, /dev/null has worked for some time.  As noted, you can't do a
'ls -l /dev/null' but we're working on that.
-- 
cgf@cygnus.com
http://www.cygnus.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
  1998-12-25 14:42 ` ncurses Paul Wilson
@ 1998-12-27 21:28   ` Peter Moulder
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Moulder @ 1998-12-27 21:28 UTC (permalink / raw)
  To: moisei; +Cc: gnu-win32, Paul Wilson

Paul Wilson <fwibbly@earthlink.net> writes:

> The problem with some GNU configure utils is that they pipe their
> commands to /dev/null. Last I tried to create a /dev/null using mknod, I
> couldn't create it with the exact major and minor device numbers, so
> creating /dev/null won't fix the problem. Just edit out the >/dev/null
> from the configure script where configure checks for gcc.

On b20.0 / NT, /dev/null does work even if ls doesn't see it.

Try doing `sh -x configure' instead of `./configure', to see what it
is trying to do and why it thinks gcc doesn't work.

(You might try Paul's suggestion first, though, just to check whether
I'm speaking garbage.)

pjm.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
  1998-12-25  6:21 ncurses Moisei Rabinovich
@ 1998-12-25 14:42 ` Paul Wilson
  1998-12-27 21:28   ` ncurses Peter Moulder
       [not found] ` <m2iuey9fl1.fsf.cygnus.gnu-win32@forest.nuthouse.au>
  1 sibling, 1 reply; 22+ messages in thread
From: Paul Wilson @ 1998-12-25 14:42 UTC (permalink / raw)
  To: gnu-win32, moisei

The problem with some GNU configure utils is that they pipe their
commands to /dev/null. Last I tried to create a /dev/null using mknod, I
couldn't create it with the exact major and minor device numbers, so
creating /dev/null won't fix the problem. Just edit out the >/dev/null
from the configure script where configure checks for gcc. It should work
find afterwards.

Paul

Moisei Rabinovich wrote:
> 
> Hello,
> I am trying to install ncurses, but configure failed by following reason :
> ~/Misc/ncurses-4.2 >./configure
> loading cache ./config.cache
> Configuring NCURSES 4.2 ABI 4 (Fri Dec 25 16:15:03  1998)
> checking host system type... i386-pc-cygwin32
> Configuring for cygwin32
> checking for prefix... /usr/local
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> ~/Misc/ncurses-4.2 >
> 
> Thank you,
>                     Moisei.
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
@ 1998-12-25  6:21 Moisei Rabinovich
  1998-12-25 14:42 ` ncurses Paul Wilson
       [not found] ` <m2iuey9fl1.fsf.cygnus.gnu-win32@forest.nuthouse.au>
  0 siblings, 2 replies; 22+ messages in thread
From: Moisei Rabinovich @ 1998-12-25  6:21 UTC (permalink / raw)
  To: gnu-win32

Hello,
I am trying to install ncurses, but configure failed by following reason :
~/Misc/ncurses-4.2 >./configure
loading cache ./config.cache
Configuring NCURSES 4.2 ABI 4 (Fri Dec 25 16:15:03  1998)
checking host system type... i386-pc-cygwin32
Configuring for cygwin32
checking for prefix... /usr/local
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
~/Misc/ncurses-4.2 >

Thank you,
                    Moisei.



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
@ 1998-11-22 11:15 Moisei Rabinovich
  0 siblings, 0 replies; 22+ messages in thread
From: Moisei Rabinovich @ 1998-11-22 11:15 UTC (permalink / raw)
  To: gnu-win32

Hello,
I tried to install ncurses4.2
and there are the problems I have :

~/Misc/ncurses-4.2 > ./configure
creating cache ./config.cache
[...]
checking if you want to build with C++... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot
create executables.

after this message i've tried :
~/Misc/ncurses-4.2 > ./configure --without-cxx
[...]
checking for ANSI C header files... grep: writing output: Broken pipe
yes
[...]
checking for fcntl.h... grep: writing output: Broken pipe
yes
[...]
checking for type of chtype... cat: write error: Broken pipe

checking for number of bits in chtype... cat: write error: Broken pipe

[...]
creating man/Makefile

-------------

it is the last message that i get from configure,
after this current shell does not work (no C-c C-z e.t.c helps)...


b.t.w how can I prevent a shell to write something on the window title?


Thank you,
                Moisei.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* RE: ncurses
@ 1998-07-19  2:04 Sergey Okhapkin
  0 siblings, 0 replies; 22+ messages in thread
From: Sergey Okhapkin @ 1998-07-19  2:04 UTC (permalink / raw)
  To: gnu-win32, 'bytor@tucka.nmhu.edu'

bytor@tucka.nmhu.edu wrote:
> I have ported an ncurses application to win95 with cdk, but I am having
> trouble with the terminfo stuff... I know it looks at the TERMINFO
> environment variable under *nix, but what about win95? I would prefer this

The same.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
@ 1997-07-14 11:52 Reuben Collver
  0 siblings, 0 replies; 22+ messages in thread
From: Reuben Collver @ 1997-07-14 11:52 UTC (permalink / raw)
  To: gnu-win32

Hi,

  I've installed the win32 port of ncurses that I found at
http://www.wenet.net/~garbanzo/gnuwin32/
  I also installed the terminfo database, but deccided to try to use a
termcap file instead.

  I've successfully compiled a program of mine that uses termcap.
gcc -O -s -o byc byc.c -lncurses -DTERMCAP_FILE

  I downloaded my termcap file off my linux box and put it in /etc/termcap

  Afterwards, I set up the following environment variables
TERM=vt100
TERMINFO=/etc/termcap

  I am running an ansi device driver named nansi.sys, which is hopefully
close enough to vt100 for testing purposes when it comes to interpreting
the escape sequences.

  When I start up the program, I read the TERM environment variable and use
the tgetent() call to detect the termcap entry.

  tgetent() fails, and I am not sure why.  Anyone bored enough to help me
get curses/terminfo programs working right with gnu-win32?  I'd be grateful
=)

Ben.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* ncurses
@ 1997-06-04  7:19 Marcus S. Yoo
  0 siblings, 0 replies; 22+ messages in thread
From: Marcus S. Yoo @ 1997-06-04  7:19 UTC (permalink / raw)
  To: gnu-win32

I've been seeing many messages about ncurses,
and compiling other programs using ncurses (vim, clear, etc).
My questions is this. Where can I get my hands on the latest
ncurses source code? What is the latest version?
I'm not sure when/where I got it from, but I have something
called ncurses-1.9. Is this the one that I should try to
install on my win95/b18?
As always, any and all help/tips are greatly apreciated.
--
Marcus S. Yoo (myoo@scr.siemens.com) | For God so loved the world, that he gave
Siemens Corporate Research, Inc.     | his  only  begotten Son,  that whosoever
755 College Rd. E.,     609-734-3313 | believeth in him should not perish,  but
Princeton, NJ 08540       fax: -6565 | have  everlasting  life.   --  John 3:16
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
@ 1997-04-02  7:11 Hmmmz
  0 siblings, 0 replies; 22+ messages in thread
From: Hmmmz @ 1997-04-02  7:11 UTC (permalink / raw)
  To: gnu-win32

> Has anyone secussfully gotten ncurses 1.9.9e or newer to compile and  
> work? I've gotten to the point where it seems to compile fine, 
> however tic fails miserably, and even if I manually attempt to 
> salvage some of the terminfo entries and put them in 
> /usr/lib/termcap/* , it _still_ won't recognize them.  Help anyone?
>
> - the ever caffinated alex

Ack, nevermind, please ignore the previous post, it turns out I 
should have been putting the termcap files in 
/usr/local/share/termcap/*/* ;)

- the ever caffinated alex
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
       [not found] <97Apr1.020340est.48396-2@mail-relay.cplc.com>
@ 1997-04-01  6:51 ` Matthew Harttree
  0 siblings, 0 replies; 22+ messages in thread
From: Matthew Harttree @ 1997-04-01  6:51 UTC (permalink / raw)
  To: gnu-win32-owner; +Cc: gnu-win32

Hello-

I love your list but I am finding it easier to keep up via the digests.
I used to be subscribed though matthew.harttree@cplc.com and I am away
from that address for the next two or three months.  I am currently
dialing in over a very slow modem connection and would like to have the
list traffic removed.

Could you please  manually unsubscribe 
matthew.harttree@cplc.com 
from your list.


Thanks so much

Matthew Harttree


-------- -------  -----   
Matthew T Harttree mth@n3.org


-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: ncurses
@ 1997-03-31 18:28 Hmmmz
  0 siblings, 0 replies; 22+ messages in thread
From: Hmmmz @ 1997-03-31 18:28 UTC (permalink / raw)
  To: gnu-win32

Has anyone secussfully gotten ncurses 1.9.9e or newer to compile and  
work? I've gotten to the point where it seems to compile fine, 
however tic fails miserably, and even if I manually attempt to 
salvage some of the terminfo entries and put them in 
/usr/lib/termcap/* , it _still_ won't recognize them.  Help anyone?
- the ever caffinated alex
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-05-17 15:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-18 20:30 ncurses bytor
     [not found] <B7B82A8978F44899B941945E1CA4A5FC@paikea>
2010-05-17 15:46 ` NCurses Dave Korn
  -- strict thread matches above, loose matches on Subject: below --
2001-06-05  7:52 ncurses Jerome David
2001-06-05  7:57 ` ncurses Earnie Boyd
2001-06-05  7:57 ` ncurses Andrew Markebo
2001-06-05  8:07   ` ncurses Andrew Markebo
2001-06-05  7:36 ncurses Jerome David
2001-06-05  7:42 ` ncurses Andrew Markebo
2001-06-05  7:03 ncurses Jerome David
1999-11-11 15:20 ncurses Joseph
1999-11-30 23:39 ` ncurses Joseph
1998-12-25  6:21 ncurses Moisei Rabinovich
1998-12-25 14:42 ` ncurses Paul Wilson
1998-12-27 21:28   ` ncurses Peter Moulder
     [not found] ` <m2iuey9fl1.fsf.cygnus.gnu-win32@forest.nuthouse.au>
1998-12-28  7:42   ` ncurses Christopher G. Faylor
1998-11-22 11:15 ncurses Moisei Rabinovich
1998-07-19  2:04 ncurses Sergey Okhapkin
1997-07-14 11:52 ncurses Reuben Collver
1997-06-04  7:19 ncurses Marcus S. Yoo
1997-04-02  7:11 ncurses Hmmmz
     [not found] <97Apr1.020340est.48396-2@mail-relay.cplc.com>
1997-04-01  6:51 ` ncurses Matthew Harttree
1997-03-31 18:28 ncurses Hmmmz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).