[Gambas-user] Building gb.gsl on Arch Linux

Adrien Prokopowicz adrien.prokopowicz at ...626...
Mon Jul 9 01:53:24 CEST 2012


Hi,

I noticed that I could'nt build gb.gsl on archlinux, because pkg-config
does not find the libgsl and libgslcblas packages (on arch the 3 packages
are in the gsl package).

I solved the problem on my machine by doing this :

@@ -4,13 +4,9 @@

AC_CONFIG_MACRO_DIR([m4])

GB_INIT(gb.gsl)

AC_PROG_LIBTOOL

-GB_COMPONENT_PKG_CONFIG(

- gsl, GSL, gb.gsl, [src],

- gsl)

 -GB_COMPONENT_SEARCH(

+GB_COMPONENT(

gslcblas, GSLCBLAS, gb.gsl, [src],

- libgsl libgslcblas,

[GB_FIND(gsl/gsl_cblas.h gsl/gsl_math.h, /usr /usr/local `gsl-config
--prefix`, include include/gsl)],

[GB_FIND(libgslcblas.$SHLIBEXT libgsl.$SHLIBEXT, /usr/lib /usr/local
/usr/local/lib `gsl-config --prefix`, lib)],

[$X_LIBS -llibgsl -llibgslcblas])



More information about the User mailing list