Hello, The config.h is an internal header file and shouldn't be required by the user. None of the gsl_*.h files include it, so you should be able to link/compile any program against GSL without it.
I looked in the examples directory and none of the .c files there include it either, so could you provide more information about exactly what you're trying to do? The siman_tsp program is located in an internal gsl directory 'siman' and does include config.h, but the "example" siman program in the manual is different and does not require config.h. Patrick On 12/28/2013 11:27 AM, Stutts, Daniel S. wrote: > Greetings! > > I just installed the gsl library on Ubuntu 12.04, via apt-get, and upon > running a few > example programs, found that the config.h file -- included in > siman_tsp.c <config.h>, could not be located. In fact, I didn't find it > anywhere in the system, so I downloaded the version 1.16 code, copied > config.h, and all worked well with it included from the execution directory. > The problem seems to be in the Makefile. According to Dirk Eddelbuettel, one > of the downstream DEB maintainers, the bug is active through Ubuntu 13.10. > > Perhaps it might be a good idea to put this file with the other header files > as /usr/lib/gsl/gsl_config.h? Of course, all of the dependent files would > need to be modified accordingly. > > Best Regards, keep up the good work, and happy holidays! > > Dan > > Dr. Daniel S. Stutts > Associate Professor of Mechanical Engineering > Missouri University of Science and Technology > 282 Toomey Hall > 400 West 13th St. > Rolla, MO 65409-0050 > (573) 341-4084 > Fax: (573) 341-4607 > http://www.mst.edu/~stutts >
