Re: libfltk-dev: which config.h

2000-05-21 Thread Frank Barknecht
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

 Johann Spies hat gesagt: // Johann Spies wrote:
 
  I am trying to compile the programs in /usr/share/doc/libfltk1/examples/.
  
  After copying the files to /tmp and gunzipping the .gz files I get the 
  following error when I run make:
  
  c++ -I.. -g  -fPIC -Wall -Wno-return-type   -I/usr/X11R6/include 
  CubeMain.cxx -cCubeMain.cxx:26: config.h: No such file or directory
 I tested this here and I found, that you do not need any config.h at
 all. 

OK, further investigation: There indeed is a config.h file that gets build
if you compile libfltk from the source. The debian packages do include this
config.h, I think this is a bug and I will file as one it if nobody has done
this already. Anyway I attached the file but you will have to edit it, as I
use the GL stuff. 

bye
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ \\_\\_\
/_/\_\ 


config.h.gz
Description: Binary data


Re: libfltk-dev: which config.h

2000-05-20 Thread Frank Barknecht
Johann Spies hat gesagt: // Johann Spies wrote:

 I am trying to compile the programs in /usr/share/doc/libfltk1/examples/.
 
 After copying the files to /tmp and gunzipping the .gz files I get the 
 following error when I run make:
 
 c++ -I.. -g  -fPIC -Wall -Wno-return-type   -I/usr/X11R6/include CubeMain.cxx 
 -cCubeMain.cxx:26: config.h: No such file or directory
 In file included from CubeViewUI.h:12,
  from CubeMain.cxx:28:
 CubeView.h:28: config.h: No such file or directory
 make: *** [CubeMain.o] Error 1
 
 There are no config.h in the fltk-packages and there are many
 
 [...] 
 I thought just typing make was supposed to work :(

I tested this here and I found, that you do not need any config.h at
all. So you can remove or uncomment every line with # include config.h
in it, e.g with this perl oneliner:

$ perl -pi.bak -e 's+#include config.h+// #include config.h+' *.h *.cxx

There is another error in the Makefile. It looks for libfltk in the
directory ../lib and it does not find it. Just replace every ../lib in
the Makefile with /usr/lib. 

After this repairs, just typing make did indeed work. 

bye
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ \\_\\_\
/_/\_\ 



Re: libfltk-dev: which config.h

2000-05-19 Thread Oswald Buddenhagen
 I am trying to compile the programs in /usr/share/doc/libfltk1/examples/.
 
 After copying the files to /tmp and gunzipping the .gz files I get the 
 following error when I run make:
 
is there a file named configure? did you run it before makeing?

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!