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

2012-07-09 Thread Laurent Carlier
Le lundi 9 juillet 2012 02:36:29 Adrien Prokopowicz a écrit :
> Le lundi 9 juillet 2012 01:56:45 Emil Lenngren a écrit :
> > I have the same problem on Gentoo.
> > 
> > || Unable to met pkg-config requirement: libgsl
> > || Unable to met pkg-config requirement: libgslcblas
> > 
> > However, I could still do a make and sudo make install.
> > 
> > /Emil
> > 
> > 
> > 2012/7/9 Adrien Prokopowicz 
> > 

Fix pushed in rev4920

++


signature.asc
Description: This is a digitally signed message part.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2012-07-09 Thread Laurent Carlier
Le lundi 9 juillet 2012 02:36:29 Adrien Prokopowicz a écrit :
> Le lundi 9 juillet 2012 01:56:45 Emil Lenngren a écrit :
> > I have the same problem on Gentoo.
> > 
> > || Unable to met pkg-config requirement: libgsl
> > || Unable to met pkg-config requirement: libgslcblas
> > 
> > However, I could still do a make and sudo make install.
> > 
> > /Emil
> > 
> > 
> > 2012/7/9 Adrien Prokopowicz 
> > 
> > > Hi,
> > > 

Because it use GB_COMPONENT_PKG_CONFIG then GB_COMPONENT_SEARCH

This is useless as GB_COMPONENT_SEARCH tries pkg-config method then "classic" 
method (tries to detect headers and libs) through GB_COMPONENT.

There is another bug in the second method, it should be "gsl" instead of 
"libgsl libgslcblas"

++




signature.asc
Description: This is a digitally signed message part.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2012-07-08 Thread Adrien Prokopowicz
Le lundi 9 juillet 2012 01:56:45 Emil Lenngren a écrit :
> I have the same problem on Gentoo.
> 
> || Unable to met pkg-config requirement: libgsl
> || Unable to met pkg-config requirement: libgslcblas
> 
> However, I could still do a make and sudo make install.
> 
> /Emil
> 
> 
> 2012/7/9 Adrien Prokopowicz 
> 
> > 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])
> > 
> > --
> >  Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> -- Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Oh, yes, that's right, it works finally...

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2012-07-08 Thread Emil Lenngren
I have the same problem on Gentoo.

||
|| Unable to met pkg-config requirement: libgsl
|| Unable to met pkg-config requirement: libgslcblas
||

However, I could still do a make and sudo make install.

/Emil


2012/7/9 Adrien Prokopowicz 

> 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])
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user