[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: Guile compilation on NetBSD mini-HOWTO
From: |
Martin Grabmueller |
Subject: |
Re: FYI: Guile compilation on NetBSD mini-HOWTO |
Date: |
Fri, 27 Jul 2001 08:14:32 +0200 |
> From: Masao Uebayashi <address@hidden>
> Date: Fri, 27 Jul 2001 11:21:40 +0900
>
> 6) Run configure.
>
> GNU's configure script by default doesn't know NetBSD's Pkgsrc
> directories, you also have to tell configure its existence so that
> Pkgsrc libraries (e.g. Readline) can be found by the script. (Such
> environmental variables are also defined as CONFIGURE_ENV and used
> when Pkgsrc packages are compiled. See (cd /usr/pkgsrc/foo/bar; make
> -V CONFIGURE_ENV).
>
> % env \
> CPPFLAGS=-I/usr/pkg/include \
> "LDFLAGS= -Wl,-R/usr/local/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib" \
> LIBTOOL=/usr/pkg/bin/libtool \
> M4=/usr/bin/m4 \
> YACC=yacc \
>
> "PATH=/home/masao/my/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin"
> \
> sh configure
An addition: you should pass the --enable-maintainer-mode option to
configure when building Guile from CVS. For example, this should fix
the problem stated below (though I haven't tested, correct me if I'm
wrong):
[snip]
> You probably get an error or two of comilation failure of Texinfo
> documents because of absent of version.texi, but this error is very
> trivial and you can find that you already get a working guile binary!
Best regards,
'martin