On 20111108@15:38, Carlo de Falco wrote:
> On 8 Nov 2011, at 15:12, Carlo de Falco wrote:
> ... 
> Also, when I try to install with "pkg install sparsersb.tgz "
> I get a n error for a missing header:
> 
> >> pkg install sparsersb.tgz 
> skipping line
> ./configure: line 3298: librsb-config: command not found
> ./configure: line 3299: librsb-config: command not found
> sparsersb.cc:45:17: error: rsb.h: No such file or directory

Yes indeed: I did not give you yet instructions for librsb :) 

It's at http://home.rzg.mpg.de/~mima/librsb.tar.gz

Once unpacked, the intended "happy path" is: 

./configure # many configure options, not all straightforward
make
make tests
make install

'make install' should install the library, the headers, and the
'librsb-config' program. 

> to have an example of how to set compilation flags in a package you can have 
> a look at the configure script in "odepkg" or 
> if you just need to set the location of one header file you could have a look 
> at how this is done in "geopdes_base": 
> 
> http://sourceforge.net/projects/geopdes/
> http://geopdes.svn.sourceforge.net/viewvc/geopdes/trunk/geopdes_base/pre_install.m?revision=433&view=markup
Thanks --- I'll use "odepkg" and "geopdes_base" as a reference for the
configure script.
Indeed a message telling "Please install librsb" would be much more
informative than an "command not found error"!

Attachment: pgpBAWiYuMgze.pgp
Description: PGP signature

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to