NetBSD Problem Report #32333

From www@netbsd.org  Mon Dec 19 02:32:32 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id C4D9563B85F; Mon, 19 Dec 2005 02:32:32 +0000 (UTC)
Message-Id: <20051219023232.C4D9563B85F@narn.netbsd.org>
Date: Mon, 19 Dec 2005 02:32:32 +0000 (UTC)
From: bkelly@coastsystems.net
Reply-To: bkelly@coastsystems.net
To: gnats-bugs@netbsd.org
Subject: Unable to compile libffi in Interix3
X-Send-Pr-Version: www-1.0

>Number:         32333
>Category:       pkg
>Synopsis:       Unable to compile libffi in Interix3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    interix-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 19 02:35:00 +0000 2005
>Last-Modified:  Mon May 18 06:05:02 +0000 2009
>Originator:     Boyd Kelly
>Release:        pkgsrc (CVS) on Interix3
>Organization:
>Environment:
bash-3.00$ uname -a
Interix media 3.5 SP-8.0.1969.32 x86 Pentium III/Celeron (rev0x0803)
bash-3.00$
>Description:
Actually would eventully love to get gnucash going here, and I'm up to g-wrap which wants libffi.  Receive the message:

configure: error: "libffi has not been ported to i386-pc-interix3."
configure: error: /bin/sh './configure' failed for libffi
*** Error code 1

Just wondering if there is a techical issue that prevents this or if it is on the horizon for the future some time.

Thanks very much,

Boyd 

PS  Not sure how I should catagorize bug reports for Interix port.
>How-To-Repeat:
cd /usr/pkgsrc/devel/g-wrap
bmake install

or

cd /usr/pkgsrc/devel/libffi
bmake install
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-i386-maintainer->interix-pkg-people
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Mon, 19 Dec 2005 11:49:24 +0000
Responsible-Changed-Why:
Interix-specific issue.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32333: Unable to compile libffi in Interix3
Date: Mon, 18 May 2009 06:03:51 +0000

 As a first shot, maybe try this replacement for patch-aa:
 (the first hunk is the new bit)

      ------
 $NetBSD$

 --- configure.orig	2008-12-19 11:12:45.000000000 -0500
 +++ configure	2009-05-18 02:00:24.000000000 -0400
 @@ -20989,7 +20989,7 @@ case "$host" in
    i386-*-freebsd* | i386-*-openbsd*)
  	TARGET=X86_FREEBSD; TARGETDIR=x86
  	;;
 -  i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*)
 +  i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-interix*)
  	TARGET=X86_WIN32; TARGETDIR=x86
  	;;
    i?86-*-darwin*)
 @@ -21033,7 +21033,7 @@ case "$host" in
    powerpc-*-aix* | rs6000-*-aix*)
  	TARGET=POWERPC_AIX; TARGETDIR=powerpc
  	;;
 -  powerpc-*-freebsd*)
 +  powerpc-*-freebsd* | powerpc-*-netbsd*)
  	TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
  	;;
    powerpc*-*-rtems*)

      ------

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.