> I had un-gzipped the package which removed the .gz .   When I re-gzipped it
> I got a different error:
>
> octave-3.2.4.exe:8> pkg install xraylib-1.0.8.tar.gz
> /bin/bash: gcc: command not found

Ok I see the problem here. The xraylib library's makefile hardcodes
the compiler name as "gcc". Which in the case of octave-3.2.4 it
isn't.

I think the best workaround for you is the following
1) untar the package, which should yield a directory xraylib-1.0.8
2) change the line "CC=gcc" in src/xraylib/src/makefile into
"CC=mingw32-gcc-4.4.0-dw2"
3) install the package from the directory into which you unzipped the
package as "pkg install xraylib-1.0.8"

This works for me.

benjamin

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to