[MacPorts] #13693: Fix compilation of gnustep-base
MacPorts
trac at macosforge.org
Sun Dec 23 10:38:25 PST 2007
#13693: Fix compilation of gnustep-base
------------------------------+---------------------------------------------
Reporter: fedor at qwest.net | Owner: ryandesign at macports.org
Type: enhancement | Status: closed
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.5.2
Resolution: fixed | Keywords:
------------------------------+---------------------------------------------
Comment (by ryandesign at macports.org):
I am on an Intel Mac with Mac OS X 10.4.11, Xcode 2.4.1 and MacPorts built
from trunk. The gnustep-base port would not install until I applied the
changes in r32265. Trying it now with the +ffcall variant, on the first
install attempt, it fails like this:
{{{
$ sudo port install gnustep-base +ffcall
---> Fetching gnustep-base
---> Attempting to fetch gnustep-base-1.14.0.tar.gz from
http://ftp.easynet.nl/mirror/GNUstep/pub/gnustep/core
---> Attempting to fetch gnustep-base-1.14.0.tar.gz from
http://ftpmain.gnustep.org/pub/gnustep/core
---> Verifying checksum(s) for gnustep-base
---> Extracting gnustep-base
---> Configuring gnustep-base
Error: Target org.macports.configure returned: configure failure: shell
command " cd "/opt/local/var/macports/build
/_Users_rschmidt_macports_dports_gnustep_gnustep-base/work/gnustep-
base-1.14.0" && ./configure --prefix=/opt/local CC=gcc-mp-4.2
GNUSTEP_MAKEFILES=/opt/local/share/GNUstep/Makefiles --enable-ffcall "
returned error 1
Command output: configure: error: cannot find install-sh or install.sh in
/opt/local/share/GNUstep/Makefiles "."//opt/local/share/GNUstep/Makefiles
Error: Status 1 encountered during processing.
$
}}}
On the next attempt, it fails like this:
{{{
$ sudo port clean --work
---> Cleaning gnustep-base
$ sudo port install gnustep-base +ffcall
---> Fetching gnustep-base
---> Verifying checksum(s) for gnustep-base
---> Extracting gnustep-base
---> Configuring gnustep-base
Error: Target org.macports.configure returned: configure failure: shell
command " cd "/opt/local/var/macports/build
/_Users_rschmidt_macports_dports_gnustep_gnustep-base/work/gnustep-
base-1.14.0" && ./configure --prefix=/opt/local CC=gcc-mp-4.2
GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles --enable-
ffcall " returned error 1
Command output: checking use of pass-through arguments... no
checking use of fake-main definition... yes
checking ffi.h usability... yes
checking ffi.h presence... no
configure: WARNING: ffi.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: ffi.h: proceeding with the compiler's result
checking for ffi.h... yes
checking callback.h usability... yes
checking callback.h presence... yes
checking for callback.h... yes
checking for forwarding callback in runtime... yes
checking FFI library usage... ffcall
checking if ffcall trampolines work... no
none
You have ffcall, but it does not work properly. Most likely because
your're system's security policy is blocking some parts of ffcall
we recommend installing libffi instead.
GNUstep requires ffcall or libffi and proper libobjc hooks to do
invocations and DO.
(This does not apply on apple-apple-apple systems where DO is
not compatible with other GNUstep systems.)
You most likely do not want to build base without DO support. Many
things, including all applications, won't work at all without DO.
If you really want to build -base without DO support, add --disable-do
to the configure arguments.
For more information, read the GNUstep build guide, ffcall section:
http://gnustep.made-it.com/BuildGuide/index.html
configure: error: Incomplete support for ffi functionality.
Error: Status 1 encountered during processing.
$
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13693#comment:6>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list