delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/10/22:39:29

From: cyambo AT thoughtbubble DOT com (chris yambo)
Subject: Compiling ncurses-4.1 and less-332
10 Mar 1998 22:39:29 -0800 :
Message-ID: <3505D0CC.6D73E77C.cygnus.gnu-win32@thoughtbubble.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

This is a multi-part message in MIME format.
--------------2C12046C319F587F5E5C3E28
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I got ncurses to compile and install fine under b19, it was a relatively
painless procedure also.  I dont know if anyone else did this but I saw
that people had problems compiling it.  all I did was
sh Configure
make
(this make produces an access violation)
run make again
and that is all I had to do.  The only problem is that when I try to rin
the test programs it doesnt know how to open the terminal even when I
set it to something other than dumb.

now after I installed ncurses I compiled less, that gave me a few
problems. This is how I got it to compile
sh Configure
make
this will run until it spits out an error saying that iprintf was
redefined with a different prototype.  So I temporarilly commented out
the line in stdio.h and ran make again.
now it should be compiled, but in order to install it run the attached
patch to fix the makefile. then run make install and its done.
Sorry if this is redundant information I have only been reading the list
for a few days now.  
-- 
chris
_____________________________________________________
+-----------------------+thought bubble productions
web+--------------------+http://www.thoughtbubble.com
email+------------------+cyambo AT thoughtbubble DOT com
--------------2C12046C319F587F5E5C3E28
Content-Type: text/plain; charset=us-ascii; name="less.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="less.diff"

*** Makefile.old	Tue Mar 10 18:25:47 1998
--- Makefile	Tue Mar 10 18:15:33 1998
*** 58,66 ****
  ${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h defines.h 
  
  install: all ${srcdir}/less.nro ${srcdir}/lesskey.nro installdirs
! 	${INSTALL_PROGRAM} less ${bindir}/${binprefix}less
! 	${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}lesskey
! 	${INSTALL_PROGRAM} lessecho ${bindir}/${binprefix}lessecho
  	${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
  	${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
  
--- 58,66 ----
  ${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h defines.h 
  
  install: all ${srcdir}/less.nro ${srcdir}/lesskey.nro installdirs
! 	${INSTALL_PROGRAM} less.exe ${bindir}/${binprefix}less.exe
! 	${INSTALL_PROGRAM} lesskey.exe ${bindir}/${binprefix}lesskey.exe
! 	${INSTALL_PROGRAM} lessecho.exe ${bindir}/${binprefix}lessecho.exe
  	${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
  	${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
  

--------------2C12046C319F587F5E5C3E28--

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019