[Slackbuilds-users] swi-prolog SlackBuild - First attempt

Andrew Antle andrew.antle at gmail.com
Mon May 31 18:10:15 UTC 2010


On Mon, May 31, 2010 at 09:51:49AM +0200, emmel wrote:
> On Mon, May 31, 2010 at 02:06:16AM -0400, Andrew Antle wrote:
> > CFLAGS="$SLKCFLAGS" \
> > CXXFLAGS="$SLKCFLAGS" \
> > ./configure \
> >   --prefix=/usr \
> >   --libdir=/usr/lib${LIBDIRSUFFIX} \
> >   --sysconfdir=/etc \
> >   --localstatedir=/var \
> >   --mandir=/usr/man \
> >   --docdir=/usr/doc/$PRGNAM-$VERSION \
> >   --build=$ARCH-slackware-linux \
> >   --with-world
> > 
> > make
> > make install DESTDIR=$PKG
> 
> Actually, the preferred way to build swi-prolog ist using the build
> script. This should work:
> 
> DESTDIR=$PKG ./build.templ --prefix=/usr
> 
> I wrote a (non-standard - thus not comitted) build script a couple of
> months ago when I couldn't get gnu prolog to compile on current. That's
> the line I used.

Thanks, emmel. I've built it both ways, and haven't noticed a
difference, though. I figured I'd go with configure as it's more standard
with other SlackBuilds.
-- 
Andrew Antle


More information about the SlackBuilds-users mailing list