gnupic: Re: [gnupic] can't 'make' picprg
Subject:
Re: [gnupic] can't 'make' picprg
From:
Byron A Jeff ####@####.####
Date:
20 Jul 2006 03:47:25 +0100
Message-Id: <20060720024652.GA20882@cleon.cc.gatech.edu>
On Wed, Jul 19, 2006 at 03:06:01PM -0600, Maxim Wexler wrote:
> Hi group,
>
> I decided to put aside the serial programmer and try the parallel type at
>
> www.finitesite.com/d3jsys/
Well I still have customers.
> But I couldn't configure the software, picprg2.3d, which Byron Jeff links
> to on his site.
You could have posted to my forum linked off the main page. I actually do read
and respond to it.
>
> It fails right away:
>
> ####@####.#### make
> cc -I/lib/libncurses -O2 -Wall -pipe -g -c -o picprg.o picprg.c
> In file included from picprg.c:73:
> picprg.h:7:20: error: curses.h: No such file or directory
> In file included from picprg.c:73:
> picprg.h:68: error: syntax error before '*' token
> picprg.h:69: error: syntax error before '*' token
> <...>
>
> Here's the top of the Makefile. I changed the include line to reflect the
> only place ncurses appears on my machine. I'm using ubuntu breezy with
> 2.6.12 kernel
The error message points to the problem. picprg uses the curses terminal
library to do its job. You don't have it installed. A quick apt-cache
search points to packages that may do the job:
libncurses5 - Shared libraries for terminal handling
libncurses5-dev - Developer's libraries and docs for ncurses
Try apt-get on one of these and try again.
I apologize for not having a configure script. Truth be told I'm close to
declaring picprg obsolete and suggesting that folks use actively maintained
software such pikdev: http://pikdev.free.fr
Alian has done a phenominal job of working on this package and he has a
command line programmer pkp, which satisfies all of my needs.
Finally I do have an updated picprg version 3.01alpha which programs quite
a few more chips. However Microchip continual addition of programming
algorithms is the reason I'm considering retiring picprg.
Let me know if you're interested.
Makefile snipped for brevity.
BAJ