NATIONAL BUREAU OF ECONOMIC RESEARCH
NATIONAL BUREAU OF ECONOMIC RESEARCH

Note that many of these were caused by my own stupidity. Still that doesn't make it any more frustrating when you can't find a solution on the web. So in the hopes that other people might have the solutions. Or others with the same problems can learn.

These came from a clean install of FreeBSD 5.2, but trying to mimic an installation from 4.x

Open Problems

Email cuthbert at nber.org if you can help.

None at the moment!

Solved Problems

FreeBSD bootup fails -- attempts to run fsck_nfs. Make sure that pass and dump are 0 0 in fstab

Mutt -- nfs mounted mailbox read only. Also ~/mail/ mailboxes read only. No problems reported by mutt dotlock. -- solution was to recompile with --disable-fcntl in the ./configure . It's a more general problem with FreeBSD and Linux nfs.

Perl (5.8.2) and (5.6.1) -- Math::TrulyRandom -- hangs:
Solution generously provided by Paul Gaborit. See his work: Add 'OPTIMIZE' => '-O0', to Makefile.PL. Thanks Paul!

-- XML::Parser::PerlSAX -- t/stream FAILED test 11

(solution so far: run perl5.6 not 5.8; add Scalar::Util)
Install all these from /usr/ports/textproc:

  textproc/p5-XML-SAX
  textproc/p5-XML-Sablotron
  textproc/p5-XML-Parser
  textproc/p5-XML-DOM
  textproc/p5-XML-DT
  textproc/p5-XML-Encoding

ImageMagick (5.5.7-16) and freetype

ho-boy... get the distfile, and in work/ImageMagick-5.5.7/magick change: "#include <freetype/freetype.h>" to "#include <ft2build.h>"

Then... basically get rid of the tests in configure. Here's what I did:

   for ac_header in ft2build.h  ## instead of freetype/freetype.h

And then get rid of all this:

     if test $passed -gt 0
     then
       if test $failed -gt 0
       then
             LIB_TTF=''
           echo "$as_me:$LINENO: result: no -- some components failed  test" >&5
           echo "${ECHO_T}no -- some components failed test" >&6
           have_ttf='no (failed tests)'
       else
           LIBS="$LIB_TTF $LIBS"
           echo "$as_me:$LINENO: result: yes" >&5
           have_ttf='yes'
       fi
     else
       echo "$as_me:$LINENO: result: no" >&5
       echo "${ECHO_T}no" >&6
     fi

Replace with:

   LIBS="$LIB_TTF $LIBS"
   echo "$as_me:$LINENO: result: yes" >&5
   have_ttf='yes'

Finally, replace the last #include <freetype/freetype.h> with

#include <ft2build.h>
#include FT_FREETYPE_H

Myke Cuthbert (cuthbert at nber.org)

 
Publications
Activities
Meetings
Data
People
About

National Bureau of Economic Research, 1050 Massachusetts Ave., Cambridge, MA 02138; 617-868-3900; email: info@nber.org