Discussion:
Question about install ViewML
luqiang
2002-10-20 11:59:28 UTC
Permalink
I need your help!
I have troubles when I install ViewML0.21, I can not make it.
I've worked for a whole week,but still can not solve it.
Please help me!


1. I re-installed Red Hat 7.3 newly.
2. I have installed fltk 1.0.11 \ imlib-1.9.8.1.tar \ w3c-libwww-5.2.8.tar
correctly. When doing this, I use default configuration without change
the installing-directory.
The source files of fltk(such as XXX.h) are in "/usr/local/include/FL".
3.When I install ViewML 0.21, something wrong.
First, I do:
./configure --with-fltk=/usr/local/include/FL
Then, I do:
make all
but it echo:

*********************************************************
*********************************************************
[***@localhost nomadlu]# cd viewml-0.21

[***@localhost viewml-0.21]# ls

ChangeLog config.status CVS kdecore kimgio makeinclude.in

config.cache config.sub INSTALL kdeui Makefile README

config.guess configure install-sh kfile Makefile.in src

config.log configure.in jscript kfmlib makeinclude TODO

[***@localhost viewml-0.21]# ./configure --with-fltk=/usr/local/include/FL

loading cache ./config.cache

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking cached host tuple... ok
Configuring for i686-pc-linux-gnu

checking for gcc... (cached) gcc
checking for g++... (cached) g++

checking for ld... (cached) ld

checking for ar... (cached) ar

checking for ranlib... (cached) ranlib

checking for gcc... (cached) 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... (cached) yes

checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) g++

checking whether the C++ compiler (g++ ) works... yes

checking whether the C++ compiler (g++ ) is a cross-compiler... no

checking whether we are using GNU C++... (cached) yes

checking whether g++ accepts -g... (cached) yes

checking whether mipsel-linux-g++ requires --permissive... yes

Grabbing FLTK from /usr/local/include/FL...

checking how to run the C++ preprocessor... (cached) g++ -E

checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include

Building with X11...

checking for dnet_ntoa in -ldnet... (cached) no

checking for dnet_ntoa in -ldnet_stub... (cached) no

[***@localhost viewml-0.21]# ./configure --with-fltk=/usr/local/include/FL

creating cache ./config.cache

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking cached host tuple... ok

Configuring for i686-pc-linux-gnu

checking for gcc... gcc
checking for g++... g++

checking for ld... ld
checking for ar... ar

checking for ranlib... ranlib

checking for gcc... (cached) 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++... (cached) g++

checking whether the C++ compiler (g++ ) works... yes

checking whether the C++ compiler (g++ ) is a cross-compiler... no

checking whether we are using GNU C++... yes

checking whether g++ accepts -g... yes

checking whether mipsel-linux-g++ requires --permissive... yes

Grabbing FLTK from /usr/local/include/FL...

checking how to run the C++ preprocessor... g++ -E

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include

Building with X11...

checking for dnet_ntoa in -ldnet... no

checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes

checking for connect... yes
checking for remove... yes
checking for shmat... yes

checking for IceConnectionNumber in -lICE... yes

checking whether make sets ${MAKE}... yes

updating cache ./config.cache
creating ./config.status

creating Makefile

creating makeinclude

[***@localhost viewml-0.21]# make all

make[1]: Entering directory `/nomadlu/viewml-0.21/src'

if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi

make[2]: Entering directory `/nomadlu/viewml-0.21/src'

Generating dependancies for /nomadlu/viewml-0.21/src...

g++ -M -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -I../jscript -I/usr/local/include/FL -I/usr/local/include/FL/FL -I./fltk -g --permissive -I/usr/X11R6/include `/usr/local/bin/libwww-config --cflags` html.cpp htmlchain.cpp htmlclue.cpp htmldata.cpp htmlfont.cpp htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp htmlview.cpp htmlframe.cpp htmlobj.cpp debug.cpp htmlform.cpp main.cpp http.cpp http_.cpp ../kdecore/kurl.cpp ../kdeui/kcursor.cpp fltk/qtimer.cpp fltk/qobject.cpp fltk/qpainter.cpp fltk/qdrawutil.cpp fltk/qfont.cpp fltk/qrect.cpp fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp fltk/qwidget.cpp fltk/history.cpp fltk/qscrollbar.cpp >> .build_depends

In file included from html.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from htmlclue.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory

htmldata.cpp:25:20: config.h: No such file or directory

In file included from htmlobj.h:43,

from htmliter.cpp:20:

./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from htmltable.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory

htmltoken.cpp:27:20: config.h: No such file or directory

In file included from html.h:39,

from jscript.h:52,

from htmltoken.h:35,

from htmltoken.cpp:30:
./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from html.h:39,

from jscript.h:52,

from jscript.cpp:23:
./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from html.h:39,

from htmlview.h:32,

from htmlview.cpp:27:

./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,

from htmlframe.cpp:21:
./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from htmlobj.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,

from debug.cpp:22:

./kdecore/kurl.h:28:20: config.h: No such file or directory
I
n file included from htmlobj.h:43,

