octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile failure


From: Robert T. Short
Subject: Re: Compile failure
Date: Sat, 24 Apr 2010 11:53:10 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0

Shai Ayal wrote:
On Sat, Apr 24, 2010 at 12:22 AM, Christoph Ellenberger
<address@hidden>  wrote:
have a similar problem at about the same spot ... header files not found:

bin/sh ../libtool  --tag=CXX   --mode=compile
g++ -DHAVE_CONFIG_H -I. -I..  -I../libgnu -I../libgnu -I../libcruft/misc 
-I../liboctave -I../liboctave -I. -I.     -g -O2  -DHAVE_CONFIG_H -mieee-fp  
-I/usr/include/freetype2   -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 
-pthread -g -O2 -MT
DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo -MD -MP -MF
DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.Tpo -c -o
DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo
`test -f 'DLD-FUNCTIONS/fltk_backend.cc' ||
echo './'`DLD-FUNCTIONS/fltk_backend.cc
libtool: compile:
g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc 
-I../liboctave -I../liboctave -I. -I. -g -O2 -DHAVE_CONFIG_H -mieee-fp 
-I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 
-pthread -g -O2 -MT
DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo -MD -MP -MF
DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.Tpo -c
DLD-FUNCTIONS/fltk_backend.cc  -fPIC -DPIC -o
DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.o
DLD-FUNCTIONS/fltk_backend.cc:43:19: Fehler: FL/Fl.H: Datei oder Verzeichnis
nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:44:26: Fehler: FL/Fl_Window.H: Datei oder
Verzeichnis nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:45:26: Fehler: FL/Fl_Output.H: Datei oder
Verzeichnis nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:46:26: Fehler: FL/Fl_Button.H: Datei oder
Verzeichnis nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:47:29: Fehler: FL/Fl_Gl_Window.H: Datei oder
Verzeichnis nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:48:23: Fehler: FL/fl_ask.H: Datei oder
Verzeichnis nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:49:24: Fehler: FL/fl_draw.H: Datei oder
Verzeichnis nicht gefunden
DLD-FUNCTIONS/fltk_backend.cc:50:19: Fehler: FL/gl.h: Datei oder Verzeichnis
nicht gefunden


but while configuring fltk is found at proper place, but somehow I am missing
the include directory in the g++ statment above...
--<
  FT2_CFLAGS:                  -I/usr/include/freetype2
  FT2_LIBS:                    -lfreetype -lz
  GLPK CPPFLAGS:
  GLPK LDFLAGS:
  GLPK libraries:              -lglpk
  graphics
CFLAGS:             -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
  graphics
LIBS:               -L/usr/lib/fltk-1.1 -lfltk_gl -lGLU -lGL -lfltk -ldl -lm 
-lXext -lX11
  GraphicsMagick++ CPPFLAGS:
  GraphicsMagick++ LDFLAGS:
  GraphicsMagick++ libraries:
  HDF5 CPPFLAGS:
--->

It looks like fltk_backend does not trigger the graphics CFlags/Libs...Do I
have to add it manually ? Or how can I fix it ?

thanks in advance
Christoph

I just committed the following changeset which should fix this
(Christoph's problem):
http://hg.savannah.gnu.org/hgweb/octave/rev/b834afa451a2

please tell me if it fixed it for you

Shai



I don't know whether is was your change or installing the libraries you suggested, but I compile and pass all tests now. Thanks.

This kind of configure error is hard to find since you won't find it unless you are installing everything from scratch.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]