Re: error in flnx
Jason Kingan <[email protected]> Thu, 7 Nov 2002 08:47:51 -0700
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
Just quickly looking at the compiler output, it appears that the -I option has
a bad path (/home/weiwu/microwin/src/includx, where includx should be
include) I don't know where that came from.
I tested the flnx-0.16.tar.gz and CVS versions and they both produce good
Makefiles after a configure. Is your makeinclude or makeinclude.in file
corrupt somehow? I would look at these files, particularly at line 33 where
the includedir variable is set. It is probably incorrect. It should read:
includedir =${prefix}/include
but probably says something like:
includedir =${prefix}/includx
Hope this helps,
Jason Kingan
Century Software
On Thursday 07 November 2002 12:23 am, you wrote:
> Hi all!
> I am compiling viewml(on microwindows) for x86 .
> I am using following configuration:
>
> 1. microwindows-0.89pre8.tar.gz
> 2. w3c-libwww-5.2.8.tar.gz
> 3. flnx-0.16.tar.gz
> 4. viewml.diff.gz
>
> I have successfully compiled micro, libwww .
> now when I am compiling flnx I am getting following errors:
> #./configure --with-microwin=/home/weiwu/microwin/src -prefix=/home/weiwu
> creating cache ./config.cache
> checking for ranlib... ranlib
> 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 for c++... c++
> checking whether the C++ compiler (c++ ) works... yes
> checking whether the C++ compiler (c++ ) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether c++ accepts -g... yes
> checking whether byte ordering is bigendian... no
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> 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 sys/select.h... yes
> checking for scandir... yes
> checking for vsnprintf... yes
> checking for snprintf... yes
> checking for vsprintf... yes
> Using MicroWindows instead of X...
> updating cache ./config.cache
> creating ./config.status
> creating makeinclude
> creating config.h
>
> #make
> === making src ===
> make[1]: Entering directory `/home/weiwu/flnx-0.16/src'
> c++ -I.. -O2 -Wall -Wno-return-type -DNANO_X
> -I/home/weiwu/microwin/src/includx In file included from ../FL/x.H:43,
> from Fl.cxx:27:
> ../FL/n_x.h:31:20: nano-X.h: No such file or directory
> In file included from Fl.cxx:28:
> ../FL/Fl.H:34:20: nano-X.h: No such file or directory
> make[1]: *** [Fl.o] Error 1
> make[1]: Leaving directory `/home/weiwu/flnx-0.16/src'
> === making fluid ===
> make[1]: Entering directory `/home/weiwu/flnx-0.16/fluid'
> c++ -I.. -O2 -Wall -Wno-return-type -DNANO_X
> -I/home/weiwu/microwin/src/includx In file included from
> Fl_Function_Type.cxx:26:
> ../FL/Fl.H:34:20: nano-X.h: No such file or directory
> make[1]: *** [Fl_Function_Type.o] Error 1
> make[1]: Leaving directory `/home/weiwu/flnx-0.16/fluid'
> === making test ===
> make[1]: Entering directory `/home/weiwu/flnx-0.16/test'
> make[1]: *** No rule to make target `../lib/libfltk.a', needed by
> `valuators'. . make[1]: Leaving directory `/home/weiwu/flnx-0.16/test'
> make: *** [all] Error 2
>
> I examine the /flnx/lib find nothing!
> I know I have done wrong something!
> But I don not know where I am wrong
>
> "--libdir" and "--includedir" mean what?
> How can i do?
>
>
> weiu
#############################################################
This message is sent to you because you are subscribed to
the mailing list <[email protected]>.
To unsubscribe, E-mail to: <[email protected]>
To switch to the DIGEST mode, E-mail to <[email protected]>
To switch to the INDEX mode, E-mail to <[email protected]>
Send administrative queries to <[email protected]>