Problem building rasta_mpf

I trying to compile the rasta_mpf from the tarball which Adam sent earlier.  When I launch autogen.sh it says that it needs Rasta libraries, just as Adam said that it would.

So I've tried building and installing Rasta from the other tarball Adam sent, in the following fashion:
./configure
make
make install

Make install sure looks like it is puting files on my system, including /usr/local/lib/librasta.a.  But rasta_mpf still doesn't want to autogen.

What am I doing wrong here?

Curt

Categories:

Here's what it took to build

Shawn figured out the following steps to get this to build:

To build rasta:
had to override CFLAGS to include -fpic -fPIC.
CFLAGS=-I. -g -O -DHAVE_CONFIG_H -fpic -fPIC make

To build mpf-rasta:
had to specify RASTA_CFLAGS and RASTA_LIBS because rasta does not privide a .pc package config file.

[root@domU-12-31-38-00-DE-01 rasta-v2_6_1]# echo $RASTA_CFLAGS
-I /usr/local/include
[root@domU-12-31-38-00-DE-01 rasta-v2_6_1]# echo $RASTA_LIBS
-L /usr/local/lib -lrasta
[root@domU-12-31-38-00-DE-01 rasta-v2_6_1]# echo CFLAGS="-I. -g -O -DHAVE_CONFIG_H -fpic -fPIC" make

Sorry about that!

Sorry about that! I created a rasta.pc, but I forgot to include it in the list of files put into the tarball.

    Adam