pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Compiling in Mac OS X


From: jemarch
Subject: Re: [pdf-devel] Compiling in Mac OS X
Date: Wed, 31 Oct 2007 16:43:52 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (powerpc-unknown-linux-gnu) MULE/5.0 (SAKAKI)

Hello.

   I am trying to compile libgnupdf in Mac OS X 10.5, and found some porting
   issues that I don't really know how to handle (first time trying to port
   something to this OS).
   I found at least three issues:
    (1) libtoolize --> glibtoolize (in Darwin) --> So bootstrap needs to  be
   modified. New bootstrap for Mac OS X?

Please check if `autoreconf' does the right thing. If it does we will
call `autoreconf' from the bootstrap script instead of the explicit
call chain.

    (2) malloc.h --> stdlib.h (in Darwin) --> So source files will need an
   explicit #ifdef _DARWIN_OS or something like that (a more explicit #ifdef
   HAVE_MALLOC_H maybe) for a correct compilation. Configure script will need
   to be run with the specific definition (-D_DARWIN_OS) as well. Is this the
   best approach?

    (3) The function 'getline' used in utils/pdf_filter is not included in my
   default system libraries. Is there any workaround to this?

gnulib provides portable implementations for both facilities. I
imported new modules for `malloc.h' and `getline'. Please update from
CVS and test it.

BTW, the `AC_CANONICAL_HOST' in `configure.ac' should report that you
are building in macosx.

-- 
Jose E. Marchesi  <address@hidden>
                  <address@hidden>

GNU Spain         http://es.gnu.org
GNU Project       http://www.gnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]