Building the current development version

Matthias Brennwald matthias at brennwald.org
Sat Mar 14 02:38:38 CDT 2009


Dear All

I tried to build Octave from the development repository (on Ubuntu  
8.10, running on an old Pentium-III). I checked out the sources from  
the mercurial archive and did a apt-get build-dep octave3.0. I also  
installed libfltk. Autogen and configure worked well. Make returned  
the following:

.
.
.
g++ -shared -o find.oct pic/find.o -L../libcruft -lcruft -L../ 
liboctave -loctave -L. -loctinterp -lcholmod -lumfpack -lamd -lcamd - 
lcolamd -lccolamd -lcxsparse -llapack -lblas -lfftw3 -lfftw3f   - 
lreadline  -lncurses -ldl -lblas -lhdf5 -lz -lm  -L/usr/lib/gcc/i486- 
linux-gnu/4.3.2 -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib -L/ 
lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/ 
4.3.2/../../.. -lhdf5 -lz -lgfortranbegin -lgfortran -lm
g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc - 
DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 - 
D_THREAD_SAFE -D_REENTRANT ./DLD-FUNCTIONS/fltk_backend.cc -o pic/ 
fltk_backend.o
./DLD-FUNCTIONS/fltk_backend.cc: In member function ‘virtual void  
OpenGL_fltk::draw_overlay()’:
./DLD-FUNCTIONS/fltk_backend.cc:144: error: ‘gluOrtho2D’ was not  
declared in this scope
./DLD-FUNCTIONS/fltk_backend.cc: In member function ‘void  
plot_window::button_press(Fl_Widget*)’:
./DLD-FUNCTIONS/fltk_backend.cc:299: warning: format not a string  
literal and no format arguments
make[2]: *** [pic/fltk_backend.o] Error 1
make[2]: Leaving directory `/home/brennmat/source_code/octave/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/brennmat/source_code/octave'
make: *** [all] Error 2

What did I do wrong? How can I fix it?

Matthias


--
Matthias Brennwald
Käferholzstrasse 173
CH 8046 Zürich
+41 364 17 03




More information about the Help-octave mailing list