File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: Compiling XTC

Posted By: Dan LeGate <>
Date: May-10-1999 9:34 a.m.

In Response To: Re: Compiling XTC (Mathias Winkler)

> After uncompressing the ...tar.gz file, change to this particular directory
> (with a command like "cd ~/any/directory/you/choosed/xtc-0.1.6"), then you
> first have to run the autoconfiguration program with: "./configure" ;this will
> write some settings according to your system configuration to some XTC
> files.

Did this... output is below.

> Now you're ready to compile XTC; again, *be_sure* you're in the directory
> of your XTC files, then simply type "make" - without any arguments!!

Did this and got:

gcc -Wall -g -O2 -c main.c
In file included from main.c:18:
common.h:3: ncurses.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `main.o'

Anyone know what's wrong?


Output of ./configure:

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for main in -lncurses... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for sys/statfs.h... yes
checking for sys/sysproto.h... no
checking for sys/vfs.h... yes
checking for sys/mount.h... yes
checking for working const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for strftime... yes
checking whether utime accepts a null argument... yes
checking for getcwd... yes
checking for mkdir... yes
checking for rmdir... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for statfs... yes
checking for statvfs... yes
checking for define_key... no
checking for wresize... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h

Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.

FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page