from htmlform.h:37,

from htmlform.cpp:35:

#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
wjj_external
2002-10-21 02:42:18 UTC
Permalink
I'm not expert. But maybe, you should copy flnx's config.h to "/usr/local/include/FL".
I can not remember if config.h is create by "configure" of flnx.

BTW1: I do not know why you do not have a microwindow installed?
BTW2: if you encounter some link error of w3c later. add some library to makeinclude after you have used "configure". The attachment are the "configure" and the changed "makeinclude" of mine.

----- Original Message -----
From: "luqiang" <***@hfut.edu.cn>
To: "ViewML development list" <viewml-***@viewml.com>
Sent: Sunday, October 20, 2002 7:59 PM
Subject: Question about install ViewML


I need your help!
I have troubles when I install ViewML0.21, I can not make it.
I've worked for a whole week,but still can not solve it.
Please help me!


1. I re-installed Red Hat 7.3 newly.
2. I have installed fltk 1.0.11 \ imlib-1.9.8.1.tar \ w3c-libwww-5.2.8.tar
correctly. When doing this, I use default configuration without change
the installing-directory.
The source files of fltk(such as XXX.h) are in "/usr/local/include/FL".
3.When I install ViewML 0.21, something wrong.
First, I do:
./configure --with-fltk=/usr/local/include/FL
Then, I do:
make all
but it echo:

*********************************************************
*********************************************************
[***@localhost nomadlu]# cd viewml-0.21

[***@localhost viewml-0.21]# ls

ChangeLog config.status CVS kdecore kimgio makeinclude.in

config.cache config.sub INSTALL kdeui Makefile README

config.guess configure install-sh kfile Makefile.in src

config.log configure.in jscript kfmlib makeinclude TODO

[***@localhost viewml-0.21]# ./configure --with-fltk=/usr/local/include/FL

loading cache ./config.cache

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking cached host tuple... ok
Configuring for i686-pc-linux-gnu

checking for gcc... (cached) gcc
checking for g++... (cached) g++

checking for ld... (cached) ld

checking for ar... (cached) ar

checking for ranlib... (cached) ranlib

checking for gcc... (cached) 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... (cached) yes

checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) g++

checking whether the C++ compiler (g++ ) works... yes

checking whether the C++ compiler (g++ ) is a cross-compiler... no

checking whether we are using GNU C++... (cached) yes

checking whether g++ accepts -g... (cached) yes

checking whether mipsel-linux-g++ requires --permissive... yes

Grabbing FLTK from /usr/local/include/FL...

checking how to run the C++ preprocessor... (cached) g++ -E

checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include

Building with X11...

checking for dnet_ntoa in -ldnet... (cached) no

checking for dnet_ntoa in -ldnet_stub... (cached) no

[***@localhost viewml-0.21]# ./configure --with-fltk=/usr/local/include/FL

creating cache ./config.cache

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking cached host tuple... ok

Configuring for i686-pc-linux-gnu

checking for gcc... gcc
checking for g++... g++

checking for ld... ld
checking for ar... ar

checking for ranlib... ranlib

checking for gcc... (cached) 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++... (cached) g++

checking whether the C++ compiler (g++ ) works... yes

checking whether the C++ compiler (g++ ) is a cross-compiler... no

checking whether we are using GNU C++... yes

checking whether g++ accepts -g... yes

checking whether mipsel-linux-g++ requires --permissive... yes

Grabbing FLTK from /usr/local/include/FL...

checking how to run the C++ preprocessor... g++ -E

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include

Building with X11...

checking for dnet_ntoa in -ldnet... no

checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes

checking for connect... yes
checking for remove... yes
checking for shmat... yes

checking for IceConnectionNumber in -lICE... yes

checking whether make sets ${MAKE}... yes

updating cache ./config.cache
creating ./config.status

creating Makefile

creating makeinclude

[***@localhost viewml-0.21]# make all

make[1]: Entering directory `/nomadlu/viewml-0.21/src'

if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi

make[2]: Entering directory `/nomadlu/viewml-0.21/src'

Generating dependancies for /nomadlu/viewml-0.21/src...

g++ -M -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -I../jscript -I/usr/local/include/FL -I/usr/local/include/FL/FL -I./fltk -g --permissive -I/usr/X11R6/include `/usr/local/bin/libwww-config --cflags` html.cpp htmlchain.cpp htmlclue.cpp htmldata.cpp htmlfont.cpp htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp htmlview.cpp htmlframe.cpp htmlobj.cpp debug.cpp htmlform.cpp main.cpp http.cpp http_.cpp ../kdecore/kurl.cpp ../kdeui/kcursor.cpp fltk/qtimer.cpp fltk/qobject.cpp fltk/qpainter.cpp fltk/qdrawutil.cpp fltk/qfont.cpp fltk/qrect.cpp fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp fltk/qwidget.cpp fltk/history.cpp fltk/qscrollbar.cpp >> .build_depends

In file included from html.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from htmlclue.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory

