A problem compiling Xfractint 20.2.04
Tim or Jonathan, I've *finally* gotten around to trying to compile Xfracint 20.2.04. Seems like curses.h is missing. Should I grab a copy from an older version? Below is the last 3 lines from the "make" command: gcc -I. -DXFRACT -DNOBSTRING -g -DBIG_ANSI_C -DLINUX -Os -c -o realdos.o realdos.c realdos.c:10:20: curses.h: No such file or directory make: *** [realdos.o] Error 1 Until later, Scott Boyd
Scott D. Boyd wrote:
Seems like curses.h is missing.
I thought this file was part of the UNIX/Linux system to do definitions for screen handling and optimisation functions. Have never seen it distributed in the FractInt source files. Sincerely, P.N.L. -------------------------------------------------------------- http://www.fractalus.com/cgi-bin/theway?ring=fractals&id=43&go
On Thu, May 30, 2002 at 09:32:52AM -0500, Scott D. Boyd wrote:
gcc -I. -DXFRACT -DNOBSTRING -g -DBIG_ANSI_C -DLINUX -Os -c -o realdos.o realdos.c realdos.c:10:20: curses.h: No such file or directory make: *** [realdos.o] Error 1
There was two almost API compatible version of this library. 'curses', the historcal one, and 'ncurses', a free rewrite. The newer ncurses was used by Linux, so you can replace "curses.h" by "ncurses.h". If it does not work, may be you have not installed the devel part of the ncurses package. Th. -- > Toute machine qui se respecte a sa console sur un port serie... :-) La question n'est pas de savoir si elle a une console sur port série, mais de savoir de quelle planète provient le connecteur ;-) --- fr.comp.ordinosaures ---
On Thursday 30 May 2002 09:32 am, Scott wrote:
I've *finally* gotten around to trying to compile Xfractint 20.2.04. Seems like curses.h is missing. Should I grab a copy from an older version?
Using the Mandrake Software Manager, search for ncurses. This should identify the package you need to install. I had a similar problem with Mandrake 8.0. In addition to missing libraries, gcc was missing with one installation I did. Either Mandrake 8.2 is better or I'm getting better at installing the correct software. Although the Power Pack is missing nasm. Someday I would like to package Xfractint as an rpm so that we could define dependencies and have the appropriate libraries loaded automatically. Jonathan
In my menus, I find a Theme Manager, a File Manager, a Session Manager, a Login Manager, but alas, no "Mandrake Software Manager". I have used the "find" command to look for curses.h, ncurses.h, curses.c, ncurses.c, curses, and ncurses in the complete /usr directory. No luck. ( Note: This was done *after* I untarred the kernel source onto my hard drive again.) And believe me - it takes a *long* time to try and find a file in the /usr directory when it's almost 1 GB in size! By the way, I have ncurses-5.2-12mdk.i386.rpm installed (checked by doing: rpm -q ncurses), and even re-installed it. I'm using Mandrake 8.0, but the kernel was updated to version 2.4.17 a while back from source files, not Mandrake's RPM's. Can someone just please *send* me a copy of curses.h or ncurses.h, and let me know what directory it belongs in? Scott On Saturday 01 June 2002 12:30, Jonathan Osuch wrote:
On Thursday 30 May 2002 09:32 am, Scott wrote:
I've *finally* gotten around to trying to compile Xfractint 20.2.04. Seems like curses.h is missing. Should I grab a copy from an older version?
Using the Mandrake Software Manager, search for ncurses. This should identify the package you need to install. I had a similar problem with Mandrake 8.0. In addition to missing libraries, gcc was missing with one installation I did. Either Mandrake 8.2 is better or I'm getting better at installing the correct software. Although the Power Pack is missing nasm.
Jonathan
On Mon, Jun 03, 2002 at 03:02:59AM -0500, Scott D. Boyd wrote:
By the way, I have ncurses-5.2-12mdk.i386.rpm installed (checked by doing: rpm -q ncurses), and even re-installed it.
Try to look on yous install CD for a file named like that ncurses-5.2-12-devel-mdk.i386.rmp ~~~~~ and install it. this package contains file needed for compil and linkedit of ncurses based applications.
I'm using Mandrake 8.0, but the kernel was updated to version 2.4.17 a while back from source files, not Mandrake's RPM's.
ncurses was _completely_ independant of Linux kernel.
Can someone just please *send* me a copy of curses.h or ncurses.h, and let me know what directory it belongs in?
with that solution, you can get a .h file not in sync with your library. ncurses is heavilly #macro based. Th. -- http://la.buvette.org/exPOV/ new version available :)
On Monday 03 June 2002 03:02 am, Scott wrote:
In my menus, I find a Theme Manager, a File Manager, a Session Manager, a Login Manager, but alas, no "Mandrake Software Manager".
Not in the Control Center, although that would have been a natural place to put it. Start at "Start Application", go to "Configuration", then "Packaging". There should be a choice of "Software Manager" at that point. I believe, in Mandrake 8.0, there is/was an icon on the desktop for this. At least, there was on mine.
By the way, I have ncurses-5.2-12mdk.i386.rpm installed (checked by doing: rpm -q ncurses), and even re-installed it.
The files you need are in libncurses5-devel-5.2-12mdk. Jonathan
On Monday 03 June 2002 20:56, you wrote:
Not in the Control Center, although that would have been a natural place to put it. Start at "Start Application", go to "Configuration", then "Packaging". There should be a choice of "Software Manager" at that point. I believe, in Mandrake 8.0, there is/was an icon on the desktop for this. At least, there was on mine.
My boo-boo - I failed to mention that I'm using IceWM as my window manager, not KDE. By default, there are no icons on the IceWM desktop, as it's only a window mgr., not a desktop mgr. Last night, while looking thru the /usr/bin directory for the Mandrake utilities installed there, I found RPMDrake, which is the "Software Manager" that Jonathan mentioned. I had tried to use it back when I was running KDE, but I found it was very confusing. I instead would use the KDE utility called "Kpackage", which I feel is a lot more intuitive and informative. Sometimes, I just su to root in an xterm, and install the rpm from the command line. A lot quicker than starting up a graphical app which has to read the rpm database first! Anyway.... *that's* why I didn't know what Jonathan was talking about when he mentioned using the "Software Manager".
By the way, I have ncurses-5.2-12mdk.i386.rpm installed (checked by doing: rpm -q ncurses), and even re-installed it.
The files you need are in libncurses5-devel-5.2-12mdk.
AH-HA!! Installed it, and the compile now works flawlessly! I didn't think to look thru all of the 100's of rpm's that start with "lib" that are on the Mandrake CD. (Well... it seems like 100's, anyway.) Thanks everyone! Scott Boyd
On Tuesday 04 June 2002 12:12 am, Scott wrote:
AH-HA!! Installed it, and the compile now works flawlessly! I didn't think to look thru all of the 100's of rpm's that start with "lib" that are on the Mandrake CD. (Well... it seems like 100's, anyway.)
Did you enable the assembly language mandelbrot code? Jonathan
participants (4)
-
Jonathan Osuch -
Paul N. Lee -
Scott D. Boyd -
Thierry B.