On Tue Jan 29 16:40:22 2008, [EMAIL PROTECTED] wrote:

> 
> The spewing in auto::readline is caused by it failing to detect readline 
> from Fink.
> 
> In the generated Makefile, both LINKFLAGS and LDFLAGS should include the 
> entry "-L/sw/lib" and CFLAGS should include the entry "-I/sw/include". 
> Do they?
> 
> Allison
> 

A good diagnostic question.  They do not:

LINKFLAGS  = -undefined dynamic_lookup -L/sw/lib -L/sw/lib  
LD         = /usr/bin/g++-3.3
LDFLAGS    =  -L/usr/local/lib -L/Users/jimk/work/parrot/blib/lib
-L/sw/lib -L/sw/lib

"-L/sw/lib" is duplicated on those lines with "-I/sw/include" is missing
from each.

This may be a problem with the code I wrote/adapted concerning Fink.

Here's some data from Parrot::Configure::Trace.  First, here is how
'linkflags' is evolving around the crucial configuration steps:

  {
    'auto::aio' => '-undefined dynamic_lookup'
  },
  {
    'auto::gmp' => '-undefined dynamic_lookup -L/sw/lib'
  },
  {
    'auto::readline' => '-undefined dynamic_lookup -L/sw/lib'
  },
  {
    'auto::gdbm' => '-undefined dynamic_lookup -L/sw/lib -L/sw/lib'
  },

And here's how 'ldflags' is evolving around the same steps:

  {
    'auto::aio' => ' -L/usr/local/lib -L/Users/jimk/work/parrot/blib/lib'
  },
  {
    'auto::gmp' => ' -L/usr/local/lib -L/Users/jimk/work/parrot/blib/lib
-L/sw/lib'
  },
  {
    'auto::readline' => ' -L/usr/local/lib
-L/Users/jimk/work/parrot/blib/lib -L/sw/lib'
  },
  {
    'auto::gdbm' => ' -L/usr/local/lib
-L/Users/jimk/work/parrot/blib/lib -L/sw/lib -L/sw/lib'
  },

Reply via email to