htmldata.cpp:25:20: config.h: No such file or directory

In file included from htmlobj.h:43,

from htmliter.cpp:20:

./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from htmltable.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory

htmltoken.cpp:27:20: config.h: No such file or directory

In file included from html.h:39,

from jscript.h:52,

from htmltoken.h:35,

from htmltoken.cpp:30:
./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from html.h:39,

from jscript.h:52,

from jscript.cpp:23:
./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from html.h:39,

from htmlview.h:32,

from htmlview.cpp:27:

./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,

from htmlframe.cpp:21:
./kdecore/kurl.h:28:20: config.h: No such file or directory

In file included from htmlobj.cpp:24:

./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,

from debug.cpp:22:

./kdecore/kurl.h:28:20: config.h: No such file or directory
I
n file included from htmlobj.h:43,

from htmlform.h:37,

from htmlform.cpp:35:

#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Jason Kingan
2002-10-21 14:57:14 UTC
Permalink
There are a couple of things that are probably wrong here:

1. The current configure script expects an FLTK build directory, not an
installed copy. For instance, I would run configure with:

./configure --with-fltk=/home/jasonk/projects/fltk-1.0.11

This should fix your build errors.

2. I haven't fully tested ViewML with FLTK 1.0.11 - It should work, but I
can't be sure that this will function.

Jason Kingan
Century Software
Post by luqiang
I need your help!
I have troubles when I install ViewML0.21, I can not make it.
I've worked for a whole week,but still can not solve it.
Please help me!
1. I re-installed Red Hat 7.3 newly.
2. I have installed fltk 1.0.11 \ imlib-1.9.8.1.tar \ w3c-libwww-5.2.8.tar
correctly. When doing this, I use default configuration without change
the installing-directory.
The source files of fltk(such as XXX.h) are in "/usr/local/include/FL".
3.When I install ViewML 0.21, something wrong.
./configure --with-fltk=/usr/local/include/FL
make all
*********************************************************
*********************************************************
ChangeLog config.status CVS kdecore kimgio
makeinclude.in
config.cache config.sub INSTALL kdeui Makefile README
config.guess configure install-sh kfile Makefile.in src
config.log configure.in jscript kfmlib makeinclude TODO
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking cached host tuple... ok
Configuring for i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking for g++... (cached) g++
checking for ld... (cached) ld
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether mipsel-linux-g++ requires --permissive... yes
Grabbing FLTK from /usr/local/include/FL...
checking how to run the C++ preprocessor... (cached) g++ -E
checking for X... (cached) libraries /usr/X11R6/lib, headers
/usr/X11R6/include
Building with X11...
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking cached host tuple... ok
Configuring for i686-pc-linux-gnu
checking for gcc... gcc
checking for g++... g++
checking for ld... ld
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... (cached) 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++... (cached) g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking whether mipsel-linux-g++ requires --permissive... yes
Grabbing FLTK from /usr/local/include/FL...
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
Building with X11...
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether make sets ${MAKE}... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makeinclude
make[1]: Entering directory `/nomadlu/viewml-0.21/src'
if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi
make[2]: Entering directory `/nomadlu/viewml-0.21/src'
Generating dependancies for /nomadlu/viewml-0.21/src...
g++ -M -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui
-I../jscript -I/usr/local/include/FL -I/usr/local/include/FL/FL -I./fltk
-g --permissive -I/usr/X11R6/include `/usr/local/bin/libwww-config
--cflags` html.cpp htmlchain.cpp htmlclue.cpp htmldata.cpp htmlfont.cpp
htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp htmlview.cpp
htmlframe.cpp htmlobj.cpp debug.cpp htmlform.cpp main.cpp http.cpp
http_.cpp ../kdecore/kurl.cpp ../kdeui/kcursor.cpp fltk/qtimer.cpp
fltk/qobject.cpp fltk/qpainter.cpp fltk/qdrawutil.cpp fltk/qfont.cpp
fltk/qrect.cpp fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp
fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp fltk/qwidget.cpp
fltk/history.cpp fltk/qscrollbar.cpp >> .build_depends
./kdecore/kurl.h:28:20: config.h: No such file or directory
./kdecore/kurl.h:28:20: config.h: No such file or directory
htmldata.cpp:25:20: config.h: No such file or directory
In file included from htmlobj.h:43,
./kdecore/kurl.h:28:20: config.h: No such file or directory
./kdecore/kurl.h:28:20: config.h: No such file or directory
htmltoken.cpp:27:20: config.h: No such file or directory
In file included from html.h:39,
from jscript.h:52,
from htmltoken.h:35,
./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,
from jscript.h:52,
./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,
from htmlview.h:32,
./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,
./kdecore/kurl.h:28:20: config.h: No such file or directory
./kdecore/kurl.h:28:20: config.h: No such file or directory
In file included from html.h:39,
./kdecore/kurl.h:28:20: config.h: No such file or directory
I
n file included from htmlobj.h:43,
from htmlform.h:37,
#############################################################
This message is sent to you because you are subscribed to
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Loading...