discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Objective C runtime on Solaris 9


From: Daniel Santos
Subject: Re: Objective C runtime on Solaris 9
Date: Fri, 1 Jul 2022 11:46:49 +0100

Hello,

Just got back to this topic. I installed gcc version 2.95.3 from one of the distribution CD’s of Solaris 9.
It went into /opt/sfw.
Now, when I do configure of gnustep-base I get past the objc runtime error.
I am at the moment stuck on lib FFI. I built and installed version 1.20 from the gcc.gnu.org site.
The last lines of me running the configure script are :

checking ffi.h usability... yes
checking ffi.h presence... yes
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... no
checking FFI library usage... none

You do not have an up-to-date libobjc library installed
GNUstep requires libffi (or ffcall) 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 invocation support.
Many things (including Distributed Objects and undo/redo), won't work
at all without invocations.
If you really want to build -base without invocation support,
add --disable-invocations to the configure arguments.
For more information, read the GNUstep build guide, ffcall section:
configure: error: Incomplete support for ffi functionality.

I have lib FFI installed on /usr/local/ and my pkg config file in /usr/local/lib/pkgconfig describing it is  below :

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libffi
Description: Lib FFI
Version: 1.20
Libs: -L${libdir} -lffi
Cflags: -I${includedir} 

Can you help me !

Thanks,
Regards


Daniel Santos



On 8 Jun 2022, at 01:36, Riccardo Mottola <riccardo.mottola@libero.it> wrote:

Hi Daniel,

Daniel Santos wrote:
I want to build GNUStep on a Solaris 9 machine. I have installed gcc and libgcc packages from the sunfkeeware site archive.
On ./configure it says there is no ObjectiveC runtime installed.
How can I get this to build ?
well gcc and libgcc are C, you need libobjc. Sunfreeware is very old, I
don't use it since ages - I did start working on GNUstep exactly on it!
BUt since then I migrated those old computers to NetBSD.

Solaris support is tricky, it has only older versions of gcc, but it
does work - we luckily still support it! I stand for that!

I haven't announced it public because I forgot to, but I made the
current versions of GNUstep for Solaris, with OpenCSW. SOlaris 10 and 11
wre complete, Solaris 9 has major packages with some limitations, due to
OpenSSL issues and Cairo issues, so it is compiled with xlib and some
packages are missing, but enough to play around and run "server apps"
and developer tools as some basic Desktop.

Riccardo





reply via email to

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